Build a Simple Motion Sensor: Tutorial & Schematics

Click For Summary
To build a simple motion sensor, two common technologies are infrared (IR) and ultrasound. An IR sensor requires an IR fresnel lens and a receiver circuit, where warm objects moving in front of the lens generate a change in output voltage interpreted as motion. For the IR setup, a PIN photodiode connected to an op-amp can convert the IR input into a voltage signal. The ultrasound method involves using Doppler changes in return pings, although it may require more complex processing to detect motion accurately. The discussion points towards starting with the IR version for simplicity and learning purposes.
ranger
Gold Member
Messages
1,685
Reaction score
2
How can I build a simple motion sensor, nothing really fancy. Just something that I can learn from. Does anyone know a good tutorial? Like one that has schematics then some explanations. Or can someone explain how to do this?

--thanks
 
Engineering news on Phys.org
You mean like to remotely sense people moving, as opposed to measuring linear motion of something? If you mean sensing people/animals/etc. moving, the two technologies typically used are IR and Ultrasound.

For a simple IR sensor, you need an IR fresnel lens of some kind, and an IR receiver circuit. As warm objects move around in front of the lens, that moves multiple images of the object over the IR sensor, and that change in output voltage from the IR sensor is interpreted as motion. To build your own IR-to-voltage converter circuit, you would connect a PIN potodiode (with a good IR spectral response and an IR-specific window) to an opamp in a current-to-voltage configuration. The anode of the diode goes to ground or a negative rail, and the cathode goes to the - input of the amp. The + input of the amp goes to a reference, and the output of the opamp is connected to the - input via a resistor. The IR input to the diode causes a reverse current through the PIN photodiode, which gets converted to an output voltage via the feedback resistor. See figure 14.5 in Horowitz and Hill if you have that electronics book, for example.

For the Ultrasound version, you would probably use Doppler changes in return pings, I would guess, for the simplest versions. Those would miss straight side-to-side motion, though, so a better version would do some processing on the return pings to look for any multipath changes in the return echo waveform. Look for an electronics kit that has an Ultrasonic transducer on it to start your experimenting.

Here's a link to HowStuffWorks.com & IR sensor info to get you started:

http://home.howstuffworks.com/question238.htm
 
Thanks. I'll look into that link right away. It seems that I will go with the IR version.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
1K
Replies
1
Views
1K
Replies
16
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K