I need some help to creat a securety Boe-Bot with the PIR sensor and program it
Blindmonk
Posts: 12
I have little experience with the Boe-Bot and I am trying to create it to control an area and when body heat is detected then the PIR sensor will trip a speaker to alert me. I was wondering if the PIR sensor from the Parallax inc. can be used to detect body heat while the Boe-Bot is moving? If any one has any helpful programs that I might be able to use or any advise on how to go about starting this please let me know.
Thank you,
Thank you,
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
think of it this way, the heat sensor detects a change in heat patters, right? so if it were stationary, and the heat source (a person or a fireplace) moved, then the heat pattern would change, yes? now, imagine the heat source being stationary and your sensor moving (on your r0b0t). when the sensor moved, the pattern would change. it's about relativity.
There are expensive far-infrared cameras that can be used for tracking "heat". Most CCD cameras will detect infrared, but that's near-infrared, interesting for photos, but won't help you for tracking "heat".
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
A PIR is not the only method of detecting an infrared heat source. Here is a simple, (relatively) long distance infrared detector you can make yourself, with just a few spare parts.
Take an old flashlight that no longer works, or buy a flashlight at the dollar store, and carefully remove the parabolic reflector from inside the lens end. Pick up an I/R photo-transistor and a few fine pieces of heat shrink tubing. Solder longer leads onto the I/R photos-transistor. Insulate the leads from one another using the heat shrink tubing.
Carefully drill one (or more) small holes towards the narow end of the parabolic reflector about 2/3rds of the way in, so that the leads of the I/R photo-transistor can pass through. You should be able to center the I/R photo-transistor in the center of the reflector.
Make a firm mounting for the reflector assembly perhaps using a hose clamp to gentrly grab the outside of the large end of the parabolic reflector. Don't tighten anything so tight that it can't be adjusted at this point.
One of the many analog circuity genuises on here can tell you how to hook this up, and can perhaps indicate whether a small amplifier (op-amp maybe) will be necessary to condition the signal before it goes to a Stamp pin.
Test it out, and make any adjustments you need to. A dab of glue on the outside of the parabolic reflector where each of the extended leads comes through is all you need to keep it centered. Just make sure the transistor is center-aligned before the glue dries.
If you can't envision what I'm saying here, let me know, and I'll try to make a rudimentary drawing for you, since I'm NO artist!
As a kid, 50 years ago, I won second prize in a science fair for a similar system which was a "match detector" which would operate from almost 10 feet away. This was LONG before the decent electronics devices we have today.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->