When I was putting together the DIY Engine Monitor, Captain Phil from Nautical Sun said "when are you going to make us both battery monitors?" So in this episode we set up a ESP32-E Firebeetle 2 to be able to provide voltage, current flow (draw or charge) and temperature monitoring for my 3 batteries - House 1, House 2 and Start. The device will run a program based on SensESP from the Signal K team and interface with my Openplotter system on my boat Raspberry Pi. In addition, Captain Phil doesn't have a Signal K system on board so we will be providing a NMEA 2000 output where he will be able to see it on his Raymarine Axiom MFD.
The data that the device will provide is as follows:
• For Each Battery
○ Voltage
○ Current Draw (+) or charge (-)
○ Battery Temperature
○ State of charge
○ Manually inputted data for NMEA2000 battery identification (Battery Chemistry, Battery capacity, etc)
The device will output the following sentences, for each battery (if Implemented):
• PGN 127506 - DC Detailed Status
• PGN 127508 - Battery Status
• PGN 127513 - Battery Configuration Status
Unfortunately, I didn't get chance to finish the NMEA2000 execution, but that will be included in the next video
The Presentation used in the video can be found here:
https://docs.google.com/presentation/d/1gUk_Dv9XsKVsI_aG6KP8dv5CLRo1A5vv/edit?usp=sharing&ouid=108443467110705163627&rtpof=true&sd=trueSV Après is a 1996 Hunter 336 Captained and Maintained by Jason and usually sailing out of Milwaukee's South Shore Yacht Club in Lake Michigan, one of the US's Great Lakes. The filming is done via GoPro's, DJI Mavic drone and iPhone and spliced together a bit hap hazardly.
Here are links to the products I used - most are Amazon affiliate links, which means I get a little commission and it cost you nothing
• Firebeetle 2 ESP32-E -
https://www.dfrobot.com/product-2231.html • Buck converter -
https://amzn.to/3Z54veM • INA219 Current sensor boards -
https://amzn.to/3EIlT1d • Waveshare CAN board -
https://amzn.to/3Kud8ew • 1-Wire Temperature sensors -
https://amzn.to/3kkkZ3f • Ceramic Capacitors -
https://amzn.to/3KjGs7s • Resistors -
https://amzn.to/3IdH7VA • 500µohm Shunt -
https://www.newark.com/vishay/wsms2908l5000jk/through-hole-current-sense-resistor/dp/27T3036?ost=wsms2908l5000jkThe code can be found on Github at:
https://github.com/Techstyleuk/SensESP_3_Battery_MonitorHere is a link to the SensESP documentation:
https://signalk.org/SensESP/pages/getting_started/And here is a link to the SensESP project template that you would need, before replacing the main.cpp and platform.io from my repository:
https://github.com/SensESP/SensESP-project-templatePlease Like and Subscribe, and drop me a comment - I love to hear from people!