Overview - DangarStu/Farm-Data-Relay-System GitHub Wiki
Project purpose
The main goal of this project is to drink wine with our mates. In addition to this we hope to make a hardware device that can be installed into everything from a small tinny with no battery or rain protection to a large motor cruiser with a dry cabin and 1KW of solar. Boats with 1.1KW of solar are currently out of scope.
It is the purpose of the device to protect the boat from harm. For example, by monitoring the boat's battery banks and sending an alert to the owner when the battery gets below a configured voltage you he or she can be sure that the fridge never turns off and the beer gets warm. This can also be useful to ensure that the bilge pump remain operating and the boat doesn't sink.
- Voltage: The device should have the ability to monitor at least three battery banks. Each monitor circuit voltage divider should have a dip switch to select between 12 or 24 volts.
- Continuity: Our primary use case for this is bilge alarms. This is a float switch that sits above the bilge. Another use case would be things like magnetic reed switches on doors for a security alarm.
- Current: This can be used for bilge pumps to monitor how often they are coming on to monitor leaks as well as seeing if the bilge pump is failing or blocked up with debris (current draw will go up with the extra resistance of a blockage to the point where a complete blockage will often blow the fuse). I can see the need to monitor ten or more circuits for current draw to better manage things like networking, refridgeration, AIS etc that are always on. Current monitoring can also be used to monitor current coming is such as from a solar array.
- Geofencing: Boats occasionaly disappear. Sometimes through theft, but mostly through dragged anchors and broken mooring lines. A notification should be sent when the boat moves out of a defined radius.
If a boat doesn't have a battery then it can't have a bilge pump. This essentially rules out 1. and 2. leaving on geofencing. This is a highly unlikely scenario and can most likely be considered out of scope.
It would not hurt for the device to have it's own battery that charges from the boat's battery, however, to allow it to continue to send alert notifications after the boat's battery has gone flat.
There are two main classes of data the system must handle.
- General monitoring: This is historical data of battery voltages, boat location, bilge pump duty cycle etc.
- Alerts: These are push notifications when the battery voltage drops below a certain level, the bilge pump stays on for more than a certain amount of time or the boat leaves its defined geofence.
Regardless of how the notifications are delivered, they should all be sent to the owner's phone as an alert.