I'm attempting to use LadyAda's Adafruit_NECremote library and the example 'listener' app to decode the Mini Remote Control (http://www.adafruit.com/products/389) with an Arduino UNO R3 and a Vishay TSOP38238 (38k IR Sensor).
Currently, I just have the sensor inserted into the Arduino digital outputs (5, 6 and 7) as such:
Sensor pin 1 (out) -> Arduino digital pin 5
Sensor pin 2 (GND) -> Arduino digital pin 6, set LOW in code
Sensor pin 3 (Vs) -> Arduino digital pin 7, set HIGH in code
I compile and upload the example "listener" code, ensuring the IR pin is set to 5 in code, and also set pins 6 and 7 to output, and then to LOW and HIGH respectively in the setup().
When I open the serial monitor, I just get timeout messages when I try to use the remote (which I understand uses NEC codes).
The sensor itself is good, because I can decode a Sony remote with no changes to the circuit, using another IR library.
I did remove the plastic shipping tab from the battery compartment of the Mini Remote Control!
At this point I'm wondering if there's a compatibility issue with my IR sensor and the Mini Remote, or if there might be something in the Adafruit_NECremote.h that I can define or change to get it working?
Thanks for any input. I also tried putting the sensor on a mini-breadboard, jumping the output to an Arduino digital I/O pin, and connecting the other pins directly to GND and +5V on the Arduino, but with the same results.
Datasheet for sensor: http://www.vishay.com/docs/81733/tsop382.pdf

