RPi Baby Monitor (WIP)
This project is a fork of the RPi Cam Web Interface. It adds an IR LED array that allows low light operation and is controllable via web interface. Most of these parts were sponsored by Newark / Element14 - thanks guys!
|Raspberry Pi board (tested on B2 v1.1)||$40|
|Noir camera board||$25|
|USB wifi dongle||$12|
|12v power supply||$12|
|IR LED array||$4|
|12v to 5v buck||$6|
|N-Channel MOSFET (overkill)||$1|
|10k resistor, misc wire||$0|
- Download and install NOOBS
- Enable SSH
sudo apt-get install lsb-release
- Confirm OS code name. I have only tested this code on Jessie.
- Attach and test camera
- Install and test WiringPi
git clone https://github.com/TaylorHokanson/RPi_Cam_Web_Interface.git
chmod u+x *.sh
A Note About GPIO
Wiring RPi GPIO pins can be confusing. This code runs in BCM mode and works for the RPi model I tested. You should see this explanation for tips on how to verify which numbering system your RPi requires. You can change the pin that controls the IR array by modifying ledon.php and ledoff.php in the www folder.
If you have access to a laser cutter, you'll find the housing I designed in the media folder.
- Enter RPi IP address into a browser and navigate to HTML the folder.
- Toggle camera start/stop with the GUI button. Every time after the first press, this button will activate the camera and IR array for 10 seconds, then turn itself back off. This duration can be modified by changing the
sleep()duration in ledoff.php.
Right now my camera only gets about 1fps over wifi. I tried these steps but had no luck. Wired Ehternet works much faster (with occassional choppiness) but is not possible in all situations. Drop me a line if you figure out a workaround!