The code I'm running uses the Infrared4Arduino library, and the code I'm using is looks like this:
It sends on pin3, using a 56kHz carrier, when I input something to the serial console.
The problem: I can receive data just fine, and the timings get written to serial output. I'm testing this using a remote control I have in my home.
However, when I send a signal using the circuit connected to my Arduino (as pictured) I get nothing. I can visually verify that the LED is firing, because I can see it light up when I view it in dim light with the camera from my mobile phone.
There's something fundamental I'm missing because it seems to attempt to send, but I can't get anything to register and get recorded using both my receiver and transmitter. Any tips would be appreciated.
This is just a test setup to build on - mostly just trying to get something to work at this point. Appreciate folks taking a look.
I'm guessing you mean that LED needs to be pointed more towards the receiver? That's why I used the smaller green board: so I can lift it and point it at the receiver. No matter the distance or orientation, I still don't get a signal at the receiver.
It's odd too because for my device remote that works, I don't hardly need to point it at the receiver at all. It seems to be very sensitive.
Good. You have got that right. Now to the powering of the transmitter.
I wish You post wiring showing the transmitter circuitry as well as how the project is powered. Transistor pins and designation, resistor values....
Correct - as I note in the original post, I can see the LED light up using my mobile. When I send something to the serial, I see the LED light up (there's a purple flash that I can see on the screen of my phone).
Are you sure that irSequence addresses PROGMEM? I'd think that special instructions are required for reading from PROGMEM, like implemented in the F() macro. Or is your output misleading?