Interfacing optoelectric proximity sensor with arduino

TomGeorge:
Hi,
What are your LEDs, please show a link to where you got them, are they like this?


If so you need to place resistors in series with each LED.
I find it hard to see how LED1 is lighting because the input current to the arduino input is very low.
We need to see a picture of your project please..

Tom.. :slight_smile:

I am using the first LED, in your picture, everywhere. I got them from the local hardware store. It needs just 3V to light up. Sorry I can't show you a picture of the exact project. I am bound by my company rules.