This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
human_detection_sensor_system [2009/03/03 03:45] jonmash |
human_detection_sensor_system [2009/03/04 05:34] (current) jonmash |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== PIR Motion Detectors ===== | ===== PIR Motion Detectors ===== | ||
- | {{ :gallery:pirsensor.gif|Courtesy of Glolab}} | + | {{ :pir-diagram.jpg?150|Courtesy of Glolab}} |
These sensors are comprised of a [[http://www.glolab.com/pirparts/pirparts.html|Pyroelectric Infrared Sensor]] along with a custom designed amplifier circuit. A datasheet for the Pyroelectric Sensor can be found below. Due to the complexity of the amplifier circuit, the team decided to print PCB's for these boards - an attempt to save time and effort. | These sensors are comprised of a [[http://www.glolab.com/pirparts/pirparts.html|Pyroelectric Infrared Sensor]] along with a custom designed amplifier circuit. A datasheet for the Pyroelectric Sensor can be found below. Due to the complexity of the amplifier circuit, the team decided to print PCB's for these boards - an attempt to save time and effort. | ||
- | {{:pir-diagram.jpg?150 |Courtesy of Glolab}}The Pyro-Sensors is used to detect the movement of humans (or any heated body) in a defined field of view. These sensors work by using two active elements to detect relative direction of motion of a heated body. When an object moves in the sensors field of view, a voltage waveform is produced. An example waveform can be seen to the left. Each sensor has about 90 degrees viewing angle but, with the help of a Fresnel lens and blinders, the final setup will consist of four sensors each with 45 degree viewing angle. | + | The Pyro-Sensors is used to detect the movement of humans (or any heated body) in a defined field of view. These sensors work by using two active elements to detect relative direction of motion of a heated body. When an object moves in the sensors field of view, a voltage waveform is produced. An example waveform can be seen to the right. Each sensor has about 90 degrees viewing angle but, with the help of a Fresnel lens and blinders, the final setup will consist of four sensors each with 45 degree viewing angle. |
The output from the Pyro-Sensors cannot be read directly into the microcontroller, so the team has constructed an amplification circuit capable of amplifying the signal with a variable-gain of over 10,000 (80dB). The amplifier is a simple two-stage Op-Amp circuit using the LM324 series Op-Amps. The amplifier circuit can be seen in the gallery below. | The output from the Pyro-Sensors cannot be read directly into the microcontroller, so the team has constructed an amplification circuit capable of amplifying the signal with a variable-gain of over 10,000 (80dB). The amplifier is a simple two-stage Op-Amp circuit using the LM324 series Op-Amps. The amplifier circuit can be seen in the gallery below. | ||
- | ==== Datasheets ==== | + | ^ Datasheets ^ |
- | * {{:datasheets:pirmanual.pdf|Pyroelectric Infrared Sensor}} | + | |{{:datasheets:pirmanual.pdf|Pyroelectric Infrared Sensor}} | |
- | * {{:datasheets:lp324n.pdf|LP324N Op-Amp}} | + | |{{:datasheets:lp324n.pdf|LP324N Op-Amp}} | |
Line 24: | Line 24: | ||
The thermopile array uses the I<sup>2</sup>C interface to communicate with the microcontroller. | The thermopile array uses the I<sup>2</sup>C interface to communicate with the microcontroller. | ||
- | ==== Datasheet ==== | + | |
- | * [[http://www.robot-electronics.co.uk/htm/tpa81tech.htm|TPA81 - Infrared Thermopile Array]] | + | ^ Datasheets ^ |
+ | |[[http://www.robot-electronics.co.uk/htm/tpa81tech.htm|TPA81 - Infrared Thermopile Array]] | | ||
===== Ultrasonic Range Finder ===== | ===== Ultrasonic Range Finder ===== | ||
- | {{:gallery:srf10.jpg?150 |}} | + | {{ :gallery:srf10.jpg?150|}} |
The [[http://www.robot-electronics.co.uk/htm/srf10tech.htm|SRF10]] range finder uses ultra-sonic waves to measure the distance of solid objects. Similar to an echo in a canyon, the range finder measures the time delay between the "ping" and the echo and then uses the delay to calculate the distance in cm. The range finder can detect object withing about a 90 degree viewing angle. Thus it is important that the ping sensor be mounted such that is can rotate to face viewers in all locations. | The [[http://www.robot-electronics.co.uk/htm/srf10tech.htm|SRF10]] range finder uses ultra-sonic waves to measure the distance of solid objects. Similar to an echo in a canyon, the range finder measures the time delay between the "ping" and the echo and then uses the delay to calculate the distance in cm. The range finder can detect object withing about a 90 degree viewing angle. Thus it is important that the ping sensor be mounted such that is can rotate to face viewers in all locations. | ||
Line 35: | Line 36: | ||
The SRF10 uses the I<sup>2</sup>C interface to communicate with the microcontroller. | The SRF10 uses the I<sup>2</sup>C interface to communicate with the microcontroller. | ||
- | ==== Datasheet ==== | + | ^ Datasheets ^ |
- | * [[http://www.robot-electronics.co.uk/htm/srf10tech.htm|SRF10 - Ultrasonic range finder]] | + | |[[http://www.robot-electronics.co.uk/htm/srf10tech.htm|SRF10 - Ultrasonic range finder]] | |
+ | |||
+ | ====== Software Development ====== | ||
+ | * [[FourPIR|Code for relaying four PIR sensor data to the PC via the serial port]] | ||
+ | * [[OnePIR|Code for relaying one PIR sensor data to the PC via the serial port]] | ||
+ | * [[TPA81Read| Code to read raw data from the TPA81 sensor to the console]] | ||
- | ===== Photos ===== | + | ====== Photos ====== |
- | ^ [[photos|Photo Galleries]] ^ | + | ^ [[photos|Photo Galleries]] ^^^ |
- | | [[Gallery-PIR|{{:gallery:dscn3002.jpg?300|}}]] | | + | | [[Gallery-PIR|{{:gallery:dscn3002.jpg?200|}}]] | {{:gallery:pirsensor.gif?150|}} | {{:gallery:srf10.jpg?200|}} | |
- | | [[Gallery-PIR|PIR Amplifier]] | | + | | [[Gallery-PIR|PIR Amplifier]] | PIR Sensor | SRF10 Range Finder | |
+ | | {{:gallery:thermopile.jpg?200|}} | | | | ||
+ | | TPA81 Thermopile Array | | | | ||