How to use IR sensor with arduino? (With full code)

preview_player
Показать описание
IR (Infrared Sensor) is an electronic instrument that is used to detect any type of obstacle/object & it is also used to detecting the black & white colour.
In this video, I am showing a basic operation of IR sensor. You can use this concept to make your project.

You can buy IR sensor from your nearest electronics market & also you can buy from Amazon also.

//// Coding///
Рекомендации по теме
Комментарии
Автор

Your explanation is too good. I love the way you explain. But I am really confused, some other guys on YT showed that the IR sensor will give "1" or "HIGH" as output when any object is detected in its range. But in your video, it's been showed that the IR sensor will give "0" or "LOW" as output when an object is detected in its range, as you said, "IR sensor works as Negative Logic" - in1min 23 sec scence.

TamalBarua-nvgp
Автор

Hello there i have done the same as yours but my LED light is without an abstraction with the two red IPR lights on

spursten
Автор

Hi! I connected according to your video and key in the codes too, but my LED light remains permanently on despite not having any obstacle in front of how. How should I fix this?

BabiiHuiling
Автор

#Arduino #IR #sensor
How to use an IR sensor with Arduino? | Arduino के साथ IR सेंसर का उपयोग कैसे करें | Simple Projects

ProKamExplained
Автор

How to connect arduino board in computer and how connect coding part in arduino

suvajitghosh
Автор

uh i cant get my ir sensor to work when i plug it in it displays 2 green lights instead of 1 as shown in the video

Anonymous-nmuo
Автор

I got a problem in Arduino Uno compilation error

KSM
Автор

Can u make video such u put the sensor on bag then u put something like screwdriver in the bag.. if the screwdriver is taken out.. then buzzer will ON.. i want to connect the buzzer with this IR sensor.. because i need to do the project.. but i dont know how to do it.. if u can explain.. u deserved my subscribe bro

terunks
Автор

hi there, is it possible to use 4 ir sensors with 4 led light? what should I change with the coding. tq

lgc
Автор

How to make a switch with help of it sensor?? I mean once I will bring my hand fir one second led will turn on.. I should be glowing until I bring my hand again... How to do that?

inderjeetkaur
Автор

I am wanting to use servo and IR sensor for a small sweep sketch
How would I go about that ?

cadillacescalade
Автор

sir can the control pin of ir sensor can be connected to analog pin

chandrasekharraghumanda
Автор

Really helpful brother may God bless. U

neerajpandey
Автор

Sir can you please make a upside down coding
Means when we put our hand infront of IR sensor, then the light should turn off and when we remove our hand the light should turn on

chanchaljaiswal
Автор

how to delay only the off time of led and
On time of led should be fast

mayankrajpootEE
Автор

The ir sensor i have turns off when it detects a obstacle is possible to get the intened result by interchanging the high low?

abhinavrajesh
Автор

sir please can you give me the code for two IR sensors please

Mukeshmyson
Автор

Bro thanks for this video i want to connect 2 ir sensor in the ardiuo but i dont know program pls refer us thank you

manojmistryeee
Автор

i want my led that is connected to IR sensor to not to give any output(LED ON) in first detection but internally just count it as 1 and however, in second detection the LED should turn ON and it should stay on forever. It would be great if anybody can guide me onto it since i have been looking for it all over the internet and couldn't find any relevant info.

Anonymous-okul
Автор

really helpful, Can you please share what will be the IR sensor code for black line detection?
Actually, I'm making a bot car which should follow a black line.

dipayandutta