RPi Baby Monitor (WIP)
PHP Shell Other JavaScript Other
Pull request Compare This branch is 12 commits ahead, 30 commits behind silvanmelchior:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
etc
media
www
README.md
RPi_Cam_Web_Interface_Installer.sh
cam.sh
install.sh
installreadme.txt
remove.sh
start.sh
stop.sh
update.sh

README.md

project photo

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!

BOM

Part Cost
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
Total $100

Installation Instructions

  1. Download and install NOOBS
  2. Enable SSH
  3. sudo apt-get install lsb-release
  4. lsb_release -a
  5. Confirm OS code name. I have only tested this code on Jessie.
  6. Attach and test camera
  7. Install and test WiringPi
  8. git clone https://github.com/TaylorHokanson/RPi_Cam_Web_Interface.git
  9. cd RPi_Cam_Web_Interface
  10. chmod u+x *.sh
  11. ./install.sh

Schematic

Schematic

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.

GPIO

GPIO Connect To
2 5V
6 Ground
26 MOSFET

Housing

If you have access to a laser cutter, you'll find the housing I designed in the media folder.

Usage

  1. Enter RPi IP address into a browser and navigate to HTML the folder.
  2. 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.

Next Steps

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!