PIR CAMERA

A simple automatic motion-detection Digital Camera.
Kit price: $59.50AUD

This is the lowest-cost camera kit on the market!


Kits are available from Talking Electronics.

How to order:

1. Go to our secure online shop and search for your items.
2. Add each item to the included shopping cart, and then checkout!
Click HERE to start shopping

updated 27-7-06


When the sensor detects movement in a room it will take a burst of 10 photos with the digital camera. Each photo is taken at 0.5sec interval. After the 10 photos, the camera waits 3 seconds for further movement and if it is detected, the process is repeated until 80 photos are taken. 
The photos can then be downloaded to your PC (via the USB connection on the board) for viewing.

BASIC SETUP

1. Install fresh batteries
2. Turn the unit on and select DIP 1  ON  &  DIP 2 OFF
3. Place the unit in a suitable position
4. Walk away within the 30 second startup/exit timer
5. Delete the photos from the camera to clear the memory.
6. You can turn the unit off before downloading the photos
(removing the top battery will lose the photos)

Two photos of the complete kit:

      

 


Circuit diagram

 


The PIR sensor, microcontroller and digital camera

 

HOW IT WORKS

The camera module

The camera module is 640 x 480 (High Resolution). Each photo is approximately 115k.
In Low Resolution mode the photos are: 352 x 288.   The photos are approx. 35kB
The camera is CMOS and has 16Mb internal RAM, that is cleared when the battery is flat or removed. The circuit uses a step-up converter to step up the 1.5v battery to a 5v supply to power the CMOS sensor. There is also a USB chip onboard that controls the USB port for downloading the pictures to a computer with the software included on the CD.


The camera PCB is 60 x 43 x 17 mm

The camera has two different picture qualities to choose from. The High quality function allows 20 pictures to fill the memory. The low quality option will take up to 80 photos.
 

The PIR sensor module

When the PIR detects movement it will give a high output. This goes directly to the PIC chip. The PIR sensor will detect someone moving and it will pulse the chip. The chip will then pulse the line for the 'Shoot' button to automatically take 10 successive photos. If it is set up correctly it will take up to 8 sets of 10 photos of anyone that walks in front of the camera.

A PIR detector combined with a fresnel lens is mounted on a compact PCB together with an analog IC.

The PIR specifications are as follows:

Operating voltage 4 - 12V
Operating current 400mA at 5V
PIR Input Gain 68dB
Output pulse width 0.5 sec duration
Operating temperature -20°C to +50°C

· High sensitivity
· High RFI immunity
· Power-up delay 25sec

Due to the high sensitivity of the PIR sensor device, it is not recommended to use it in the following conditions:

1. Rapid changes in temperature.
2  Strong shock or vibrations.
3. Exposure to direct sunlight or automobile headlights.
4. Air from heaters or air conditioners.
It is designed for indoor use. If using outdoors, make sure to add a suitable supplemental optical filter and anti-dew protection.


Detection range may vary in different environmental temperatures and conditions.
A) in rapid environmental changes
B) in strong shock or vibration
C) in a place where there are obstructing material (e.g. glass) through which IR cannot pass within detection area.
D) exposed to direct sun light
E) exposed to direct wind from a heater or air conditioner.

The PIC chip program

The program is code protected and copyrighted by its author.

Flow chart for the PIC Chip

CONSTRUCTION
Firstly read the "operating instructions" as a good indication of your options.

Check all of the components in the kit against the parts list to make sure you have everything.

The surface mount resistors, transistors and the capacitor should be installed first on the solder side of the PCB. Solder one side of all the surface mount pads, bring each component over to the pad and re-melt the solder and position the part. you can then solder the other end of each part.

One all of the surface mount components are soldered to the board you can start with the board level components.

Solder the rest of the components on top of the board, they include the miniature electrolytic, the switches, the IC holder and the LED. you can then solder the two PCB steaks to the top of the board, for securing the Camera module. carefully insert the PIC chip into the holder.


The PIR can now be soldered the the PCB. You will have to cut the leads on the PIR to length; about 1.5cm. Use a 2cm small strip of the double sided tape to secure it to the board in place. be careful when you are handling the PIR. Do not remove the lens cover from the PIR board, as you may dirty the pyroid sensor with your finger. This will make the sensor not very sensitive.

Install the Camera module. Place the bottom corner holes on the camera onto the two PCB Pins. Be very quick when you are soldering the camera module so the pins do not de-solder themselves from the board and make your job very difficult. the camera PCB can be solder up the top of the pins, it will be the same height as the PIR lens. keep the interface board and the camera module upright on the table when you are soldering.

First solder the three wires that are coming from the camera module. start with the wire that comes from the back of the white 'shoot' button that is up the top and 90deg to the board. it goes to the hole marked 'shoot'
next solder the wire that comes from the back of the 'Mode' button, to the PCB. the last wire that is coming from the power supply section has to be soldered to the position marked 'power'.

The Red LED will illuminate every time the PIR detects movement in the viewing angle.
It does not have to be installed when you have found the detection range of the sensor, as it comes on every time it detects motion.

Now solder the three wires that are coming from the camera module. Make sure they are soldered in the right positions to the interface PCB. The camera module includes a piezo buzzer that makes a mechanical noise when taking a photo. Leave it on until you are sure it is working fine. You can then de-solder the piezo and remove it from the module.

The battery snaps are last. Cut the leads on the 4-battery holder to length. Strip and tin the ends of the leads and solder them to the PCB. Apply a 4cm strip of double sided tape to the back of the battery snap and stick it to the back of the PCB lined up with the bottom of the board.

The leads on the single battery snap are cut to length approx 1.5cm.
Solder them to the bottom of the pins on the PCB make sure the polarity is correct.
You may damage the camera if it is the wrong way around.
Use a 4cm length of double sided tape to secure the battery snap.

The camera module is now complete. Wait to test that the whole module is working before you heat shrink the project.

 

instructions about desoldering the USB plug on the board. so that it will fit into the enclosure

instructions about adding IR infrared LED's for 'Night Vision'

OPERATING INSTRUCTIONS

 

When first powered up, thing angle to set up the PIR. The PIR detects the movement of body heat. It may not detect small animals at about 40Kgs and smaller. This may be an advantage to stop false alarms.

The Sensor will always be on when you turn the unit on. It has a very low current drain when it is in waiting and waits 35 seconds for the PIR to calibrate. It will study the area in the view for movement. The batteries will last about 100 hours of use. Even if the batteries go flat, the camera will still retain its photo memory as it has its own battery. This battery will last for about a month. (the single cell will eventually go flat)
The Red LED will light when the PIR detects movement. This is a great benefit when experimenting with angles and ranges of the detector.
Put a small piece of black electricians tape over the red LED if it is too obvious. Don't forget when it is night time, it will be really obvious.

The DIP switches are: Delay DIP burst mode and slow mode, and Quality DIP: 20 High and 80 Low photos

If the piezo is installed, you will hear a series of 7 beeps when the camera is going trough the setup process. This will get the camera into the low quality mode.  The piezo is a good indication that the camera is taking a photo as it make a mechanical noise every time a photo is taken.

Downloading the photos is as easy as connecting the camera to your computer with the USB lead, installing the software and pressing 'download' in the program.

Get a battery tester for testing the AAA cells. This will ensure you know the batteries are fresh.
You can use rechargeable cells with a solar panel to keep the camera operating for a longer period of time.

 

 list of menus of the camera module when it is setting up in LOW resolution mode


there are 7 options in the MENU the Menu button will scroll through them and the SET button will select
either of the two options

 

Use the template above as a cutting guide to hide the unit inside or behind an object. The holes include 3mm for the camera lens and 18mm for the PIR sensor lens. A slot can also be cut for the ON/OFF switch and a hole for the red LED.

SPECIFICATIONS:
Sensor distance: 5-10metres
Sensor angle: 60°
Camera sensor CMOS 1/10 megapixel (100k pixels)
352 x 288 pixels
Power : 4x AAA (lasts 100 hours)
Camera Power: 1 x AAA (lasts 1 month)
Unit Size 5cm(W) x 6cm(L) x 3.5cm(h)
 

scanned digital camera instruction manual
Click to Download





 

PARTS LIST
au$59.50 plus $4.50 post
us
$47.50 plus US$6.50 post
How to order:

1. Go to our secure online shop and search for your items.
2. Add each item to the included shopping cart, and then checkout!
Click HERE to start shopping

20-07-06

7 - 10k resistors surface mount
1 - 100n capacitor surface mount
2 - BC848 transistors surface mount

1 - 3mm Red LED
2 - 1N4148 diodes
1 - 100u electrolytic surface mount
1 - 8 pin IC socket
1 - Pre-programmed PIC Chip
      (60Hz for USA   50Hz for Aust.)

1 - 2 way DIP switch
1 - Slide switch SPDT

2 - PCB stakes
1 - 4 x AAA battery holder
1 - 1 x AAA battery holder
5 - AAA batteries
1 - Heat-shrink tubing
1 - 10cm thin, slim, double sided tape

1 - Camera Module PCB with Pre-
             soldered leads
1 - USB Lead
1 - software CD
1 - Instruction manual

1 - 5v Mini PIR Module
1 - PIR Camera Interface PCB