Sure, First Check out this video (ruclips.net/video/MREGixRx_No/видео.htmlsi=I-w3x6yvaaGBUOEp) which shows Nautical Sun's Battery Monitor which is NMEA2000. Here is the schematic - 1drv.ms/b/c/6896e61bdafa6366/ETL99No8p6NIq2AWwZbIWWsBolpyvXo3xC7vL41XQUxJDw?e=op18sO. There is basically 4 pins, Power (3.3V), Ground, CAN TX and CAN RX. I connected CAN RX to Pin 17 (D10) and CAN TX to Pin 16 (D11). They are declared like that in the software that is on my Github Site (github.com/Techstyleuk/SensESP-NMEA2000-Battery-Monitor). Hope this helps?
Hi Jason, Thanks for sharing a lot of valuable video. I appreciate your work! By any chance, would you share the power point presentation you are using in the video?
I just added a link to the description and here it is: docs.google.com/presentation/d/1gUk_Dv9XsKVsI_aG6KP8dv5CLRo1A5vv/edit?usp=sharing&ouid=108443467110705163627&rtpof=true&sd=true
Just found your channel and appreciate it greatly, both content and production. About to start my project and a new channel for my sailboat; looks like a huge part of the work is already done for me -- except I'll be using 24v LFP, a 21 HP Westerbeke diesel and a pair of DIY electrified and air-powered old 6 HP outboard conversions with variable pitch props. Eventual goal is a boat pet that comes when I call and knows how to get to the next location when I ask it to and anchor effectively built of mostly recycled and repurposed parts. Looking forward to going through your github content. Many thanks. (Also appreciate your channel's name as a deeply philosophically meaningful outlook on life quite similar to my own. Cheers.
Sounds like an awesome project!! let me know if you see anything on my Github you are unsure of. I have a another project coming up when I get chance with some automated switches.
@ApresSail I didn't understand why you removed the R100 resistor (0,1 ohm) and replaced it with a 10 ohms resistor ? Why you didn't use the 2 holes on both side of the old R100 resistor ?
The R100 resistor is a current shunt connected between the 2 pads. its resistance is much too high for what we need - it would give a 50mVolt drop with 0.5A of current, we need a 50mV drop for 300A current - so we use the external shunt. What we added to the same pads was a capacitor and then resistors coming from the signal lines, these components are optional but providing some filtering on the signal to make it more stable
@@ApresSail Ok. What do you think of the ACS712 & ACS758 (Hall Effect sensor, up to 5-20-30A & 50A). Is it suitable for our boat battery packs ? (my setup is 2x2 12V 108ah, in parallel)
I have a starter battery and 2 x 120Ah house batteries and when I crack the engine I can see a peak of 46A. When using my inverter and K-Cup coffee maker I can see 70A from one of the house batteries (it is connected directly using big cables). If I was to use the devices you suggested (and I haven't done the research) check the specs carefully and go for the 50A or more, depending on your needs. Also check there is a ESP32 library for it
@apres I'm curious how I could set this up so that I can remotely monitor batteries when I'm away from the boat. Any thoughts? I have a pi5 with open plotter and a McArthur hat.
I have not done it but ESP32's can be set up to wake and sleep for certain periods, so you could set up a LoRa node or Cellular Module to transmit data from the boat.
I can't do it in the comments but I just updated the Github page at: github.com/Techstyleuk/SensESP_3_Battery_Monitor with 2 pics, I hope that helps. the shunts were smaller than expected, I didn't really look, I assumed the connection was going to be a standard battery terminal and it isn't. I am either going to mount these or buy something else. Vishay do one with bigger holes or there was one at Aliexpress that was mounted
Thanks!Awesome project,I don't have NMEA2000 but Seatalk (first version), which canbus can I use? thanks for help and taking the time to share your projects.......
No problem! if you have Seatalk 1, then you can connect it to your Raspberry Pi via an Opticoupler and be able to decode it. Take a look at my Tech Episode 2.
Hi Jason, nice detailed video, as usual. Are you actually writing all the code yourself? If so, Kudos to you, that is a fair amount of work. Quick question: The buck converter you are using could that power a small 5V bus bar? I am trying to find a clean way to provide 5V for all my 5V components (RPi, likely a McArthur hat, small computer accessories). What is your solution on s/v Après? Cheers, a.
the buck converter I use is 3A and I use one for the RPI, with several peripherals, but then attached I have a 12V powered USB hub with 4 ports for extra RPI connections and a 2.4A power USB that you could power the RPI with, if you wanted too (amzn.to/49baLGN). I have a second hub at the helm for Maiana and the touchscreen. I thought the MacArthur Hat took 12V supply and provided safe shutdown, similar to the circuit that I use. Couldn't you just use that?
@@Coyotehello like I said, I would either use a 12v USB Hub - then every peripheral is locally powered - the one I use is up to 24watts. I have GPS dongle, RTL-SDR, RS422-USB (NMEA0183), wireless KBRD/mouse dongle and 10" Navstation touchscreen on one, Maiana and the 15.6" Screen touchscreen on another. with regard to the code, I wrote it with help from many examples and the literature for SensESP from Matti Airas - github.com/hatlabs/
Slightly disappointed that you didn't use a hall effect current sensor instead of the shunt, but nevertheless, a much better than the average YT marine-electronics video.
The Hall effect versions are more expensive than the Shunt version, and the 50mv loss is not a big deal really. For other viewers can you think of other pro's and cons of Hall vs shunt?
bonjour est il possible de monitore 4 batteries avec votre système en rajoutant un module can bus car j'ais un parc batterie de 3 x 4 batteries a regarde sur home assistant vidéo simple efficace merci beaucoup 👍👍 france bretagne Kenavo Good morning is it possible to monitor 4 batteries with your system by adding a can bus module because I have a battery bank of 3 x 4 batteries looked on home assistant simple effective video thank you very much 👍👍 France Brittany Kenavo
The INA219 voltage/current sensor board has 4 possible addresses which means 4 can be used on one I2C bus, so you could monitor up to 4 quite easily. Over 4 you could use a multiplexer (amzn.to/49cVGoY) or there is a INA3221 which will do 3 batteries each and 4 addresses (12 batteries total) - amzn.to/3MoASRv. You would have to make some code adjustments but just using 4x INA219 would be mostly copy and paste from my code
@@ApresSail Thank you for answering my question so quickly because I have 12 batteries to look at and see the balancing of such a park is important to have good solar autonomy you just gained a subscriber Kenavo
Thanks, man. Your projects are awesome. Pity you have so little subscribers with such useful things.
Thanks! feel free to round up some more subscribers for me!
awesome project, thanks for taking the time to share it.
No Problem, anytime
Nice video, you have saved me a lot of hard work, thank you
No problem, thanks for watching
hi, could you elaborate on where/how you would connect the N2K board to the ESP? Cheers
Sure, First Check out this video (ruclips.net/video/MREGixRx_No/видео.htmlsi=I-w3x6yvaaGBUOEp) which shows Nautical Sun's Battery Monitor which is NMEA2000. Here is the schematic - 1drv.ms/b/c/6896e61bdafa6366/ETL99No8p6NIq2AWwZbIWWsBolpyvXo3xC7vL41XQUxJDw?e=op18sO. There is basically 4 pins, Power (3.3V), Ground, CAN TX and CAN RX. I connected CAN RX to Pin 17 (D10) and CAN TX to Pin 16 (D11). They are declared like that in the software that is on my Github Site (github.com/Techstyleuk/SensESP-NMEA2000-Battery-Monitor). Hope this helps?
Hi Jason, Thanks for sharing a lot of valuable video. I appreciate your work! By any chance, would you share the power point presentation you are using in the video?
I just added a link to the description and here it is: docs.google.com/presentation/d/1gUk_Dv9XsKVsI_aG6KP8dv5CLRo1A5vv/edit?usp=sharing&ouid=108443467110705163627&rtpof=true&sd=true
Just found your channel and appreciate it greatly, both content and production. About to start my project and a new channel for my sailboat; looks like a huge part of the work is already done for me -- except I'll be using 24v LFP, a 21 HP Westerbeke diesel and a pair of DIY electrified and air-powered old 6 HP outboard conversions with variable pitch props. Eventual goal is a boat pet that comes when I call and knows how to get to the next location when I ask it to and anchor effectively built of mostly recycled and repurposed parts. Looking forward to going through your github content. Many thanks. (Also appreciate your channel's name as a deeply philosophically meaningful outlook on life quite similar to my own. Cheers.
Sounds like an awesome project!! let me know if you see anything on my Github you are unsure of. I have a another project coming up when I get chance with some automated switches.
@@ApresSail Thanks for this. I'm feeling much less procrastination now that I've found so much help!
@ApresSail I didn't understand why you removed the R100 resistor (0,1 ohm) and replaced it with a 10 ohms resistor ? Why you didn't use the 2 holes on both side of the old R100 resistor ?
The R100 resistor is a current shunt connected between the 2 pads. its resistance is much too high for what we need - it would give a 50mVolt drop with 0.5A of current, we need a 50mV drop for 300A current - so we use the external shunt. What we added to the same pads was a capacitor and then resistors coming from the signal lines, these components are optional but providing some filtering on the signal to make it more stable
@@ApresSail Ok. What do you think of the ACS712 & ACS758 (Hall Effect sensor, up to 5-20-30A & 50A). Is it suitable for our boat battery packs ? (my setup is 2x2 12V 108ah, in parallel)
I have a starter battery and 2 x 120Ah house batteries and when I crack the engine I can see a peak of 46A. When using my inverter and K-Cup coffee maker I can see 70A from one of the house batteries (it is connected directly using big cables). If I was to use the devices you suggested (and I haven't done the research) check the specs carefully and go for the 50A or more, depending on your needs. Also check there is a ESP32 library for it
@apres
I'm curious how I could set this up so that I can remotely monitor batteries when I'm away from the boat. Any thoughts?
I have a pi5 with open plotter and a McArthur hat.
I have not done it but ESP32's can be set up to wake and sleep for certain periods, so you could set up a LoRa node or Cellular Module to transmit data from the boat.
Nice video thanks a lot. Could you please post a picture of the battery with the shunt from the frontsite?
I can't do it in the comments but I just updated the Github page at: github.com/Techstyleuk/SensESP_3_Battery_Monitor with 2 pics, I hope that helps. the shunts were smaller than expected, I didn't really look, I assumed the connection was going to be a standard battery terminal and it isn't. I am either going to mount these or buy something else. Vishay do one with bigger holes or there was one at Aliexpress that was mounted
@@ApresSail That is perfect - thank you so much
Hi, interesting project. Can you provide me with the list of components and the link to the code?
Links to components and the code can be found in the description - thanks
Thanks!Awesome project,I don't have NMEA2000 but Seatalk (first version), which canbus can I use? thanks for help and taking the time to share your projects.......
No problem! if you have Seatalk 1, then you can connect it to your Raspberry Pi via an Opticoupler and be able to decode it. Take a look at my Tech Episode 2.
Hi Jason, nice detailed video, as usual.
Are you actually writing all the code yourself?
If so, Kudos to you, that is a fair amount of work.
Quick question:
The buck converter you are using could that power a small 5V bus bar?
I am trying to find a clean way to provide 5V for all my 5V components (RPi, likely a McArthur hat, small computer accessories).
What is your solution on s/v Après?
Cheers,
a.
the buck converter I use is 3A and I use one for the RPI, with several peripherals, but then attached I have a 12V powered USB hub with 4 ports for extra RPI connections and a 2.4A power USB that you could power the RPI with, if you wanted too (amzn.to/49baLGN). I have a second hub at the helm for Maiana and the touchscreen.
I thought the MacArthur Hat took 12V supply and provided safe shutdown, similar to the circuit that I use. Couldn't you just use that?
@@ApresSail Excellent information thank you. Yes the MacArthur does what you mentioned above and 12V to 5V.
@@ApresSail Yes, but apart from the MacArthur hat providing 5V to the Pi5 , how can I use that 5V for other peripherals?
@@Coyotehello like I said, I would either use a 12v USB Hub - then every peripheral is locally powered - the one I use is up to 24watts. I have GPS dongle, RTL-SDR, RS422-USB (NMEA0183), wireless KBRD/mouse dongle and 10" Navstation touchscreen on one, Maiana and the 15.6" Screen touchscreen on another.
with regard to the code, I wrote it with help from many examples and the literature for SensESP from Matti Airas - github.com/hatlabs/
@@ApresSail Cool stuff.
Slightly disappointed that you didn't use a hall effect current sensor instead of the shunt, but nevertheless, a much better than the average YT marine-electronics video.
The Hall effect versions are more expensive than the Shunt version, and the 50mv loss is not a big deal really. For other viewers can you think of other pro's and cons of Hall vs shunt?
Can you turn up the volume?
Sorry about that, I trying to improve the sound as we go forward
bonjour
est il possible de monitore 4 batteries avec votre système en rajoutant un module can bus
car j'ais un parc batterie de 3 x 4 batteries a regarde sur home assistant
vidéo simple efficace
merci beaucoup 👍👍 france bretagne Kenavo
Good morning
is it possible to monitor 4 batteries with your system by adding a can bus module
because I have a battery bank of 3 x 4 batteries looked on home assistant
simple effective video
thank you very much 👍👍 France Brittany Kenavo
The INA219 voltage/current sensor board has 4 possible addresses which means 4 can be used on one I2C bus, so you could monitor up to 4 quite easily. Over 4 you could use a multiplexer (amzn.to/49cVGoY) or there is a INA3221 which will do 3 batteries each and 4 addresses (12 batteries total) - amzn.to/3MoASRv. You would have to make some code adjustments but just using 4x INA219 would be mostly copy and paste from my code
@@ApresSail Thank you for answering my question so quickly because I have 12 batteries to look at and see the balancing of such a park is important to have good solar autonomy
you just gained a subscriber
Kenavo