← Back to Home

Electric boat monitoring system

PROTOTYPE

Tasks :

checking the presence of external 230VAC power supply connected to the boat when docked, and sending SMS to specified phone numbers if it disappears :

  • if there is no external 230VAC power, batteries are not charging,
  • if external 230VAC power is restored,
  • battery voltage beyond lower or upper threshold limit for any battery pack,
  • temperature beyond upper or lower threshold limit for any sensor (battery compartment temperature, cabin temperature, outside temperature, number of sensors expandable),
  • determination of GPS position data,
  • remote update capability via SMS sent from phone (setting data, operating logic, thresholds, etc...),
  • Remote program update capability (from FTP storage),
  • Saving measured data records to SERVER SQL database (max. 1023 bytes/send) :
  • by uploading to FTP, or
  • by HTML POST request.

Content of the sent SMS :

  • timestamp,
  • presence of 230VAC (0-1),
  • current battery voltage values,
  • current temp. values,
  • current GPS position.

Implementation :

  • ESP32 WROOM32D processor,
  • sensing of 230VAC voltage :
  • without wire breaking with SN74LVC14, in a separate box, (or with 5V mains supply),
  • measurement of battery pack(s) voltage (in 0 ... 70V range) with ESP32 calibration
  • with refined 12-bit internal AD converter, with HC4051 multiplexer, (multiple voltage measurements),
  • temperature measurements with DS18B20 1-wire temperature sensors, mounted with 1 and 5 m cables,
  • SMS sending with SIMCOM7670E modem,
  • GPS position with SIMCOM7670E modem.

Operation :

  • The ESP32 is in LIGHT SLEEP (program continuation and retention of ESP RTC data),
  • the modem is in Rx SLEEP (wakes up on incoming call and wakes up the ESP32),
  • the processor wakes up at adjustable intervals :
  • measures voltages (sends SMS upon threshold crossing, max. 1 per day!),
  • measures temperatures (sends SMS upon threshold crossing, max. 1 per day!),
  • determines the presence of 230VAC, if the change was stable even after an adjustable number of wake-ups, it sends an SMS,
  • if automatic program update was enabled, it connects to the FTP server at set intervals, and if there is a newer program version enabled for it (serial number, hardware version, software version match), it updates its own program.

© 2026 DevProt Engineering