Gizmo Products

Featured Product
New for 2010! USB Relay
Control your world!


Gizmo Projects

Gizmo Cart

Gizmo Cart FAQ

CG accepts Credit Cards!
CG accepts PayPal!



USB PIR Motion Detector
Passive Infra-Red Module

USBPIR Motion Detector
 
$44.99
US dollar
CircuitGizmos
 
Product #CGUSBPIR
 

USB PIR Motion Detector Passive Infra-Red Module

The CGUSPPIR module assembly is a motion detector combined with a U421. The module detects changes in the field of infra-red that it "sees", and interprets that as motion. The sensor has a range of about 20 feet. If you have a trouble area in the field of view of the sensor (such as pets walking by on the floor) you can cover part of the lens with black tape.

The PIR module performs a self-calibration on powerup that lasts up to 80 seconds. During this period it is important to provide the sensor with as little motion or change in environment as possible.

To use this device you need to set two U421 pins to output to give the PIR module power, and set one line to input to read the PIR status.

Port A bit 4 must be set to output and set low.
Port A bit 7 must be set to output and set high.

Port A bit 6 must be set to input.

Read Port A bit 6 in order to read the PIR status. The pin is normally low, motion makes it momentarily high.


For examples of detecting motion with similar setups, see:
The USBPIR Motion Detector with example code
Weekend Project: USB Motion Detector
Linux code for U401 (Make Magazine Blog)




      Other products that go well with this:
USBPIR Box  
$4.99
CircuitGizmos
 
 
Enclosure for #CGUSBPIR

Surface-mountable box for USBPIR ...more...

 
Home Domination Expresso  
$99.99
CircuitGizmos
 
 
Home Domination

USBmicro "Ultimate Espresso" Home Automation ...more...

 
CircuitGizmos CD  
$1.99
 
 
CircuitGizmos Data CD

CD containing CircuitGizmos product and project information ...more...