OpenPlotter - ESP32 - Getting started, adding code and digitising an older engine MD2030 - SensESP

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 73

  • @Cptnbond
    @Cptnbond 2 ปีที่แล้ว +5

    This was a really detailed walk-through. It helps me massively when getting started with a project like this. Thanks for all effort put into this. Cheers.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Thanks for your comments - I was a bit worried at the length of the video. Glad it’s useful.

  • @charleschedra4808
    @charleschedra4808 ปีที่แล้ว +1

    Love the lesson! Im restoring a 30 year old 32ft Beneteau with a totally rebuilt Volvo Penta 2003, I have rebuilt the control panel with all new digital gauges from Aliexpress and in the process of digitising all the sensors to be on the NMEA network so that the BandG chart plotter can display the engine data as well. I will be using the OpenPlotter as a redundant system in case of equipment failure while sailing around Australia for a year.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      Thanks for the message Charles. Sounds like you have a great project on the go and some amazing sailing ahead. Australia is definitely on the list for us. All the best with the project and fair winds⛵️

    • @eddiedoherty2349
      @eddiedoherty2349 ปีที่แล้ว +1

      Hello. I am planning the same task, 2003 Volvo md2030 on a Beneteau and want to tie into BandG system. How is your progress and any suggestions

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว +1

      Did you manage to get this setup?

    • @0xKruzr
      @0xKruzr 5 หลายเดือนก่อน

      how far did you get?

    • @charleschedra4808
      @charleschedra4808 5 หลายเดือนก่อน +1

      Sorry for not responding sooner
      I’m still fitting out remainder of woodwork. Delayed for 6-8 months attempting to paint in high humidity. Should start electrical fitout in next 2 months will let you know more when complete.

  • @lukasteger6103
    @lukasteger6103 2 ปีที่แล้ว +1

    Hi, this is a fantastic video. Thank you for documenting it so well. I am also in the process digitalizing some engine data (Volvo Penta 2001). So far, I managed to hook up a few 1wire sensors. Next, I am looking into RPM with a Hall effect sensor installed on the shaft + getting the engine temperature. I would really appreciate a deeper dive both on hardware and coding for the RPM and engine temp setup. Many thanks again, I am looking forward to the next episode. P.S. I do not mind the length of the video at all.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว +2

      Hi, I’ve got a video next week around the sensors I’ve used to get this far. I also started with Hall effect and then I managed to find an example of a circuit which is triggered by the alternator. The good news is that it doesn’t stop the the VP rpm gauge working. I’ve documented all of it, got links and also tried to show how the circuit works. Hopefully that will explain a few things and fill in the blanks from this video. For temperature I’m using an copy of the example code on SENSESP and then I had to calibrate that. More on that next week. Many thanks for your comments also.

  • @andydarlz
    @andydarlz 2 ปีที่แล้ว

    Thanks for making this video, very informative and really helpful!.
    I've been looking into implementing signal K for a little while after writing a custom genset pre-heat controller, throttle management, and stop timer. Now I'm def going to swap over to the esp32 [for the wifi], SenseESP, and signal K to try and combine the gen info with the main engine and maybe a chain counter hopfuly even intigrate on to my NMEA 2k network..
    Anyway, I'm off to binge on the rest of your content - this is the first of your videos I have seen..
    Thanks again.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Thanks for your comments, hope you find the other videos helpful.

  • @mrt136
    @mrt136 2 ปีที่แล้ว +1

    Wonderful ! Thank you for doing this. There is alot to be done for the "common man" to be able to incorporate esp and sensors to Signal K system. Im not sure if I have the brains for it, but will try as best I can. A question: Is it easy possible to readout the "W" signal from the alternator with an esp? It would be an easy way to get the rpm data. I have a Actisense EMU-1 to read motordata and convert it to NMEA2000. It connects to the alternator, and works perfect. Keep on the good work, and make more guides. Very informative. Just started with Visual Studio and Platform IO..... A bit overwhelming.......

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว +1

      Thanks for your comments, I felt the same once I purchased the esp32 and v1 of that software definitely was a learning curve from what I had setup before. The good news is that now you can start with a copy paste of examples and get something to work which I think really helps understand what it’s doing. Then you build on that. Yes to the W terminal, that’s how my rpm is working on an MD2030. Next weeks video is all about the electronics which again I’ve googled but it’s working well. I’m now working on predicting fuel consumption as I know how fast the engine is running.

  • @davidswan1714
    @davidswan1714 2 ปีที่แล้ว +1

    Another great video, thank you.
    I have been working on a SensESP project for my father-in-law’s boat. Do you run any environment/ battery monitoring full time for when you are away from the boat for extended periods?

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Many thanks for your comments. I don’t leave anything on at the moment, still in the habit of isolating everything when we leave as we don’t always know when we will be back. I have thought about some sort of monitoring and I do have a small Lorawan card I could use otherwise I’m relying on the WiFi. Is that your plan with this project?

  • @johnsevieri7280
    @johnsevieri7280 11 หลายเดือนก่อน

    Hi Matt, I subscribed to your channel soon after you started. I have watched the upgrade of your electronic instruments/sensors with great interest and decided to start the same process on my Bavaria 31 whilst the weather is so poor here in the UK. I'm not that knowledgeable regarding programming etc. but want to learn more. I have a Raspberry Pi 4B and this week have followed your instructions on how to set up the BME280 & 1 wire sensors. My question is why do you need an ESP32? Is it simply to send information via WiFi to the Raspberry from the engine bay? Plus. where did you buy the brackets for your bilge sensors? I look forward to following more great content on your Channel.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  11 หลายเดือนก่อน

      Hi John, many thanks for your message and for sticking with us, it’s great to have you onboard.
      The esp is doing exactly as you describe, it’s an easy way to get data over WiFi from somewhere I’ve not got a lot of cabling. It’s also easy to configure and to get the info you want. Another example would be a chain counter.
      The brackets were from eBay I think, something similar to this and I just drilled out the the single hole to what I needed www.ebay.co.uk/itm/284877074314?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=1YQ-FBugRSG&sssrc=4429486&ssuid=1XqhIgr5QPm&var=&widget_ver=artemis&media=COPY
      Lets us know if you need any further help with your setup and all the best with the project⛵️

    • @johnsevieri7280
      @johnsevieri7280 11 หลายเดือนก่อน

      @@BoatingwiththeBaileys Thanks Matt for your quick reply. I appreciate your offer of assistance, rest assured I'll certainly need it!

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  11 หลายเดือนก่อน

      @johnsevieri7280 👍

  • @captserenity8154
    @captserenity8154 2 ปีที่แล้ว +1

    Im looking forward to the sensor video.

  • @JohnnyUtah-y3c
    @JohnnyUtah-y3c 7 หลายเดือนก่อน

    Hi, can you let us know the actual sensor transducers you’re using - temp/rpm etc please?

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  7 หลายเดือนก่อน

      This video might help you. I'm using a circuit that's linked in this video for RPM, for temp it's a KUS temp sensor and a voltage divider. You can also use digital 1wire sensors which I've used for the exhaust temp and now oil temp - let me know if you need anything further - OpenPlotter - ESP32 - Circuits & Sensors - Digitising an older engine MD2030 - SensESP
      th-cam.com/video/I12NdvRQNxY/w-d-xo.html

  • @allynonderdonk7577
    @allynonderdonk7577 2 ปีที่แล้ว

    I built mine with a database server and an esp32 on Arduino libraries. I haven't put it in signal K yet as I am having trouble with the signal k database and assorted issues. They all stem from I cant actually get a Raspberry Pi that the package will properly install on. They are backordered until April or May most places and are pushing $100US. I am using Pine64 boards as I have a pile of them that I purchased for $7. The plotter works at like 90 percent on Ubuntu/Debian, but it was coded to be compatible with a Raspberry Pi running Raspbian...I guess I might just keep the Pine64 boards and code what I need by hand. I've got to put that Comp Sci Degree to use somehow.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      That’s the thing with these projects, you just start think what can I do next.

  • @MrAbbey6851
    @MrAbbey6851 2 ปีที่แล้ว

    Have you gotten OTA updates installed. Is it the same way you did the uptime sensor

    • @MrAbbey6851
      @MrAbbey6851 2 ปีที่แล้ว

      and thanks for the walkthrough. It helped alot. Mine did not go as smooth as yours.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Hi - Thats on the list to look at, i do have the start of a video which now shows the install and connection to SignalK but i would like to include a bit more before i publish it. I'll add that to the list.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Many thanks for your comments.

  • @lescollier2467
    @lescollier2467 2 ปีที่แล้ว

    Hi you have just undertaken the very project I have on my desk. I could not get to the end of the video because the back ground music I found very irritating, do you think you could remove it ?

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว +1

      Apologies for that. I’m never sure what to do with music on this. If folks are happy with just me talking and then silence in the other parts of the video I’m happy to start doing that. I’ll see if I still have this video in the editing software and upload it without music. - thanks for the feedback

  • @rayhsetwo8594
    @rayhsetwo8594 ปีที่แล้ว

    Can this be done in openCpn because I am using a laptop not a raspberry pi?

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      Hi, What operating system is on the laptop? SignalK will run on Windows and I think that's probably the easiest option. Your other option is to set up the ESP to put the data directly on the NMEA network but it would need to be NMEA 2000 to get all the more interesting data to work.

    • @rayhsetwo8594
      @rayhsetwo8594 ปีที่แล้ว

      ​@@BoatingwiththeBaileysThanks for getting back to me, yes windows, I'm not sure if NMEA 2000 would be good for me because most of my kit is NMEA 0183.
      Is signal K an alternative to Grafana? I am trying to play catch-up with what's doable by watching your videos and then realised that openCPN and Openplotter are different.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      @@rayhsetwo8594 Ok, So that's possible on Windows - here is a link to SignalK for Windows github.com/SignalK/signalk-server-windows
      Signal K is an open platform for boat data. It doesn't actually store anything but it allows you to use software like Grafana to display the data. It also comes with other software packages such as KIP, which is another dashboarding tool that works straight out of the box. I have a video coming out this weekend showing an updated version of that.
      SignalK - Boat data platform
      Grafana - Visualisation Tool
      KIP - Dashboard/Visualisation Tool
      OpenCPN - Chart & data visualisation software
      OpenPlotter - All the above in a nice easy-to-install package with an Operating system.
      If you don't want to change too much for now and you are happy with OpenCPN and your laptop. I would install SignalK, build an ESP if you want to get your engine data in and then I would setup some dashboards to display that data in KIP or Grafana. You can also pull some info in OpenCPN

    • @rayhsetwo8594
      @rayhsetwo8594 ปีที่แล้ว

      I tried to download Signal K but it says it does not support windows versions below Windows 10. I will have to see if I can use a different laptop.
      Thanks for the list and steps to download re: the apps and an ESP...I will look at doing all that.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      If you need another laptop, I would seriously consider a Pi for this bit and leave your laptop running the plotter and anything else. Cheap, low power and the software just drops right on 👍

  • @bybeka1
    @bybeka1 10 หลายเดือนก่อน

    WOW!!!

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  10 หลายเดือนก่อน

      Thanks - This was a good project and I've got a couple of updates coming soon.

  • @G0KAD
    @G0KAD 2 ปีที่แล้ว +1

    Goodness, the price has increased from £6.20 to £10.90

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  2 ปีที่แล้ว

      Not surprised, I do want to pick another up

    • @DougTreff
      @DougTreff 5 หลายเดือนก่อน

      Darn - they've priced the common man out of this too. 🤣

  • @pietromaurizio8990
    @pietromaurizio8990 ปีที่แล้ว

    ciao sto seguendo il tuo progetto, ma non riesco a compilarlo. i driver e la scelta dell'ESP sono corretti, infatti altri programmi sono normalmente caricati. Quando provo a compilare la tua applicazione incorro nei seguenti errori:
    #define LED_BUILTIN LED_BUILTIN
    :note: this is the location of the previous definition
    :error: expected unqualified-id before numeric constant
    e successivamente:
    ***[.pio/build/esp32doit-devkit-v1/libc67/FS/FS.cpp.o]Error1
    ***[.pio/build/esp32doit-devkit-v1/libd81/reactESP/ReactESP.cpp.o] Error 1
    ..............
    src/main.cpp:127:28:error: expected type-specifier before 'MovingAverage'
    puoi aiutarmi a risolvere?

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      It is not happy with the fuel consumption part of the code. Do you have the following like at the top in your includes?
      #include "sensesp/transforms/moving_average.h"
      Non è soddisfatto della parte del codice relativa al consumo di carburante. Hai i seguenti like in alto nei tuoi include?
      #include "sensesp/transforms/moving_average.h"

    • @pietromaurizio8990
      @pietromaurizio8990 ปีที่แล้ว

      @@BoatingwiththeBaileys si grazie il problema è risolto. Tutto funziona, ma non riesco a cambiare SSID e password sull'ESP32. mi puoi aiutare ?
      Vorrei anche inserire il controllo del serbatoio carburante il mio sensore va da un valore da 350 Ohm (vuoto) a 18 Ohm (pieno) mi dai un consiglio?
      grazie.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      Good. Glad you got it working. The SSID and password should appeard when it first starts up. It should broadcast an SSID for you to connect to. Is this happening? signalk.org/SensESP/pages/user_interface/
      For the fuel tank, if you use the same code as the tempreature sensor you just need to change anything that uses temp to another name. Create another 'class TemperatureInterpreter : public CurveInterpolator {
      public:' and again call it something else.
      I will try and do a video on this as this has come up a couple of times.
      -------
      Bene. Sono contento che tu abbia funzionato. L'SSID e la password dovrebbero apparire al primo avvio. Dovrebbe trasmettere un SSID a cui connettersi. Sta succedendo? signalk.org/SensESP/pages/user_interface/
      Per il serbatoio del carburante, se usi lo stesso codice del sensore di temperatura, devi solo cambiare tutto ciò che usa temp con un altro nome. Crea un'altra 'class TemperatureInterpreter: public CurveInterpolator {
      public:' e chiamalo di nuovo qualcos'altro.
      Proverò a fare un video su questo dato che è emerso un paio di volte.

    • @pietromaurizio8990
      @pietromaurizio8990 ปีที่แล้ว

      @@BoatingwiththeBaileys Ti ringrazio, in attesa del tuo video sul serbatoio carburante, proverò a seguire il tuo consiglio di replicare il metodo di controllo temperatura. A proposito dell'SSID/password ,ho fatto diverse prove anche usando WiFi Manager con Arduino, ma non riesco in nessun modo a riportare la ESP32 nella condizione di Access Point iniziale ( quella descritta nel capitolo "User Interface" nel manuale di SensESP,) per poter inserire un nuovo SSID e una nuova Password.

    • @BoatingwiththeBaileys
      @BoatingwiththeBaileys  ปีที่แล้ว

      Se rendi la rete a cui si connette normalmente indisponibile per un po' di tempo, dovrebbe quindi ripristinare questa pagina.