Anyone ever use the Radioshack infrared emitter and detector LEDs with BasicSta
kingspud
Posts: 128
I would like to use these LEDs in a Basic stamp project?
I don't knwo how they work and I am lost of how to set them up!!!
The package is the Infrared Emitter and Detector LED's from Radioshack #276-142
I am looking for any BS2 code and wiring hookup for use with the Basic stamp 2.
It doesn't have to be anything crazy just code to show how they would work with the BS2 and how they are wired.· I can't find anything on the net and I can't find any setups for these two LED to work together.
Thanks in advance!
Joe
I don't knwo how they work and I am lost of how to set them up!!!
The package is the Infrared Emitter and Detector LED's from Radioshack #276-142
I am looking for any BS2 code and wiring hookup for use with the Basic stamp 2.
It doesn't have to be anything crazy just code to show how they would work with the BS2 and how they are wired.· I can't find anything on the net and I can't find any setups for these two LED to work together.
Thanks in advance!
Joe
Comments
http://forums.parallax.com/showthread.php?p=592899
http://forums.parallax.com/showthread.php?p=593062
Has anyone used these specific devices in a Basic Stamp project??
The two forum leads were very confusing and I just need some code and hookup for these two specific LEDS!
Thanks
Joe
The LED sends out infrared light when it's two leads are connected to power and ground.
The phototransistor will switch on (conduct) between it's two leads if enough IR light hits it.
This kind of setup will be prone to noise and much false triggering if there is no modulation of the LED light and no corresponding filtering (electronic) at the phototransistor receiver.
- Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
If you do want to use them as a proximity detector, they might still be okay if only used indoors and the sensitivity on the transistor was set to where it would ignore lower levels of random ir.
To make a better proximity detector, it is very easy to modulate the ir LED, all you need is a 555 timer chip, a few resistors and a capacitor or two. For a detector, you could build a circuit to filter the signal from the phototransistor, but it would be much easier and simpler to use a dedicated demodulator like the Panasonic 4602. They're pretty cheap. and easy to find.
Google for "infrared proximity detector" and "panasonic 4602", (use the quotes) and you will find tons of great info.
- Rick
I have a few of each.
These just require an increase in the number of components to do the same job. For many of us that are trying to crowd things on a BOEbot, having one small component do the job of several is a liberation.
On the other hand, you can substantially change the reciever's modulation filter [noparse][[/noparse]while others cannot]. This might come in handy if you have several IR communicatin devices as each would be on a separate channel. As it is, 38,250 Hz seems to be the default frequency and it may get crowded if you were in a room full of devices.
Without modulation, many have noted the hum from fluorecent lights can can set up quite a bit of IR interferance. Obviously, there are other troublesome sources to be discovered unless it is merely doing line following [noparse][[/noparse]noise is shielded out].
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Thank you so much for all the info!
I will see if I can find some circuits using the 555 chip or just use the Panasonic 4602!
Once again thanks!
Joe
After doing some research on the Parallax web site I found the following information that covers the·package·consisting of the Infrared Emitter and Detector LED's from Radioshack #276-142
In The QTI Line follower AppKit for the Boe-Bot Document (#28108)
http://www.parallax.com/dl/docs/prod/robo/QTILineFollow.pdf
On page 2 of 6 in the lower right corner you will find the wiring diagram to setup these LEDs on a breadboard!!
And there is·code also to test it!!
I set it up and it worked great!!