DIY Battery Monitor using SensESP/ESP32 for Openplotter, SignalK & NMEA2000 - Tech E12 - Après Sail

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 39

  • @-suncheez-
    @-suncheez- 8 месяцев назад +1

    Thanks, man. Your projects are awesome. Pity you have so little subscribers with such useful things.

    • @ApresSail
      @ApresSail  8 месяцев назад +1

      Thanks! feel free to round up some more subscribers for me!

  • @pmgear
    @pmgear Год назад +1

    awesome project, thanks for taking the time to share it.

  • @LesCollier
    @LesCollier Год назад +1

    Nice video, you have saved me a lot of hard work, thank you

    • @ApresSail
      @ApresSail  Год назад

      No problem, thanks for watching

  • @MikeAndCarolineKolling
    @MikeAndCarolineKolling 3 месяца назад +1

    hi, could you elaborate on where/how you would connect the N2K board to the ESP? Cheers

    • @ApresSail
      @ApresSail  3 месяца назад

      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?

  • @FredCyrdotcom
    @FredCyrdotcom 7 месяцев назад +1

    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?

    • @ApresSail
      @ApresSail  6 месяцев назад

      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

  • @paulpvhl1930
    @paulpvhl1930 11 месяцев назад

    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.

    • @ApresSail
      @ApresSail  11 месяцев назад +1

      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.

    • @paulpvhl1930
      @paulpvhl1930 11 месяцев назад +1

      @@ApresSail Thanks for this. I'm feeling much less procrastination now that I've found so much help!

  • @kinyo666
    @kinyo666 4 месяца назад +1

    @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 ?

    • @ApresSail
      @ApresSail  4 месяца назад +1

      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

    • @kinyo666
      @kinyo666 4 месяца назад

      @@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)

    • @ApresSail
      @ApresSail  4 месяца назад +1

      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

  • @ATARI_1962
    @ATARI_1962 3 месяца назад +1

    @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.

    • @ApresSail
      @ApresSail  3 месяца назад +1

      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.

  • @hephey63
    @hephey63 Год назад +1

    Nice video thanks a lot. Could you please post a picture of the battery with the shunt from the frontsite?

    • @ApresSail
      @ApresSail  Год назад +1

      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

    • @hephey63
      @hephey63 Год назад

      @@ApresSail That is perfect - thank you so much

  • @pietromaurizio8990
    @pietromaurizio8990 Год назад +2

    Hi, interesting project. Can you provide me with the list of components and the link to the code?

    • @ApresSail
      @ApresSail  Год назад

      Links to components and the code can be found in the description - thanks

  • @mrginoromano
    @mrginoromano 7 месяцев назад

    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.......

    • @ApresSail
      @ApresSail  7 месяцев назад

      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.

  • @Coyotehello
    @Coyotehello Год назад +1

    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.

    • @ApresSail
      @ApresSail  Год назад +1

      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
      @Coyotehello Год назад +1

      @@ApresSail Excellent information thank you. Yes the MacArthur does what you mentioned above and 12V to 5V.

    • @Coyotehello
      @Coyotehello Год назад +1

      @@ApresSail Yes, but apart from the MacArthur hat providing 5V to the Pi5 , how can I use that 5V for other peripherals?

    • @ApresSail
      @ApresSail  Год назад +1

      @@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/

    • @Coyotehello
      @Coyotehello Год назад

      @@ApresSail Cool stuff.

  • @arkadybron1994
    @arkadybron1994 Год назад +1

    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.

    • @ApresSail
      @ApresSail  Год назад

      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?

  • @somyrab
    @somyrab Год назад +1

    Can you turn up the volume?

    • @ApresSail
      @ApresSail  Год назад

      Sorry about that, I trying to improve the sound as we go forward

  • @llablancheHermineBZH
    @llablancheHermineBZH Год назад

    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

    • @ApresSail
      @ApresSail  Год назад +1

      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

    • @llablancheHermineBZH
      @llablancheHermineBZH Год назад

      @@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