6Raspberry Pi data logger, http://neilbaldwin.net/blog/weather/raspberry-pi-data-logger/, November 2012
7Raspberry Pi Solar Data logger, http://www.briandorey.com/post/Raspberry-Pi-Solar-Data-Logger.aspx, July 2012
8Home Solar PV and Water Current Report, http://home.briandorey.com/, November 2012
9PiEye – streaming webcam in JPG format with Raspberry Pi, http://www.bobtech.ro/tutoriale/raspberry-pi/78-streaming-webcam-in-format-m-jpg-cu-raspberry-pi, September 2012
10PiEye, http://pieye.dnsdynamic.com:8080/?action=stream, November 2012
11University of Cambridge – Computer Laboratory: Raspberry Pi Temperature Sensor, http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/temperature/, November 2012
12Raspberry Pi – Camera board, http://www.raspberrypi.org/archives/2555, November 2012
13YouTube - Raspberry Pi Camera, http://www.youtube.com/watch?v=8N7kgtL0-Ts, November 2012
14Raspberry Pi – Guest blog #7 Bird table webcam by Francis Agius, http://www.raspberrypi.org/archives/2504, November 2012
15Raspberry Pi – Bird table webcam, http://www.raspberrypi.org/wp-content/uploads/2012/11/Robin.avi, November 2012.
16Assembled Gertboard for Raspberry Pi – Element14, http://www.element14.com/community/docs/DOC-51726/l/assembled-gertboard-for-raspberry-pi, January 2013
17Raspberry Pi + Temperature Sensors, http://monirulpathan.com/afterhours/raspberry-pi-temperature-sensors/, September 2012
18Simple ADC with the Raspberry Pi, http://scruss.com/blog/2013/02/02/simple-adc-with-the-raspberry-pi/, February 2013
19My Raspberry Powered Garage Monitor, http://brianhanifin.com/2012/11/raspberry-pi-garage-monitor/, November 2012
20Assembled Gertboard for Raspberry Pi, http://www.element14.com/community/docs/DOC-51726/l/assembled-gertboard-for-raspberry-pi, January 2013
21Microchip MCP3002 user manual, http://ww1.microchip.com/downloads/en/DeviceDoc/21294C.pdf, April 2013
22Microchip MCP 3004/8 user manual, http://ww1.microchip.com/downloads/en/DeviceDoc/21295d.pdf, April 2013
23Home Solar PV and Water Current Report – Gas and Electric meter readings, http://home.briandorey.com/meter/default.aspx, April 2013
24Motion – Web Home, http://www.lavrsen.dk/foswiki/bin/view/Motion, February 2011
25Data Loggers | Datalogging | Data Acquisition | Datalogger - http://www.loggershop.co.uk/, April 2013
26CnM Secure Wireless Camera Kit at Argos.co.uk - http://www.argos.co.uk/webapp/wcs/stores/servlet/Browse?storeId=10151&langId=110&catalogId=23051&mRR=true&q=CCTV&c_1=1%7Ccategory_root%7CHome+and+garden%7C33005908&r_001=3%7CCamera+type%7CCMOS+wireless%7C1, April 2013
27Raspberry Pi - http://www.raspberrypi.org/, April 2013
28TSL250R-LF – TAOS – PHOTODIODE, SENSOR, L/VOLTS, http://uk.farnell.com/jsp/displayProduct.jsp?sku=1182346&action=view&CMP=GRHB-FINDCHIPS1-1004321, April 2013
29TMP36 – Temperature Sensor – SparkFun Electronics, https://www.sparkfun.com/products/10988, April 2013
30Microsoft Webcam: LifeCam VX-800 | Microsoft Hardware, http://www.microsoft.com/hardware/en-gb/p/lifecam-vx-800, April 2013
31RPi VerifiedPeripherals – eLinux, http://elinux.org/RPi_VerifiedPeripherals, April 2013
32TMP36 Datasheet and product info | Voltage Output Temperature Sensors, http://www.analog.com/en/mems-sensors/digital-temperature-sensors/tmp36/products/product.html, April 2013
33RPi VerifiedPeripherals – eLinux, http://elinux.org/RPi_VerifiedPeripherals#Working_external_Battery_packs_.28with_5.C2.A0V_regulated_output.29, April 2013
34RPi VerifiedPeripherals – eLinux, http://elinux.org/RPi_VerifiedPeripherals#Working_USB_Wi-Fi_Adapters, April 2013
35Raspberry Pi – Wikipedia, http://en.wikipedia.org/wiki/Raspberry_Pi, April 2013
36MadgeTech Temp101A – Miniature Temperature Data Logger, http://www.loggershop.co.uk/madgetech/temp101a-temperature-data-logger/prod_532.html, April 2013
37Gertboard Kit – Fully Assembled, https://www.modmypi.com/raspberry-pi-fully-assembled-gertboard, April 2013
38Raspberry Pi Cobbler GPIO Super Starter Kit, http://www.ebay.co.uk/itm/Raspberry-Pi-Cobbler-GPIO-Super-Starter-Kit-Breadboard-Cable-LEDs-Switches-/181071750824, April 2013
39Pi-Face Interface for Raspberry Pi, http://pi.cs.man.ac.uk/interface.htm, April 2013
Appendix A Source code for FFServer.conf file
This appendix provides the source code for the ffserver.conf file; it contains the information used for the network stream of the webcam and allows configuration of the ffserver, this configuration results in an mjpeg stream with a resolution of 352x288. The file is used when running ffserver.
Port 8001
BindAddress 0.0.0.0
MaxClients 10
MaxBandwidth 50000
NoDaemon
file /tmp/webcam.ffm
FileMaxSize 10M
Feed webcam.ffm
Format mjpeg
VideoSize 352x288
VideoFrameRate 10
VideoBitRate 20000
VideoQMin 2
VideoQMax 31
Appendix B Source code for installation file
This appendix contains the source code for the installation.py file which is used to retrieve the Python modules and software required for the program.
#********************************************************************#
# Name: installation.py #
# Description: Python program for installation of the Python modules/software required for logger.py file #
# OS: Raspbian #
# Author: Scott Cairns #
# Notes: Used with the User Installation Guide #
#*************************************************************************#
import os # import os to use for system calls
import time # for sleeps
print 'WARNING: This could take a while, installing latest packages may take a while'
print 'FFMPEG will take a while to compile'
time.sleep(2) # give time to read warning
os.system("sudo apt-get update") # download latest package list showing new versions of packages
os.system("sudo apt-get upgrade") # install the latest versions
if not os.path.exists("logger"): # check if the logger path doesn't exist
os.makedirs("logger") # if so, create it
os.system("sudo apt-get install python-dev") # install Python dev module
os.system("sudo apt-get install python-rpi.gpio") # install gpio module
os.system("sudo apt-get install git") # install git
os.system("git clone git://github.com/doceme/py-spidev") # clone the github files
os.system("wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz") # get the compressed file
os.system("tar zxvf setuptools-0.6c11.tar.gz") # get setuptools module (req'd for eeml install)
os.system("wget -O geekman-python-eeml.tar.gz https://github.com/geekman/python-eeml/tarball/master") #get EEML module
os.system("tar zxvf geekman-python-eeml.tar.gz") # extract it
os.system("git clone git://github.com/gvalkov/python-evdev.git") # clone github files
os.system("sudo apt-get install fswebcam") # get fswebcam
os.system("sudo apt-get install uvcdynctrl") # get uvcdynctrl
print "Complete! Consult the user installation guide to proceed"
Share with your friends: |