IR Sensor and LED with arduino (with code explained) | All digital sensors | Arduino tutorial 4

  Рет қаралды 70,063

Tech at Home

Tech at Home

Күн бұрын

Пікірлер: 47
@BromideBride
@BromideBride 4 ай бұрын
This series [and I'm only four videos in] explains with more clarity than several books and online tutorials I've tried to follow. Thank you so much.
@techathome
@techathome 4 ай бұрын
Thank you for your feedback ❤️. It motivates us to make more...
@______6796
@______6796 3 ай бұрын
ok
@etikalarani7231
@etikalarani7231 6 ай бұрын
You are explaning very good like our sir👌👍👍🏻
@techathome
@techathome 6 ай бұрын
Thank you ❤️
@Pokemon45340
@Pokemon45340 Жыл бұрын
Hi im Trying To Make A Vending machine using arduino but i have problem with the code, i want to make it when the ir sensor detects it 2 times the light will turn on but it wont work the light keep blingking Could u Help?
@techathome
@techathome Жыл бұрын
Can u share the code u have used over the mail
@anothernpc8246
@anothernpc8246 2 ай бұрын
tysm this is very comprehensive
@techathome
@techathome 2 ай бұрын
Welcome ❤️🙂
@romelinedelacruz172
@romelinedelacruz172 Жыл бұрын
Why can't the IR sensor detect my hand even when I put it in front of it as an object? If I adjust it, the IR sensor will detect, but it never turns off when I remove my hand. And if I adjust the IR sensor again in the opposite direction, it doesn't detect anymore. What should I do?
@RamaLaxmiLAKKADUSU
@RamaLaxmiLAKKADUSU 4 ай бұрын
IR sensor was damage the IR sensor was detect 10cm range😊
@venkateshnaik4064
@venkateshnaik4064 Жыл бұрын
hi sir, iam getting out put as 0 and LED is contineously glowing even if i vary my hand infront of sensor. Please help me in this regard
@techathome
@techathome Жыл бұрын
In the sensor there is a small potentiometer, try to rotate it on both sides and change its sensitivity
@nelomedia805
@nelomedia805 Жыл бұрын
Hello! I presently have a working temperature sensor and would like to activate addressable LEDs at different temperature thresholds, example; blue 0-80F, green 81-120F, yellow 121-200F, orange 201-250F, and red 251F and above. Would it be possible to articulate how to do this in the code so i can add it to my existing sketch? Thank you so much
@techathome
@techathome Жыл бұрын
Yes, that can be done using if-else statements. You can send your existing code on our mail: deepakhd20@gmail.com
@tharuneee3rdyear847
@tharuneee3rdyear847 Жыл бұрын
In tinkercad, after simulation how do I active the IR sensor
@someonexteaches
@someonexteaches Жыл бұрын
u cant activvate ir sensor in tinkercard
@kemaketseforkssebitiela3089
@kemaketseforkssebitiela3089 Жыл бұрын
When to use analog read or write?
@techathome
@techathome Жыл бұрын
AnalogRead - To read voltage drops from analog sensors(Potentiometer, Temperature sensor etc): kzbin.info/www/bejne/opiQgoh4gdJsm7c AnalogWrite - To generate PWM signal of required duty cycle: kzbin.info/www/bejne/jaepnoyvbJp9q5I
@rodelalfonsobautista3729
@rodelalfonsobautista3729 11 ай бұрын
can I use multiple led lights?
@techathome
@techathome 10 ай бұрын
Yes
@chris-ut4hs
@chris-ut4hs Жыл бұрын
Hi, where you got that buzzer from?
@techathome
@techathome Жыл бұрын
You can get in electronic shops Also in Amazon
@thameemulazarudeen9692
@thameemulazarudeen9692 Жыл бұрын
What are all the conponents used can you give me the name of the components used
@techathome
@techathome Жыл бұрын
Arduino Uno, IR sensor, LED
@richardlange9094
@richardlange9094 Жыл бұрын
I have tried to duplicate this , but my sensor never goes off. I have checked the wiring and it is same as yours. I am using an Arduino Leonardo board. Any recommendation on what I am not doing correctly?
@techathome
@techathome Жыл бұрын
On the sensor module, there is one blue colour potentiometer screw to increase or decrease the sensitivity. Rotate that and reduce sensitivity.
@richardlange9094
@richardlange9094 Жыл бұрын
@@techathome Thanks for the input. That solved the problem. But the sensor range is too short. So I am going to try a 2 piece sensor (sender - receiver). Once again thank you very much for the help.
@techathome
@techathome Жыл бұрын
Welcome
@tahaibrahim9564
@tahaibrahim9564 Жыл бұрын
Is it the same with PIR sensor?....I tried with that but didnt work.
@techathome
@techathome Жыл бұрын
Yes same , PIR sensor is also digital, digitalRead should work
@vaishnavivanga4048
@vaishnavivanga4048 Жыл бұрын
Hi Sir I Can't Open the link given for code and circuit...
@techathome
@techathome Жыл бұрын
It is compressed file, you have to extract it using winRaR or any zip extractor. If not, send request on our mail, will share again.
@rohanshiragaonkar917
@rohanshiragaonkar917 6 ай бұрын
Thank u sir
@anjulovesdoracakes22
@anjulovesdoracakes22 8 ай бұрын
can you give more detailed code?
@techathome
@techathome 8 ай бұрын
Code link is provided in description
@johnsangeetha9203
@johnsangeetha9203 4 ай бұрын
The program is not been uploaded and many error are coming but the program is correct
@techathome
@techathome 4 ай бұрын
What is the error message? Can you also send screenshot on mail: deepakhd20@gmail.com
@thejask4749
@thejask4749 Жыл бұрын
IR doesnt get the power and even the reading is zero throughout
@techathome
@techathome Жыл бұрын
Have you connected VCC and gnd correctly?
@keshavkeshari6892
@keshavkeshari6892 Жыл бұрын
In online simulator , I can not find ir sensor . If you know where i can access ir sensor ,comment here please.
@yaduvanshiji9
@yaduvanshiji9 Жыл бұрын
Tinkercad it's free and has all components
@sahilirane1303
@sahilirane1303 Жыл бұрын
pls explain breadboard connections better
@techathome
@techathome Жыл бұрын
This will help: drive.google.com/file/d/1EhloERWVGWewR_mO_GfMq2yAeKGlsLj0/view?usp=sharing
@minskie
@minskie 2 жыл бұрын
Can you tell me how power on a dc motor the same way with an IR sensor?
@techathome
@techathome Жыл бұрын
You need to add few lines to run DC motor instead of LED. Refer : kzbin.info/www/bejne/j2mrnpWIZshql8k
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
IR Sensor project with Single Channel Relay module #irsensor
3:26
Arduino - Turn LED On and Off With Push Button
23:33
Robotics Back-End
Рет қаралды 144 М.
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН