Please note that this is a DIY camera, not a commercial product. We have done our best to make the instructions easy to follow, but there are some fiddly steps and it may take some experimentation and tinkering to make things work.
The parts you need to make the camera can be ordered from online retailers or bought in electronic hardware stores. Follow the links below to find out more about each part, some links lead to retailers but you may need to shop around to find the best deal for each part. Prices can vary considerably, but it should be possible to source a complete infrared kit for around £40.
- Raspberry Pi Zero W
- Infrared Camera Module for Raspberry Pi Zero* (examples)
- USB Power Bank/Battery (ideally over 12000mAh in capacity)
- USB charger for charging the power bank
- 16GB (or greater) Micro SD Card**
- Micro USB cable
- A metal bolt, nuts and washers (ca. M6 size) to use as a heatsink
Tools and Accessories
- Computer with Internet access
- Smartphone or Tablet (optional)
- Micro SD Card adaptor or
External Micro SD Card reader
- Super glue
- Sticky Pads
- Blu Tack / Sugru
- Silica gel pouches
- Bait (optional)
- Scissors (optional)
- Hot glue gun (optional)
- Waterproof container such as a food storage box (optional)
- Large plastic drinks bottle for use as a lens shield (optional)
* There many different versions of infrared camera modules for Raspberry Pi on sale, be sure to get one with a cable compatible with Raspberry Pi Zero W
** Please Note: Some retailers supply SD cards in bundles the have a operating system called NOOBS preinstalled. This is not the right software for the cameras, and will be deleted automatically when you install the My Naturewatch Camera software on them (steps 1 -5 below).
There are six stages to making a My Naturewatch Camera.
- Download the Software. The camera software needs to be installed on the SD card from the Internet. The Raspberry Pi Zero will read the software from the SD card to become a My Naturewatch Camera.
- Assemble the Electronics. Here you will attach the camera to the Pi Zero. It's a little fiddly, but with patience you'll manage.
- Name Your Camera. You can give your camera its own name and password.
- Test Your Camera. Now you can power up the camera and see if it works.
- Make the Camera Housing. Assuming you have a working camera, it's time to make a weather-resistant housing from household materials.
- Assemble the Camera. Finally, you're ready to fix the camera inside the housing and try it out!
The whole process should only take 60 - 90 minutes.
Download the Software
Copy the camera software to an SD Card (up to 1 hour). This software contains the operating system for the Pi Zero and an application that controls the camera. This bundled software is often referred to as a ‘disk image’.
Downloading the software and installing it on the SD card can take a while, depending on things like the speed of your internet and the computer you’re using. You can skip to Step 7 and continue working through the ‘Assembly’ and ‘Housing’ sections while you wait for actions in steps 1-6 to complete if you like.
1. Download the disk image (a 4.5 GB file) from the following link (up to 1hour download depending on the speed of your connection): http://interaction.gold.ac.uk/naturewatch-cam-v0p4p2.img
2. Take note of the location where the disk image is being saved on your computer.
3. Download an application called ‘Etcher’. This will copy the disk image to the micro SD card safely and easily (note: Etcher refers to the process of copying the disk image as 'flashing the drive').
4. Insert the Micro SD Card into your computer - using a micro SD Adaptor (your laptop may have a built-in SD Card Reader), or an External Micro SD Reader
5. Using ‘Etcher’ software - select the disk image as ‘Image’ and the Micro SD Card as ‘Drive’, then press ‘Flash’. This step takes around 15 minutes. (Helpful Tip: the time can be shortened by deselecting "Validate write on success" in the Etchers settings menu, found by clicking the cog on the top right of the app)
Note: After Etcher has 'flashed the drive', Windows based computers will sometimes ask if you would like to format the SD card. If this happens, click 'no', otherwise the software will be deleted.
Assemble the Electronics
6. Make sure your USB Power Bank is fully charged by plugging it into the mains via its cable and plug. Most batteries have LED lights to indicate level of charge
The camera connector is very fragile, so take care on this step!
7. To attach the Camera Module to the Pi Zero: Unclip the black locking strip away on the white camera connector on on the Pi Zero - it should move outwards by 1mm and feel loose. Now insert the Camera Module ribbon under the black strip and into the white connector - the metal side of the camera ribbon should face toward the green board. Secure the ribbon by re-clipping the black strip towards the white connector.
If the connector breaks, you can hold still use hot glue or tape (not superglue) to hold the cable in place – but its best to be gentle and patient to avoid breakage.
8. Our low-tech solution for dissipating heat from the processor is to Super Glue a metal bolt to the large black square chip on the Pi Zero. Add nuts and washers for even better cooling. We have found the a flat headed bolt, around M6 x 25mm is size works well.
More advanced users may prefer to use specialist heatsinks and thermal compound instead, but we have found the low-tech version works just as well.
The ribbon cable can easily detach from the PI Zero. We recommend mounting both to a piece of card to protect the connection.
9. Take a stiff piece of card appropriate in size to the container you plan to house the camera, in this example we have used a piece that measures 65 x 100 mm.
Use double-sided sticky pads to mount the Raspberry Pi to the card, here we have mounted it offset to the centre to allow space for the USB power lead.
Carefully fold the camera cable ribbon cable at its narrowest point around the top of the card, remove the protective layer of the sticky tape that is factory mounted on the back of the camera, and stick to the other side on the card.
Tip: If you plan to use a large container, the Raspberry Pi and camera can all be mounted to one side of a piece of card.
NOTE: Daylight standard camera shown in images above
Rename Your Camera
The My Naturewatch Camera creates it's own wireless network allowing you to control it through a web browser on any smart phone, tablet or computer connected to it. Here you can change the name of this wireless network or if you are happy with a default name of 'MyNaturewatch' skip to step 13 .
10. View the contents of the ‘Micro SD Card’ on your computer by selecting 'boot'.
11. In 'boot', open ‘naturewatch-configuration.txt’. Tip: You may need to eject the Micro SD Card and reinsert it again before you can view the contents
12. The Name and Password of your Camera can be edited by rewriting the appropriate lines which are by default ‘MyNaturewatch’ and ‘badgersandfoxes’ respectively, or can be left as these default names. Save the file.
Note: 'Connect to home network' is for a future feature.
Test Your Camera
13. Insert the ‘Micro SD Card’ into the silver socket on the Pi Zero - the metal side of the SD Card should face toward the green board.
14. Power the assembled Unit by connecting the USB Power Bank to the Pi Zero. The LED on the Pi Zero will illuminate when successfully powered. The small end of the USB cable plugs into the ‘PWR’ port on the end of the Pi Zero closest to the camera. The large end of USB cable plugs into the USB battery (or any USB power source).
15. Allow 60 seconds for the Pi Zero to boot up. The green light on the Pi Zero will flicker to indicate processing. Once the system has started, a red LED on the Camera ribbon cable will light. If the red LED does not light, it is likely that the camera ribbon cable is not correctly seated in the Pi Zero and so repeat step 7.
16. On a smartphone, tablet or computer connect to the camera's wireless network. The wifi network name with either be 'MyNaturewatch' or the unique name you gave it in step 12. The wifi password will either be 'badgersandfoxes' or the unique name you gave it in step 12.
17. Once connected with your device, open any internet browser and visit the following webpage to access the camera interface:
You should see the live preview feed from your camera along with the following simple control buttons: Start Image Capture, Image Gallery and Settings.
Tip: if your browser rejects the URL try entering the My Naturewatch Camera IP address instead: 192.168.50.10
Find more information about the web interface in 'Using My Naturewatch Camera'.
Make the Camera Housing
Please note that the following instructions are for the Daylight camera. The night camera features infrared light units either side of the camera lens which need to be considered when making a housing. The infrared light units illuminate the subject with non-visible light and so it is important not to occlude this light with your housing.
The camera works best if the lens is not behind the housing material, no matter how clear that may seem. We drill a hole in our housing and use a cover to protect the lens.
18. Pierce a hole in the side of a tall Food Storage Box, at a height that accommodates the Camera lens. The hole should be about 10mm in diameter, and can be made roughly with scissors, or accurately with a drill.
19. Cut around a Plastic 2Bottle with scissors to form a lens cover. Position the bottle opening around the Camera Hole of the Food Storage Box and attach with Sugru, Blu Tack or a hot glue gun.
Assemble the Camera
20. Tape the Cardboard camera mount inside the Tupperware, with the lens positioned to look through the hole you drilled, and place the attached Battery Pack inside. Tip: a pouch of silica gel will help any absorb moisture in the container.
21. Seal the lid - you now have a weatherproof myNaturewatch Camera!
Tip: Unplug the battery when you’re not using the camera to save power
22. Please go to the Using Your Camera page for instructions about how to set your camera up.
Make sure to read through the steps above and do not forget to read the Using Your Camera page.
If you're having technical problems, please try to find the answer in our Frequently Asked Questions page.
If you don't see an answer that helps, you can ask for and search for technical solutions at the My Naturewatch Discussion Forum.