Project on basic stamp II
Ntelos
Posts: 21
Hello there,
I am new in basic stamp use and programming.
I bought basic stamp II for a homework for my University.
I also bought an IR sensor, working at 40KHz. It has transmitter and receiver in it.The code of the sensor is tsop1740.
How could i connect this sensor on basic stamp II and could you give me some tips for programming it?
(I would like to use the tsop1740 as a motion sensor. )
Thank you in advance
I am new in basic stamp use and programming.
I bought basic stamp II for a homework for my University.
I also bought an IR sensor, working at 40KHz. It has transmitter and receiver in it.The code of the sensor is tsop1740.
How could i connect this sensor on basic stamp II and could you give me some tips for programming it?
(I would like to use the tsop1740 as a motion sensor. )
Thank you in advance
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://www.rentron.com/Micro-Bot/IR_Nav.htm
Do you think it could work?
Thanks anyway
See here: www.parallax.com/tabid/535/Default.aspx
Thanks for your advice!
I just finished an HO Model Train Switching Display, in which I used·5 Vishay TSOP 4838, Infra-red receivers.
This component is similar to your TSOP 1740, but operates at a lower frequency, i.e., 38 mhz vs 40.··Both components closely approximate each other.
The emitters, (or IR Transmitters), I used were the Fairchild QEC-113.
I tried a reflective configuration, similar to what you have described.· In this configuration you should find the output signal from the IR receiver, (TSOP 1740), will be high,·about 5 volts.··When something is detected··(a reflection occurs)·the·receiver will drop the output down to·2 volts.· (At least that was my experience).
However, in·my project,·the locomotives were a flat-black finish,·and detection was unreliable and
inconsistent.
Consequently the configuration was changed to a "Break-beam" system in which the emitter is on one side of the track with the receiver on the other.· i.e., the emitter sends a beam directly into the lens of the IR Receiver.· In this configuration, the voltage remains low, (about 2 volts) until the beam is broken.· When the beam is broken, the output voltage from the receiver goes high·to 5 volts.
After many hours of trial-and-error programming, the "break-beam" detection method has never failed
to operate each time a locomotive passed through the beam.
Hope this helps you.
Regards,
Jim
·