Go Down

Topic: IR emitter and reciever from radio shack (Read 641 times) previous topic - next topic

Diod

Can someone tell me what the detector inputs when it receives the IR beams of light.

Can someone give me a VERY BASIC code to test it out.

Osgeld

its an analog voltage, the more IR the closer to vin it puts out, less the closer to ground it goes
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

DuaneB

I don't know the emitter reciever your refering to, but if they are like the ones in this post -

http://rcarduino.blogspot.com/2011/12/traction-control-part-11-monitoring.html

They do not output a voltage, instead thier resistance changes with the amount of IR. To get a useful voltage reading out of these, you need to connect them to a series resistor.

These guys have a few links to circuits you can try -

http://proto-pic.co.uk/infrared-emitters-and-detectors-pair/

Duane B
rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Osgeld

#3
Feb 13, 2013, 06:40 am Last Edit: Feb 13, 2013, 06:49 am by Osgeld Reason: 1
the radio shack pair is a IR LED and a IR photo transistor with its base connected to the IR detector

its getting geeky in here so here is a picture



you hook the line going out to the left to an analog input and analog read it then you need to decide which is HIGH or LOW if you just want binary on off signals

maybe
0-96 = off
128-255 = on

with a little dead room in the middle so it doesnt flutter,  just about every light source has IR in it hence the ranges
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Go Up