I'm trying to put together a specialized tv remote using an Arduino Leonardo, my project requires HID capabilities hence the Leonardo. At the moment I'm trying to figure out the signals I am going to be sending to the tv so I have an IR receiver.
The receiver is in a breadboard,
ground -> A1
VCC in A3
output in A5.
From the breadboard I have jumpers going
B1 -> Leo. ground
B3 -> Leo. 5v
B5 -> Leo. 13
Then I have the following sketch. When I shoot a tv remote into the receiver, nothing gets displayed in the serial monitor. Does anyone have any ideas what I'm doing wrong? I know every tutorial I see uses an Arduino Uno, is that the problem? Can the Leonardo can't do this?
// Include IR Remote Library by Ken Shirriff
// Define sensor pin
const int RECV_PIN = 13;
// Define IR Receiver and Results Objects
// Serial Monitor @ 9600 baud
// Enable the IR Receiver
When I place the LED+resistor between Out and Gnd, it's On and blinks Off a little with a remote pushbutton active.
When placed between +5 and Out, it's Off and blinks On with a remote pushbutton active.
With that you can make a determination as to whether your remote and the Rcvr are compatible and operating.
Thank you both of you! I finally figured out that the diagram included in the package had the signal pin and the VCC pin flipped. I didn't think getting the receiver to work was suppose to be difficult, looks like I was right, just had the wrong information.