Smart Boat 13: Engine Temp Monitor using ESP32 and DS18B20

Поділитися
Вставка
  • Опубліковано 24 лип 2024
  • In this tutorial, discover how to set up a sophisticated engine temperature monitoring system using the ESP32 microprocessor and DS18B20 one-wire sensors, capable of withstanding extreme temperatures up to 125C and offering waterproof capabilities.
    Learn how to strategically place four DS18B20 sensors in various parts of your boat's engine - including near the coolant, thermostat, raw water elbow, and alternator - to preemptively receive warnings before reaching a critical state.
    I guide you through the process of configuring alerts for abnormal temperature increases, helping to prevent issues like intake blockages or worn impellers, and sharing insights on the added benefits of monitoring alternator temperatures, especially when using lithium batteries.
    Equip yourself to monitor and analyze your boat engine's temperature trends efficiently with this detailed setup guide.
    ✔ ESP32 - 38 pins
    🎁 Amazon: Select 38pin model
    geni.us/esp32-38pin
    🎁 AliExpress:
    s.click.aliexpress.com/e/_DFE...
    ✔ ESP32 38 pins Breakout Board
    🎁 Amazon:
    geni.us/esp32-38pin-breakout
    🎁 AliExpress:
    s.click.aliexpress.com/e/_DdP...
    ✔ ESP32 - 30 pins
    🎁 Amazon: Select 30pin model
    geni.us/esp32-30pins
    geni.us/esp32-30pin-kit
    🎁 AliExpress: Mirco USB or USB C models
    s.click.aliexpress.com/e/_DdF...
    ✔ ESP32 30 pins Expansion Breakout Board
    🎁 Amazon:
    geni.us/esp32-30pin-breakout
    🎁 AliExpress:
    s.click.aliexpress.com/e/_DFM...
    ✔ 12v to 5v Converter
    🎁 Amazon:
    geni.us/12v-5v-converter
    🎁 AliExpress: Select the 12V to 5V 3A option
    s.click.aliexpress.com/e/_Deu...
    ✔ INA219 Module:
    🎁 Amazon:
    geni.us/yE8oa
    🎁 AliExpress: Select soldered option or ask them
    s.click.aliexpress.com/e/_Dd2...
    ✔ Dupont breakout cables:
    🎁 Amazon:
    geni.us/Dupont-cables
    🎁 AliExpress:
    s.click.aliexpress.com/e/_DdQ...
    ✔ Temperature Sensors Dallas One Wire:
    🎁 Amazon:
    1M Length
    geni.us/vANa
    3M Length
    geni.us/7KqXm1w
    🎁 AliExpress: Select length and pieces option
    s.click.aliexpress.com/e/_DBy...
    ✔ Resistors for Temp Sensor ( 4.7K OHM ):
    🎁 Amazon: Kit of various sizes
    geni.us/DWBKQ
    🎁 AliExpress: Kit of various sizes
    s.click.aliexpress.com/e/_Deu...
    ✔ Junction Box (80mm x 80mm):
    🎁 Amazon:
    geni.us/n9oc7
    geni.us/a3xe
    🎁 AliExpress: Select 83x81x56mm
    s.click.aliexpress.com/e/_DBO...
    If you'd like to support me so that I can buy extra sensors and equipment for future projects:
    💖 Buy Me a Coffee:
    ko-fi.com/smartboatinnovations
    Some links above are affiliate links, meaning I may earn a small commission if you make a purchase. Your support helps fund valuable content. Thank you!
    Chapters
    0:00 Introduction
    1:53 Dolphin
    2:01 ESP32 and DS18B20 Overview
    5:31 Engine sensor locations
    5:56 Adding to Home assistant
    10:42 Add gauge to Dashboard
    12:07 4 Gauges and analytics
    13:23 Add Automation
    14:15 My Boat
    14:27 Outro
  • Навчання та стиль

