Maker Pro
Maker Pro

IR Sensor

Abinaya Sindhu

Nov 3, 2014
5
Joined
Nov 3, 2014
Messages
5
Hi,

I am a newbie. Can anyone please tell me how to connect an IR Led as a transmitter and other as a receiver for obstacle detection.

Thank you.
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Hi, and welcome to the forum.

What kind of detector are you using? This might be a simple photodiode or phototransistor or it might be a complete detector + demodulator designed to operate at a specific frequency. The transmitter and receiver circuits are different depending on which type.

Please send a link to the specific receiver and the IR LED for more help.

Bob
 

Abinaya Sindhu

Nov 3, 2014
5
Joined
Nov 3, 2014
Messages
5
Hi,
Thanks for your reply. I'm using a simple photodiode. This is my circuit. I'm getting the output as high always ( even when there's no obstacle). Where am I wrong? Please help.

Thank you.
 

Attachments

  • DSC_0225.jpg
    DSC_0225.jpg
    56.8 KB · Views: 154

davenn

Moderator
Sep 5, 2009
14,254
Joined
Sep 5, 2009
Messages
14,254
do you have an IR filter over the photodiode
if not ambient light is going to stop the circuit working
 

Abinaya Sindhu

Nov 3, 2014
5
Joined
Nov 3, 2014
Messages
5
I don't have an Ir filter. Do I need one? Is there any problem with my circuit? Thanks.
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Yes, a photodiode cannot pass enough current to pull a 3K resistor low. What are the specifications of the photodiode? You will need to amplify the signal or use a phototransistor, which has the amplification built in.

Bob
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
I doubt that. If your photodiode cannot pull a 3K resistor close to ground, it certainly cannot pull a 220Ω resistor to near ground. If it is working, you have a phototransistor, not a photodiode.

Bob
 

KrisBlueNZ

Sadly passed away in 2015
Nov 28, 2011
8,393
Joined
Nov 28, 2011
Messages
8,393
I suspect it won't be very reliable if ambient light can get on it. You need to use modulated infra-red. Then you can use a TV remote control receiver module. When you discover it doesn't work properly, come back and ask about modulated IR.
 
Top