BoatMonitor
Dock Monitor
Single Pi based.
MCP1525 voltage reference (primarily for ADC, also used for CDS
MCP3008 ADC
CH 0 - Air temp
CH 1 - Water Temp
CH 2 - CDS Input
CH 7 - Onboard Temp Sensor
PIR Motion Input
LED Status Monitor
Input on GPIO pin (20)
Light control output
GPIO pin (21)
Script for monitor:
~/john/scripts/cam_wrapper -debug -task -loop 20
This is run from: ~/john/www
The script reads the misc. A2D ports, takes a picture, and then updates the web page.
Web server is linked to /var/www/html -> /home/pi/john/wwww
Raspberry Pi Based Monitoring system for boats.
Things to monitor:
Air temp in cabin
Heat lamps
Battery 1 voltage
Battery 2 voltage
GPS
Location
Speed
Motor run time
Motor temp
Bilge Pump activity
Web Cams
A Pi will be used as the central hub of the system. It will host the web page providing stats from the system and web cam images updated periodically and archived to the flash drive.
Misc notes:
Update - 12/3/2016
System may be based strictly on one or several Raspberry Pi's.
MCP3008 ADC can be used with Pi to provide Analog input.
Wireless network connection can allow one Pi in the Engine compartment, a second in the main cabin, and possibly a 3rd on the Arch for web cam images.
Unix Sockets over wifi can be used to transfer commands / data between the Pi's.
Arduino Sensor Network
Modified single wire RS-232 interface
TX output goes through diode to pull up (down?) resistor, then wraps back to RX.
SIngle wire tied to all units.
Three wire connection to all units
Mini (1/8") audio jack connection.
Power, ground, signal
Provide 3 paralleled jacks on each box to interconnect modules.
Use resistor ladder to select voltage input for sensor ID
Development plan
Start with Pi
Set up web page through hot spot using NGROC
RS-232 feedback
Connect first Arduino
Set up analog voltage input(s)
Set up temp input
Set up AC switch
Plan generic Arduino module
Layout board for generic Arduino module
Make cases