КОМЕНТАРІ • 48

  • @yannistsopelas7217
    @yannistsopelas7217 10 місяців тому +1

    Great work and very simple to follow - thanks Rob!

  • @johndeer1756
    @johndeer1756 10 місяців тому +1

    So good! Well done Rob. You make it very easy to understand

  • @akauppi2
    @akauppi2 9 місяців тому +1

    I so loved seeing the sailing clip as well! With you, enjoying nature and technology…

    • @SmartBoatInnovations
      @SmartBoatInnovations  9 місяців тому +1

      Hi Asko, I truly appreciate your kind words and your support on Ko-fi. Nature and technology are both passions of mine, and I'm thrilled to share them with you. Stay tuned for more adventures! 🌊⛵️

  • @rsimonis1
    @rsimonis1 10 місяців тому +2

    Impressive videos. I’ve been catching up (now that I’m home) and this is so easy to follow. I’ve been looking at those on and off on various site. But with you, all looks so simple. Will install on engine, alternator and also inside the fridge. Keep it up.

    • @SmartBoatInnovations
      @SmartBoatInnovations  10 місяців тому

      Thank you so much for your kind words! I'm really glad to hear that you find the videos easy to follow. It has always been my goal to find and share the simplest solutions, so that anyone, regardless of their technical know-how, can follow along and get things installed on their boat without any hassle. It's great to know that I'm succeeding in that! I appreciate your support and encouragement. Keep watching and happy boating!

  • @DirkJacobsz
    @DirkJacobsz 10 місяців тому +1

    Great idea - thanks Rob

    • @SmartBoatInnovations
      @SmartBoatInnovations  10 місяців тому +1

      Thanks Dirk. Yes for $20 you can setup an incredible level of engine monitoring.

  • @dr.m.sanaullahsahar9859
    @dr.m.sanaullahsahar9859 7 місяців тому +1

    thanks for your video. its really informative.

  • @Dasol0135
    @Dasol0135 9 місяців тому +1

    Thank you for making such an easy to follow tutorial, worked first time for me

    • @SmartBoatInnovations
      @SmartBoatInnovations  9 місяців тому

      I'm so glad to hear that! Thank you for the feedback, and happy boating! 🚤

    • @Dasol0135
      @Dasol0135 9 місяців тому

      @@SmartBoatInnovations not a boater, but you have the best tutorials, can you do one on node red and esp32 sensor in home assistant. Thanks

    • @SmartBoatInnovations
      @SmartBoatInnovations  9 місяців тому

      ​@@Dasol0135Thank you for the kind words! Great suggestion on the Node-RED and ESP32 sensor integration with Home Assistant. I'll definitely look into creating a tutorial on that topic soon. Stay tuned!

  • @bybeka1
    @bybeka1 4 місяці тому +1

    Great vdeo and very well explaines, gracias!

  • @andrewbartonspencer
    @andrewbartonspencer 10 місяців тому +2

    This is excellent.

    • @SmartBoatInnovations
      @SmartBoatInnovations  10 місяців тому +1

      Thank you so much! I'm glad you think so. Stay tuned for more! Engine Oil pressure is coming soon.

    • @andrewbartonspencer
      @andrewbartonspencer 10 місяців тому

      @@SmartBoatInnovations can't wait!

  • @imaginehealing7969
    @imaginehealing7969 10 місяців тому +1

    Genius

  • @moimeme3468
    @moimeme3468 8 місяців тому +1

    hi, thanks for the videos. very useful. I would be interested in a video about monitioring the alternator rpm and water/fuel sensor level

    • @SmartBoatInnovations
      @SmartBoatInnovations  8 місяців тому

      Hi, thanks for your feedback! Videos covering the monitoring of alternator RPM and water/fuel sensor levels are planned. For monitoring water/fuel sensor levels, you can apply a similar method to what I demonstrated in my Oil Pressure video. Here’s the link for a quick reference: ua-cam.com/video/ScP7xjOwWFg/v-deo.html.

    • @moimeme3468
      @moimeme3468 8 місяців тому

      Ok great. I will

  • @ralph9987
    @ralph9987 6 місяців тому

    This is a great video. I am not sure on what device the display is shown on? Hiw do you set it up as standalone and onto a mobile phone or tablet? Tia

    • @SmartBoatInnovations
      @SmartBoatInnovations  5 місяців тому +1

      In the video, the display of the ESP32 engine temperature data is showcased on a dashboard that can be accessed through devices like a mobile phone, tablet, or computer browser. This setup is part of a smart boat system, which I detail in another video (ua-cam.com/video/Z6F7-IKwX9A/v-deo.html)

  • @user-hr2jw3qr8c
    @user-hr2jw3qr8c 7 місяців тому +1

    Could your oil pressure approach also be used for the engines built in temp sensor ?

    • @SmartBoatInnovations
      @SmartBoatInnovations  7 місяців тому

      Yes, indeed. The majority of engine sensors, including those for oil pressure and temperature, operate using a resistance-based system, much like the one I demonstrated in the video. This means you can apply the same setup for these sensors. Do keep me updated on your progress. I'm here to assist further if needed

  • @philmummah889
    @philmummah889 6 місяців тому

    Very good however I do not like attaching temp sensors with plastic cable ties. Are you aware of sensors that can be bolted?

    • @SmartBoatInnovations
      @SmartBoatInnovations  6 місяців тому

      Thanks. Yes, I understand the challenge. When I first installed the temperature sensors, I also explored alternatives to using cable ties. I considered using stainless steel wire, but it was difficult to firmly secure the sensor in place. As for bolting, I haven't come across any sensors equipped with brackets. Fabricating a custom bracket might be feasible, but the real challenge is identifying suitable places to attach the bolt, especially in areas like the exhaust elbow. Directly bolting onto various engine parts can be quite complex. In the end, I opted for cable ties. By using two, I ensured that the sensor was firmly positioned, with the second tie serving as a backup for extra security. This setup has been effective for over a year now. It requires regular checks, but it has proven to be a satisfactory solution.

  • @MarleyMarlz1234
    @MarleyMarlz1234 Місяць тому

    Please correct me if I'm wrong, but i don't see (in this video or the previous one) the step where you add the device to HA integrations. If this isn't done then there will be no temperature sensors under "entities".

    • @SmartBoatInnovations
      @SmartBoatInnovations  Місяць тому

      Normally when you add a esp32 device via esphome and adopt, it auto adds the integration to HA. However there are cases when you change the esp32 device name you then need to go into settings and integrations and manually add it.

    • @MarleyMarlz1234
      @MarleyMarlz1234 Місяць тому

      @@SmartBoatInnovations I think that's what happened to me. Thanks

  • @SVRockChalk
    @SVRockChalk 8 місяців тому +1

    Do you have a link for Ferinheight conector?

    • @SmartBoatInnovations
      @SmartBoatInnovations  8 місяців тому

      You use exactly the same sensor/connector. We just need to do a conversion in Home Assistant. I have updated the Esphome configuration with an example for Fahrenheit. See:
      www.smartboatinnovations.com/dallas-yaml

  • @chrisgrable6922
    @chrisgrable6922 17 днів тому

    Hi Rob! it looks like the last update of Home Assistant changed the yaml for Dallas sensors, now one_wire. could you please share a revised code snippet? My attempts validate, but return NaN data. Thanks for any help! -Chris G

    • @SmartBoatInnovations
      @SmartBoatInnovations  17 днів тому

      Thanks for letting me know. Website updated with revised yaml snippet. Let me know if you have any problems.

    • @chrisgrable6922
      @chrisgrable6922 17 днів тому

      oh my goodness that was fast! update works like a charm. Thanks so much!

  • @aryadarmasaputra9195
    @aryadarmasaputra9195 4 місяці тому

    Is it possible with one ESP32 for 4 sensors, then how do you connect the sensors to an ESP32 with 4 sensors?

    • @SmartBoatInnovations
      @SmartBoatInnovations  4 місяці тому

      Yes you can. Look at 3:53 on the video and I say how. You just need to use a small 3 way terminal block and then connect all the like colored cables together. and then a single cable from each terminal on the block to the esp.

  • @dikaoesodo4311
    @dikaoesodo4311 2 місяці тому

    Why you use a resistor for this project?

    • @SmartBoatInnovations
      @SmartBoatInnovations  2 місяці тому

      The resistor in the connection between an ESP32 and a DS18B20 temperature sensor, often referred to as a "pull-up" resistor, is crucial for the proper operation of the one-wire communication protocol used by the DS18B20
      A pull-up resistor connected to the power supply to maintain the data line at a high level when no device is pulling it low.
      The DS18B20 communicates by pulling the data line low to send a '0' and releasing it (letting it be pulled high by the resistor) to send a '1'. Without the resistor, the data line would remain at an indeterminate voltage level when it should be high, leading to unreliable communication or no communication at all.

  • @8m405
    @8m405 6 місяців тому +1

    what sensor can one use to accurately monitor the water temp. Yours are just attached to the body not touching water directly

    • @SmartBoatInnovations
      @SmartBoatInnovations  6 місяців тому +1

      The water temperature readings are generally accurate, though they might be a couple of degrees lower than the actual temperature. The key purpose of these sensors is to trigger warnings when temperatures exceed predetermined levels. Therefore, a slight difference in actual versus measured temperature isn't critical for this function. However, if precise temperature readings are needed, you can directly connect to the engine water sensor using additional wires. This method, as shown in my oil pressure video, involves using resistance readings from the engine's water sender to achieve more exact temperature measurements