Pages: [1]   Go Down
Author Topic: IR emitter and reciever from radio shack  (Read 623 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 2
Posts: 17
Greatness requires work.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

its an analog voltage, the more IR the closer to vin it puts out, less the closer to ground it goes
Logged


Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


* Untitled.jpg (4.12 KB, 86x282 - viewed 105 times.)
« Last Edit: February 13, 2013, 12:49:55 am by Osgeld » Logged


Pages: [1]   Go Up
Jump to: