I kiss your heart, brother. I have been trying to set up this damn remote for about two hours and no complicated approach or solution from the Internet seemed help, except for your coherent, simple, and logical code. May your problems go away like mine.
Another excellent video presentation. You manage to include every project detail and give the information clearly and succinctly, without a wasted word. Great job!
you are the best 👍 i search many tutorials , no one works finally , i watch this this really works just look at the way you code this can tell that you totally know these
here is the code for lazy ones : #include IRrecv IR(3); int ledPin = 8; void setup( ) { // put your setup code here, to run once: IR.enableIRIn( ); pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: if(IR.decode( ) ){ Serial.println(IR.decodedIRData.decodedRawData, HEX); if(IR.decodedIRData.decodedRawData == 0xEA15FF00){ digitalWrite(ledPin, HIGH); } if(IR.decodedIRData.decodedRawData == 0xF807FF00){ digitalWrite(ledPin, LOW); } delay(1500); IR.resume( ); } }
Your video help me to make it work, thank you. the fact that you also mentionned the library version really help. I guess many people has trouble with it because there is incompatibility between the code suggest and the library version currently install on their system
Hi i am not sure if u can help but for some reason when i use try and do the hexadecimal stuff only some values get read and if so its just 0 on the serial monitor
Hie thanks for the straight forward tutorial but am having a problem with the HEX of each remote button, when l press the same button l get a different HEX number , what could be the problem???
Could be the library like weizhu said, but I have another theory since I'm on the latest and have the same problem unless I blast the remote right into the receiver: I think any interference with the receiver messes with how the receiver decodes the remote, thus different results.
Hey, I’m having a problem with the code. I am writing it for a passive buzzer instead of an LED, and i have two if statements. i have the same code except for a tone() function. i will press one button and then it will never turn on again.
I want to ask you , can you tell me where you get that like code like that "decode "IR " , I mean where , I have been. searching it , please reply , thanks
Thank you for your tutorials. Your arduino tutorials are very useful and I like the fact that you mention exactly which library to use, because they can get confusing.
Thanks you, I spent many time to set up this system but it didn't work but today i find this video despite simple code but it work very well, again thanks you very much!
first to say , your video is really cool, most simple and clear, congratulation for that. i enjoy to read out the codes from the remote, but unfortunally i cant find your libary today. my IDE is 2.0.2 and thre is no matching libary you use. used HW is same. do you have an idea to get your good libary into mine IDE?
Thanks bro it was really helpfull, just an advice for future videos, it would be helpfull if you wrote the code in the description box as i had hard time reading the code from the vedio :))
Can someone help me with my project? My plan is to control servo with IR remote control do rotate it and to control DC to speed it up or slow it down to use it like a fan.
Hi everybody. I'm currently having a problem and need your help: When receiving the remote's external signal, the VS1838B module only displays 0xFFFFFFFF How to fix it? Thank you Sorry that my English is quite bad
Yeah, there is a difference IR sensor is a broad term that encompasses sensors capable of both emitting and receiving IR radiation, while an IR receiver is a specialized sensor designed to receive and decode IR signals, commonly used in remote control applications.
Finally i found the Code for HW477 that works. Many examples use the old code that doenst work properly with hw477 and give random output. Thank you very much.
I need your urgent help If i press button of remote led should glow for 10 seconds and within these 10 seconds if we press again the same button led should be still glowing for again 10 sec this loop should continue until no button is pressed Please tell me how can I do?
Your code worked great. I've adapted it to work with a SG90 servo. I need it to move 10 points in one direction or 10 points in the other depending on what key on the remote I press. The only problem I'm having is when I hook up the servo, I get a ton of interference with the IR and it can't read the remote. Even when the servo is sitting idle, I can see numbers all over the serial monitor, and the IR flashing. When the servo is unhooked, it works great (or at least the serial monitor says it does).
Most probably this is a power problem, Supply the servos from power source different from the Arduino power source and make sure it has sufficient current rating. Or use the 5 volt Pin to power the servo And the 3.3 volt Pin to power the ir receiver because servos make some noise to the power source and that affects the ir receiver.
First thanks for sharing your knowledge. When I'm doing this, I faced some issue. I'm also have the same as your remote. (Same size same brand). But every key returns same value like FFFFFFFF. What could be the issue bro? 🤔
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
Very good. This method works. It did not work with other method always giving FFFFFF. This code worked for me with version 3.5.2 #include IRrecv IR(3); void setup() { // put your setup code here, to run once: IR.enableIRIn(); // Cambiado de enableIRIN a enableIRIn Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: if (IR.decode()) { // Cambiado de If a if Serial.println(IR.decodedIRData.decodedRawData, HEX); // Cambiado de IT.decodeIRData a IR.decodedIRData delay(300); IR.resume(); } }
Fantástico!! Ganhou um seguidor!!! Estava com dificuldade em fazer isto funcionar com outros sketchs, qualquer tecla pressionada sempre retornava 0FFFFFFF (delay configurado era de 100 ms, será isso?). Seu método foi o único que funcionou. Muito obrigado.
Is there a distance away from the arduino that I should limit placement of the transmitter to? I want to place an IR transmitter near the dome light in my car to control aspects of my DSP, but I think the distance would exceed 9 feet from the Arduino to where the LED will go. Didn't know if the signal would be strong enough to go that far. Great job on the video, very easy to follow.
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
@@nathanfenoseff7751 #include IRrecv IR(9); decode.results result; void setup() { // put your setup code here, to run once: IR.enableIRIn(); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: if (IR.decode()){ Serial.println(results.value, HEX); delay(1500); IR.resume(); } }
I only received ffffffffff from all buttons please help 😢 R change ir sensor multiple time but same . I also change my arduino but i always get fffffffff code .. anyone please help
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
CODE: #include IRrecv IR(2); int led = 8; void setup() { // put your setup code here, to run once: IR.enableIRIn(); pinMode(led, OUTPUT); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: if(IR.decode()){ Serial.println(IR.decodedIRData.decodedRawData, HEX); if (IR.decodedIRData.decodedRawData == 0xE916FF00){ digitalWrite(led, HIGH); if (IR.decodedIRData.decodedRawData == 0xE619FF00){ digitalWrite(led, LOW); } delay(1500); IR.resume(); } } }
I kiss your heart, brother.
I have been trying to set up this damn remote for about two hours and no complicated approach or solution from the Internet seemed help, except for your coherent, simple, and logical code.
May your problems go away like mine.
Another excellent video presentation. You manage to include every project detail and give the information clearly and succinctly, without a wasted word. Great job!
Glad it was helpful!
you are the best 👍
i search many tutorials , no one works
finally , i watch this
this really works
just look at the way you code this can tell that you totally know these
Glad I could help
here is the code for lazy ones : #include
IRrecv IR(3);
int ledPin = 8;
void setup( ) {
// put your setup code here, to run once:
IR.enableIRIn( );
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
if(IR.decode( ) ){
Serial.println(IR.decodedIRData.decodedRawData, HEX);
if(IR.decodedIRData.decodedRawData == 0xEA15FF00){
digitalWrite(ledPin, HIGH);
}
if(IR.decodedIRData.decodedRawData == 0xF807FF00){
digitalWrite(ledPin, LOW);
}
delay(1500);
IR.resume( );
}
}
Thanks 😊
thx
Thanks man. I was really stuck on this lesson for the IR remote. I think I got it nailed down now.
Glad it helped!
Thank you so much mate .I have watched lot of videos nothing had worked for me. You saved my life dude, I have a project on this.
Glad I could help
Your video help me to make it work, thank you. the fact that you also mentionned the library version really help. I guess many people has trouble with it because there is incompatibility between the code suggest and the library version currently install on their system
That's absolutely right ✅
Best Tutorial i could find on UA-cam. Many Thanks!!!
Wow, thanks!
Hi i am not sure if u can help but for some reason when i use try and do the hexadecimal stuff only some values get read and if so its just 0 on the serial monitor
I am also having this problem.
Same
OMG FINALLY IVE BEEN LOOKING EVERYWHERE FOR A VIDEO THAT WORKS AND THIS IS THE ONLY ONE IVE FOUND THANK YOU
Straight to the point, very well done!
Hie thanks for the straight forward tutorial but am having a problem with the HEX of each remote button, when l press the same button l get a different HEX number , what could be the problem???
check your library , install the newest one
Could be the library like weizhu said, but I have another theory since I'm on the latest and have the same problem unless I blast the remote right into the receiver: I think any interference with the receiver messes with how the receiver decodes the remote, thus different results.
Are there any mini remotes like that in which you can program the IR codes?
Hey, I’m having a problem with the code. I am writing it for a passive buzzer instead of an LED, and i have two if statements. i have the same code except for a tone() function. i will press one button and then it will never turn on again.
Hi, this is the first sketch that works and I tried a lot
That's great to hear!
I want to ask you , can you tell me where you get that like code like that "decode "IR " , I mean where , I have been. searching it , please reply , thanks
can you pleas copy the codes i need it why you do that the Ir reciver senser flame up😥
If i want to apply it at real lights with high voltage electric power can i directly connect them or should i use a relay for that?
No, you have to use a relay module
Very well explained sir. Clear, simple and concise code. Thank you
So nice of you
Worked for me, thank you!
Great!
Thank you for your tutorials. Your arduino tutorials are very useful and I like the fact that you mention exactly which library to use, because they can get confusing.
Glad you like them!
Im not getting a HEX code in the serial monitor, just a simple two digit number. any help?
In your serial monitor, make sure to set it to 9600 baud at the bottom otherwise you might end up with something odd showing up
Thanks you, I spent many time to set up this system but it didn't work but today i find this video despite simple code but it work very well, again thanks you very much!
another hero saves the day
mine says 0 in the serial monitor can someone help
first to say , your video is really cool, most simple and clear, congratulation for that. i enjoy to read out the codes from the remote, but unfortunally i cant find your libary today. my IDE is 2.0.2 and thre is no matching libary you use. used HW is same. do you have an idea to get your good libary into mine IDE?
Thanks bro it was really helpfull, just an advice for future videos, it would be helpfull if you wrote the code in the description box as i had hard time reading the code from the vedio :))
I'm adding the code to the description in all of my future videos.
Can someone help me with my project? My plan is to control servo with IR remote control do rotate it and to control DC to speed it up or slow it down to use it like a fan.
help me pls my serial monitor doesn't show anything
Select the same baud rate 9600 from the serial monitor
@@EnjoyMechatronics I have that but it doesn’t work, maybe the receiver burned out?
Hi everybody.
I'm currently having a problem and need your help:
When receiving the remote's external signal, the VS1838B module only displays 0xFFFFFFFF
How to fix it?
Thank you
Sorry that my English is quite bad
When I use the cheap remote I also get 0xFFFFFFFF but when I use a XFINITY TV remote I get different codes.
THANK YOU SO MUCH. i have a lot of problems decodifing my ir control with other methods
Did it work?
I have one doubt. Is IR sensor and IR reciever is same or different?
Yeah, there is a difference
IR sensor is a broad term that encompasses sensors capable of both emitting and receiving IR radiation, while an IR receiver is a specialized sensor designed to receive and decode IR signals, commonly used in remote control applications.
HI, Thanks for the vid. I've tried 3 different remotes and recvers, but every time I get FFFFFFFF, and I don't know why. Please help. Thanks.
Make sure your monitor is set to 9600 baud otherwise it might show up weird
I have written your code and wired everything correctly but this not working for me
God bless you man, Thanks.
You too!
how can i get the pattern or Pronto Hex Code?
why nothing in serial monitor
Select the same baud rate 9600
@@EnjoyMechatronics I have that but It doesn't work
Excellent and thank you for this great video
Glad you enjoyed it
Your tutorial is very helpful thank you
Glad to hear that
thanks man your a legend
Any time!
Very good 👍
I tried it. super. thanks for the video
No problem 😊
Excellent...many thanks.
So nice of you
Finally i found the Code for HW477 that works. Many examples use the old code that doenst work properly with hw477 and give random output. Thank you very much.
Glad I could help
hello that code doesn't work, we throw it out that it has a problem with: IR.enableIRIn (); what should I do?
Check out the lRremote library
where are double sided jumper wire
I need your urgent help
If i press button of remote led should glow for 10 seconds and within these 10 seconds if we press again the same button led should be still glowing for again 10 sec this loop should continue until no button is pressed
Please tell me how can I do?
Use millis() command.
Sorry, I haven't created a video about it yet.
Hello, thank you so much for the video but the code doesn't seem to work, I'm not very good at arduino and I'm doing it for a project
You could check out this new video
ua-cam.com/video/cO1zmqijjkA/v-deo.html
Your code worked great. I've adapted it to work with a SG90 servo. I need it to move 10 points in one direction or 10 points in the other depending on what key on the remote I press. The only problem I'm having is when I hook up the servo, I get a ton of interference with the IR and it can't read the remote. Even when the servo is sitting idle, I can see numbers all over the serial monitor, and the IR flashing. When the servo is unhooked, it works great (or at least the serial monitor says it does).
Most probably this is a power problem, Supply the servos from power source different from the Arduino power source and make sure it has sufficient current rating.
Or use the 5 volt Pin to power the servo
And the 3.3 volt Pin to power the ir receiver because servos make some noise to the power source and that affects the ir receiver.
@@EnjoyMechatronics You have no idea how much this comment helped me! Thank you so much!!
@@stukkiedrol No worries
First thanks for sharing your knowledge. When I'm doing this, I faced some issue. I'm also have the same as your remote. (Same size same brand). But every key returns same value like FFFFFFFF. What could be the issue bro? 🤔
You may need to update the library
Or check out my new video ua-cam.com/video/cO1zmqijjkA/v-deo.html
@@EnjoyMechatronics Library version is 4.1.1 and that is the latest.
Hello, did you find the solution ? I have the same problem too(((((((((
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
Pls create an RF 433mHz version 🙏🏻
hi i love your videos but my remote has no plus or minuss sighn plz explanin
Very nice, HELPED me a lot thanks
I’m so glad to hear that. Thank you so much.
Cool tutorial! One question, what is the name of the song from your intro? It's BANGIN!!!!
Just a word "The BEST".
Thanks for your interest
Does not work. Very disturbing delay And without it it doesn't work. Please tell me what can be done
Try reducing the delay. To 1000 or less than that.
Wait. Try increasing the delay. Whichever works best.
Çok teşekkür ederim.işime çok yaradı
Very good. This method works. It did not work with other method always giving FFFFFF. This code worked for me with version 3.5.2
#include
IRrecv IR(3);
void setup() {
// put your setup code here, to run once:
IR.enableIRIn(); // Cambiado de enableIRIN a enableIRIn
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
if (IR.decode()) { // Cambiado de If a if
Serial.println(IR.decodedIRData.decodedRawData, HEX); // Cambiado de IT.decodeIRData a IR.decodedIRData
delay(300);
IR.resume();
}
}
can i borrow your code please
Fantástico!! Ganhou um seguidor!!!
Estava com dificuldade em fazer isto funcionar com outros sketchs, qualquer tecla pressionada sempre retornava 0FFFFFFF (delay configurado era de 100 ms, será isso?).
Seu método foi o único que funcionou.
Muito obrigado.
obrigado
really good video thank you
I appreciate that
Thank you for share good video I like this video.
Glad you enjoyed it
Thankkkkkkks, your vidéo is very very Good 😇😇😇😇😇😇😇😇😇😇😇😇😇
No worries 👍
thank chu :3
and chur voice sounds cute ^W^
great video. Really helpful
Glad to hear it!
Tutorial anda sangat membantu terikasih
very interesting, ty !
Glad you think so!
Is there a distance away from the arduino that I should limit placement of the transmitter to? I want to place an IR transmitter near the dome light in my car to control aspects of my DSP, but I think the distance would exceed 9 feet from the Arduino to where the LED will go. Didn't know if the signal would be strong enough to go that far. Great job on the video, very easy to follow.
Thanks, man
I think the maximum distance is about 10 meters.
it's great but it didn't work for me
What happened?
dude u r the best
Thanks
can you add a file of this code so that we don't need to copy literally everything you've done?
Excellent.
Thank you! Cheers!
Can Someone please give me the code it wont work for me i think i did something wrong:(
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
I changed the code a little too, I forgot to tell))
@@shakhobiddinnakiev6767 Can you send the code so I can copy and paste it please?
@@nathanfenoseff7751 #include
IRrecv IR(9);
decode.results result;
void setup() {
// put your setup code here, to run once:
IR.enableIRIn();
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
if (IR.decode()){
Serial.println(results.value, HEX);
delay(1500);
IR.resume();
}
}
@@shakhobiddinnakiev6767 ty
I am getting same code for all buttons
Nice video, thanks :)
Glad you liked it!
Many thanks 🌹🙏
I'm glad to hear that
Extreeeeeme videeeeeo
Good idea,
Many many thanks
thank you
thanks broooo
Yes I also agree
tf armin arlert is making code library
just in case it's a good tutorial video.
I've been trying to find some code that will work, i've finally found it
tysm
im subscribing RN
I only received ffffffffff from all buttons please help 😢
R change ir sensor multiple time but same . I also change my arduino but i always get fffffffff code .. anyone please help
Hello, bro, i have also the same problem !!!!(((((( didn't u find the solution??
U know, it just worked for me by chance i think, i deleted my latest library 4.1.2 and installed 3.5.2 and rebooted Aduino several times))) it is working , i don't know what to say more))
HI !
Hey 👋
good
Hello
Hi,
It didnt work and my resistor and the sensor is fryed, and it all good conected so dis like
Me no speak Japanese!
fake
You are wrong
CODE:
#include
IRrecv IR(2);
int led = 8;
void setup() {
// put your setup code here, to run once:
IR.enableIRIn();
pinMode(led, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
if(IR.decode()){
Serial.println(IR.decodedIRData.decodedRawData, HEX);
if (IR.decodedIRData.decodedRawData == 0xE916FF00){
digitalWrite(led, HIGH);
if (IR.decodedIRData.decodedRawData == 0xE619FF00){
digitalWrite(led, LOW);
}
delay(1500);
IR.resume();
}
}
}
Thanks man
Buenoa
Buenaso #todoinventostv
Realy good
I have written your code and wired everything correctly but this is not working for me