I have a feeling my IR sensor does not work. To make the most 'low level' test possible I want to check if the +5 and GND are working/are on the pins I expect:
On the right pin put +5 (according to pic below)
On the middle pin GND
On the left pin the data signal
Can I assume if I check with a multimeter the continuity between +5 and GND, that the sensor is OK (except for the data signal maybe), and if there is no continuity, it is broken?
Update:
My circuit:
- Arduino 5V – IR Sensor, Right pin
- Arduino GND – IR Sensor, Middle pin
- IR Sensor, Right pin – Resistor 220 Ohm – LED – Arduino Digital pin 11
No (useful) sketch run
Remote tested with telephone camera (visible light when keys pressed)
Result when pressed towards IR sensor: LED off (both with or without pressed remote buttons)
I used a multimeter to check the voltage between the right pin and middle pin which is 5.06 volts (and when I reverse the wires it shows -5.02 volts) so it seems the right pins are used. The left pin always gives 0.00V when checked against the +5V / right pin.
Best Answer
The most low level test of this sensor is to power up the device and check if the data pin goes high (means +5V). You did not give us a certain part number, however comparable devices have an active low output. Thus the Data pin should be high without IR data.