Nice video! do you know if there is a "correct" position to orientate the IR Reciever? or if it works if it is hidden in a case? is for a project, an iron man helmet that can be oppened with a IR remote control, and i don't know where to put the IR reciever inside the helmet, i mean, if i can let the reciever hidden inside the helmet, or if it has to be expossed for the signal
If the IR receiver is located inside the box, you'll want to create a small hole to ensure the IR receiver is visible. And the remote orientation will be directly to that hole.
Sir when I'm doing the coding it's not running and in error it appears as Serial port is not selected!!! How can I remove this error and run the program that you have given on the link
I had the same issue at first, in the right lower section of the serial monitor some numbers are displayed, make sure it matches the number in Serial.begin (115200)
Nice video! do you know if there is a "correct" position to orientate the IR Reciever? or if it works if it is hidden in a case? is for a project, an iron man helmet that can be oppened with a IR remote control, and i don't know where to put the IR reciever inside the helmet, i mean, if i can let the reciever hidden inside the helmet, or if it has to be expossed for the signal
If the IR receiver is located inside the box, you'll want to create a small hole to ensure the IR receiver is visible. And the remote orientation will be directly to that hole.
Hello, can you show me all of the code in order? Because i cant really get the order of code you made
How can I have a button to have all the leds on and another button to have all the leds off? thanks for helping
Where is the remote key code? Is that all remote have the same code?
? Mark is coming on serial monitor screen Iam not able to recieve the unique codes
change the bodrate to 9600
Thanks You very much for this informative Video. feom india.🕉💖
My pleasure 😊
Thank You for this Video, it was very informative.
Have a Nice Day / Night
thanks a lot
Thank you worked nicely !
how can i get the code
that i have donwloaded
HI, What if I want to turn "ON" all LEDs using 1 button and Turn it "OFF" using another 1 button?
Thanks in Advanced :)
#include
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
int LED1 = 2;
int LED2 = 3;
int LED3 = 4;
void setup()
{
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(LED3, OUTPUT);
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop() {
if (irrecv.decode(&results)) {
if (results.value == 0xFD00FF) { // button 1 code
digitalWrite(LED1, HIGH);
digitalWrite(LED2, HIGH);
digitalWrite(LED3, HIGH);
} else if (results.value == 0xFD40BF) { // button 2 code
digitalWrite(LED1, LOW);
digitalWrite(LED2, LOW);
digitalWrite(LED3, LOW);
}
irrecv.resume(); // Receive the next value
}
}
Harus pake andruino ya kalo tanpa andruino apa bisa
👌👌👌👍👍👍👍
Is there a circuit diagram?
? Mark is coming on serial monitor screen
i also get error
Same question mark is coming in serial monitor
I followed exactly what you did and my LED just pulses while I hold down the button and stops when i let go
hummm. have you upload my code? Please check your connections again
Sir when I'm doing the coding it's not running and in error it appears as Serial port is not selected!!! How can I remove this error and run the program that you have given on the link
first select the serial port from the tools menu in arduino ide. select the com port on which your arduino is connected
hi , i copied your code , it appears this to me : 'IrReceiver' was not declared in this scope
have you install the ir remote library?
good project bro:))
Glad you like it!
Mine is only showing zeros what should I do
Make sure that the signal wire is appropiadley conected
Trap drill BGM for an Arduino tutorial lmao
Thank You! 👍
You're welcome!
i cant get codes i get symblos like ?????? every button i prees
I had the same issue at first, in the right lower section of the serial monitor some numbers are displayed, make sure it matches the number in Serial.begin (115200)
good
thanks
Bro My serial monitor is not printing. Its only showing this-"□□□□□□□.□□□□......"
change the baud rate from bottom right corner of serial monitor. it must be 115200.
because I defined in the sketch Serial.begin(115200)
@@AhmadLogs thx i had the same problome
@@SAUCE30 so nice of you
Code kaha hai
VERY GOOD BUT IS PROBLEM IN DOWNLOAD LINK FOR CODE , GOOD JOB, KEEP IT
thanks a lot. Check now the link is working
Likes
so nice of you
? Mark is coming on serial monitor screen Iam not able to recieve the unique codes
Probably too late but make sure your monitor is set to 115200 baud, that fixed it for me