![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
hi all, i'v designed a 8x8 matrix which is controlled by a 16f876a displaying the the time from a ds1337 ic.The problem is i only want the display to turn on and display the time when some one is standing in front of it and if possible i want to be able to adjust the distance that turns it on. I have no idea on how to do any motion detection, should i be using i.r emitters and reciever or something else. please can some one help me with the circuit and ill try and do the code for it. many thanks jason | |
| |
| | #2 |
|
search this site, there is bunch of threads related to this: IR Distance Sensor proximity detection Advantages... ... in short, you put IR diode and modulate it at 38 or 40KHz, you use IR receiver (same freq as the signal you are generating) just next to it, tune the power output of the IR diode to achieve right distance .. when you detect signal on IR receiver - you have someone in front of the device | |
| |
| | #3 |
|
i'm looking for ranges from 1 to 2 meters so would i be better using ultrasonic
| |
| |
| | #4 |
|
Use a PIR detector. That way you don't need a separate TX and RX.
| |
| |
| | #5 |
|
pir is a great idea if you can find one that will work in your environment. I experimented with couple of different pir sensors and abandoned the idea completely for all projects as they just trigger to often on too many "non triggerable" events. IR might be made sensitive enough (tx powerful enough) to get 1-2m without too much troubles (add few leds in parallel and drive them with max rated current, you will get much more then 2m, much much more) ultrasound is great thing, I tried to play with it some time ago but wasn't able to finish the project as pressure on job increased so free time got vaporised .. but you can find some nice ultrasound schematics on this forum and some nice pointers from few other "really smart ppl" ![]() In any case, doing it with ultrasound will take - TX capsule (not cheep) - RX capsule (not cheep) - demodulator circuit (amplifier, demodulator, all analog - not my area really ) with compared to IR one where you need few transistors to drive led's and one ir receiver that does everything for you (amplification, demodulation) the price for IR one is ~10x lower then for the US one .... also, IR is much easier to focus the sound | |
| |
| | #6 | |
| Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 9th December 2008 at 09:12 PM. | ||
| |
| | #7 |
| | |
| |
| | #8 |
|
You can buy a real good pir from radio shack for 10 dollars that would work good it's made by parallax it has a jumper on it that changes it's out put from being high or low to where you can count the pluses and tell how far away things are thay have code for the stamp. I been playing with it with my scope. Trying to think of a way to use it with a 12f675 on a little bot I made | |
| |
|
| Tags |
| detection, motion |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| PIR motion tracking? | HarveyH42 | Electronic Projects Design/Ideas/Reviews | 3 | 31st May 2007 03:28 AM |
| Tips on Infrared motion detection | laibolaji | Electronic Projects Design/Ideas/Reviews | 3 | 11th February 2007 10:17 AM |
| Motion Detector | linhthai75 | Electronic Projects Design/Ideas/Reviews | 5 | 10th January 2007 06:42 PM |
| Motion Detection / Destruction | Clyd3 | Electronic Projects Design/Ideas/Reviews | 5 | 25th July 2005 02:50 PM |
| motion switch | oliphant | Electronic Projects Design/Ideas/Reviews | 6 | 11th September 2004 12:10 AM |