JUST TO BE CLEAR, This was working perfectly a couple weeks ago when i first tested it. But now nothing does.
I have these obstacle avoidance sensors (http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/arduino-ir-obstacle-sensor-tutorial-and-manual/) to use as simple counters for my project.
However, i am unable to trigger the sensor AT ALL now. I have 7 of the things and none of them work anymore and i cant find the problem. Ive bent the OUT pin so that i could just plug the 5v and the GND straight into the board and used an alligator clip to connect the OUT to the right pin. But the light on the sensor is apparently saying there is always something infront of it. I have tried it with an arduino mega and an uno and nothing works.
I am thankful for any help whatsoever! ( and i hope i posted this in the right place)