Hello everyone! I have recently made project for sending IR signals to the tv, but IR LED is not responding on any command. I checked it on phone camera and IR LED by itself is working.
When i press the button , i see no light emiting from IR LED, but the code works fine. ( It prints message "Sending signal" when i press the button).
How do you expect to see the LED being one and off several times over a few milliseconds? You need a better way to determine what is being sent by the IR LED.
Paul
I tried to change to 4000 ms , but it's same. That's the code from youtube video and it's working on that video. I don't know any other way, can you suggest me something?
Typically the output pin of an Arduino cannot supply sufficient current to drive and IR LED so you will want to implement a simple driver circuit using NPN transistor and a 470 ohm resistor is shown here:
It's supposed that automatic defined pin is pin 3. So there is no need to be defined , i didn't find anywhere on internet defined in program. IRsend function "knows" that's led is connected on pin 3
Yes, red led is working fine. The strangest thing is that i have IR arduino transmitter , and it didn't work either, but the led working light is working absolutely