IR Sensors help
Special_K
Posts: 162
Hello,
I am looking to expand functions my Boe-Bot. I have noticed that my IR Sensors (the ones that came with the Boe-Bot kit)·will get different reading depending on the slant of the IR LED and IR Sensors. I found this all-in-one unit online. Will it work? And how will I connect it to the Boe-Bot bread board and program the Boe-Bot to receive its inputs since there are only two pins on the IR Sensor.
http://www.sparkfun.com/commerce/product_info.php?products_id=246
I am looking to expand functions my Boe-Bot. I have noticed that my IR Sensors (the ones that came with the Boe-Bot kit)·will get different reading depending on the slant of the IR LED and IR Sensors. I found this all-in-one unit online. Will it work? And how will I connect it to the Boe-Bot bread board and program the Boe-Bot to receive its inputs since there are only two pins on the IR Sensor.
http://www.sparkfun.com/commerce/product_info.php?products_id=246
Comments
Probably the most common way this circuit is used is as an encoder, which you can use to count how many holes in the Boe-Bot's wheel has passed by the sensor.· You can also use QTIs for this, or the·Boe-Bot Digital Encoder Kit, which has some extra features.·
BTW, the sensor has four pins.· For encoding, a series resistor has to be added to the pins connected to the device's IR LED, and a 10 k pullup resistor is typically connected to the device's infrared phototransistor.· I'm out of time tonight, but I'm sure that there will be schematics posted to this thread that show the circuit before noon tomorrow.
Post Edited (Andy Lindsay (Parallax)) : 2/1/2006 6:08:24 AM GMT
So the QRD and the QTI are similar (close range). Is there a unit that has the same function and range of the IR Sensor and IR LED (that come with the Boe-Bot kit) that is an all in one unit?
For improved Boe-Bot object/distance detection, I prefer the PING)))™ Ultrasonic Sensor and the PING))) Mounting Bracket Kit.· It might not be infrared, but ultrasonic is way better and certainly worth a look.· The Ping))) sensor only uses 1 I/O pin, and you can perform a 180-degree sweep with it and the servo mounting bracket.
Post Edited (Andy Lindsay (Parallax)) : 2/1/2006 6:28:44 AM GMT
Looking forward or to the sides, they likely won't help and bumpers would be a better alternative.
I wonder if you really need a Ping to the rear. After all, you know where you have been.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
...unless you are turning while backing up (a common response to an obstacle in front of you)...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
Post Edited (Tom Walker) : 2/1/2006 6:06:55 PM GMT
http://www.sparkfun.com/commerce/product_info.php?products_id=98
Parallax has a touch/bump sensor but is says it is for the toddler
Nearly any microswitch will do what you need for it to do, with an appropriate "whisker" attached. The Parallax "Twinkle Toes" are a bit much for your needs, and were specifically designed for use with the toddler, a walking, rather than wheeled or crawling, platform.
The unit from SparkFun should be fine. You can also purchase microswitches from almost any electronics surplus house for a dollar or two.
Almost all microswitches have three terminals: COM, N.O. and N.C. Thus, you can optionally use these switches in normally open or normally closed circuits, depending on how you want to wire up your sensors, and how you choose to detect thier activation. COM is obviously the common terminal, used in either case (open or closed circuit wiring/sensing).
Microswitches also come with different length and different shaped actuators. For my money, within limits, the larger the actuator, the easier it will be to properly attach a "whisker". Here is one I've used before, quite successfully:
http://www.mpja.com/productview.asp?product=14426+SW
Regards,
Bruce Bates
http://www.acroname.com/robotics/parts/R19-IR02.html
It is an all in one IR sender / receiver. I think it is what I was looking for.
Post Edited (Andy Lindsay (Parallax)) : 2/3/2006 6:05:15 AM GMT