Skip to content

An Arduno M0 (hence the M0) Boat Monitoring solution

License

Notifications You must be signed in to change notification settings

gregcope/M0BoatMon

Repository files navigation

ABoatMon

A Moteino M0 (hence the M0) Boat Monitoring solution!

Intro

A reimplementation, and extension of https://github.com/gregcope/piboatmon, as the original consumed too much power. This is designed with the following goals;

  • Be very, very low power
  • Chargable from 12-24V
  • Has a rechargable LIPO battery

The present version is made from COTS parts to make life easy at the deign/proto stage. However the code should be transferable.

Parts

External Libs

  • Tinygps++ - A class to deal with GPS
  • Lowpower - A class to help with Sleep modes
  • Eeprom - Save Eeprom state
  • OneWire - DS18B20 Temp sensor lib

Internal Classes

  • Device - A base, or standlone class to control power to devices via a Digital pin
  • Config - A class to provide a config object to store Eeprom state
  • CRC8 - CRC checksum (for config saving)
  • Sleep - Simple wrapper to LowPower sleep

High Level Logic

  • Switches is on setup configures all the required parts
  • Loop every 8 secs and checks;
  • Bilge switch
  • Every 4 mins checks the batteries
  • and if above 13.7v (ie charging) enables the onboard lipo charger
  • Reports bilge switch or low BatV
  • Every Hour;
  • Checkst the above
  • Checks location
  • If any of the above are out of band;
  • Send a message

HowTo

  1. Open a command terminal, and change cd to where your Ardunio IDE stores code cd Documents/Arduino
  2. Clone the repo git clone https://github.com/gregcope/ABoatMon.git
  3. Open Ardunio IDE and open ABoatMon.ino

http://arduino.stackexchange.com/questions/348/how-to-organize-my-arduino-projects-structure-for-easy-source-control

About

An Arduno M0 (hence the M0) Boat Monitoring solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages