Smart Boat 13: Engine Temp Monitor using ESP32 and DS18B20

  Рет қаралды 9,841

Smart Boat Innovations

Smart Boat Innovations

Күн бұрын

Пікірлер: 66
@dikaoesodo4311
@dikaoesodo4311 5 ай бұрын
Why you use a resistor for this project?
@SmartBoatInnovations
@SmartBoatInnovations 5 ай бұрын
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.
@davidhopkins
@davidhopkins 24 күн бұрын
Thank you very much for these great ideas. I just completed this project. One small point. You referred to the PIN as P25. I think you meant D25. I have a 30 pin esp32 so my layout is different from yours. I note that pin D25 is one of 2 DAC pins. I take it that is why you selected it.
@SmartBoatInnovations
@SmartBoatInnovations 24 күн бұрын
You can use any pin in the ramge 21 to 27. Just make sure you update the Yaml to reflect the pin number.
@rsimonis1
@rsimonis1 Жыл бұрын
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 Жыл бұрын
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!
@8m405
@8m405 9 ай бұрын
what sensor can one use to accurately monitor the water temp. Yours are just attached to the body not touching water directly
@SmartBoatInnovations
@SmartBoatInnovations 8 ай бұрын
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
@chrisr819
@chrisr819 Ай бұрын
Awesome video Rob, compare to other you really show all needed details for noobies which is very rare. Actually knew a lot already but always missing some little details that made me get stuck but thanks to your video I know now how to solve them and what I need. Subscribed Video request: Could you actually make a video about flow sensors for gasoline, diesel and water. I eg have 2 overpowered engines and never know if it’s better fuel economy if running one at higher RPM or 2 on very low RPMs and the actual fuel consumption at each 100RPM…I have a rough guess but diesel fuel flow sensors on both would be a saint. Also very good to monitor if the engine has a fuel supply issue is the most common issue on engines. Same sweet water flow sensors at the tank output to know how much I use and another at the output of the watermaker so I can actually a)match the consumption I use with refill from watermaker. Also help for monitoring for alarms eg if you have a leak somewhere, watermaker output is below a threshold eg clogged input/filters…would be awesome.
@chrisr819
@chrisr819 Ай бұрын
Also wireless please as routing cables is a nightmare on boats.
@SmartBoatInnovations
@SmartBoatInnovations Ай бұрын
Thanks! Water flow sensor video is coming soon. A fuel monitor is also possible but normally you need 2 sensors per engine. One for supply and one for the return. I have plans for this but I need to find some quality fuel sensors that are not too expensive. A fuel pressure sensor is also something I have been planning as this can indicate if the filters need changing.
@SmartBoatInnovations
@SmartBoatInnovations Ай бұрын
Of course. Will be using a esp32. I also do not like routing cables :)
@chrisr819
@chrisr819 Ай бұрын
Could you tell me which sensors you gonna use for water and if via the Ina 216? Just putting all the needed material together for my smart cat and in canary island where shipping is an issue and takes 4 weeks minimum. Thanks to you just setting all the basic system up on an intel Nuc, ai-net beryl 3000 router with starlink and a netgear sim router. The beryl has fallback so if starlink has outage the sim router takes over. That’s what I have already plus a Victron cerbo install that I will interface with home assistant too. I think that NUC is significantly more powerful then raspi, so local voice assistant should be possible.
@SmartBoatInnovations
@SmartBoatInnovations Ай бұрын
@@chrisr819 Just planning on a esp32 and this amzn.eu/d/bqGNm3a But I have not tested it yet. And maybe an ina219 to measure the voltage if it is higher than 3V.
@RogerDempsey
@RogerDempsey 10 ай бұрын
Could your oil pressure approach also be used for the engines built in temp sensor ?
@SmartBoatInnovations
@SmartBoatInnovations 10 ай бұрын
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
@moimeme3468
@moimeme3468 10 ай бұрын
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 10 ай бұрын
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: kzbin.info/www/bejne/iZSzaKughNyKfMk.
@moimeme3468
@moimeme3468 10 ай бұрын
Ok great. I will
@davidhopkins
@davidhopkins 25 күн бұрын
Great idea. I'm so nervous placing those sensors in hot environments. Will the sheath around the wires melt under any normal engine situation? From your photos it looks like to get the tip on the things you are measuring. For instance, the alternator. Am I correct? Should I aim to get the tip touching what I am measuring? Or should I aim to get as much of the silver sensor touching the thing I am measuring? Do zip ties stand up to the heat of being around these things? 165F? 225F? What can they withstand?
@SmartBoatInnovations
@SmartBoatInnovations 25 күн бұрын
Great questions! I had similar concerns when I first installed mine nearly two years ago. When running the wires, it's best to follow existing engine wiring routes as much as possible. Be sure to avoid placing them over the dry exhaust or other high-heat areas. For sensor placement, you'll want to ensure that as much of the metal part of the sensor as possible is in contact with the surface you're measuring. This will give you the most accurate readings. In my case, I secured each sensor with two zip ties for added redundancy. It's important to make sure that if the ties fail, the sensor won’t fall onto a moving part like a drive belt. The zip ties have held up well, but I recommend replacing them every few years to avoid degradation due to heat and vibration. If you're particularly concerned about durability, you could add some stainless steel wire as an extra backup. Most standard ties can withstand temperatures up to about 185°F, but high-temperature variants (usually black or specially labeled) can handle up to 225°F, which should work for most engine environments. As for the ESP32, it’s rated for temperatures up to 220°F, but I still recommend placing it in a plastic enclosure and mounting it near a cooler part of the engine to prolong its life and protect it from extreme heat.
@davidhopkins
@davidhopkins 15 күн бұрын
@@SmartBoatInnovations I think I have an even better solution! Thermal duct tape. 3M make a flue tape that they say can withstand 600F.
@SmartBoatInnovations
@SmartBoatInnovations 15 күн бұрын
@@davidhopkins 3M make very good products. But I am not sure you can tighten it as much as with zip ties. And then there is also vibrations. But let me know how you go.
@davidhopkins
@davidhopkins 15 күн бұрын
@@SmartBoatInnovations zip ties will be hard for my setup. I was also contemplating glue.
@dr.m.sanaullahsahar9859
@dr.m.sanaullahsahar9859 9 ай бұрын
thanks for your video. its really informative.
@SmartBoatInnovations
@SmartBoatInnovations 7 ай бұрын
Glad it was helpful!
@chrisgrable6922
@chrisgrable6922 2 ай бұрын
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 2 ай бұрын
Thanks for letting me know. Website updated with revised yaml snippet. Let me know if you have any problems.
@chrisgrable6922
@chrisgrable6922 2 ай бұрын
oh my goodness that was fast! update works like a charm. Thanks so much!
@akauppi2
@akauppi2 11 ай бұрын
I so loved seeing the sailing clip as well! With you, enjoying nature and technology…
@SmartBoatInnovations
@SmartBoatInnovations 11 ай бұрын
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! 🌊⛵️
@SVRockChalk
@SVRockChalk 10 ай бұрын
Do you have a link for Ferinheight conector?
@SmartBoatInnovations
@SmartBoatInnovations 10 ай бұрын
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
@JohnMoseley-u4e
@JohnMoseley-u4e Ай бұрын
I am seeing a Check Sum error, any suggestions?
@SmartBoatInnovations
@SmartBoatInnovations Ай бұрын
One-Wire sensor connected to an ESP32 via ESPHome often indicate issues with the data transmission between the sensor and the ESP32. Power Supply: Ensure that the Dallas sensor is properly powered like I show in the video. Data Line: Verify that the data line is correctly connected to a the correct GPIO pin on the ESP32 and that the connection is secure. Pull-up Resistor: A pull-up resistor (typically 4.7kΩ) is required on the data line to ensure proper communication. Make sure it's connected between the data line and the VCC. Ground: Ensure a solid ground connection between the ESP32 and the Dallas sensor.
@imaginehealing7969
@imaginehealing7969 Жыл бұрын
Genius
@MarleyMarlz1234
@MarleyMarlz1234 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@SmartBoatInnovations I think that's what happened to me. Thanks
@yannistsopelas7217
@yannistsopelas7217 Жыл бұрын
Great work and very simple to follow - thanks Rob!
@SmartBoatInnovations
@SmartBoatInnovations Жыл бұрын
Thanks Yannis. Much appreciated.
@bybeka1
@bybeka1 6 ай бұрын
Great vdeo and very well explaines, gracias!
@SmartBoatInnovations
@SmartBoatInnovations 6 ай бұрын
Gracias por tu comentario. Lo aprecio mucho.
@johndeer1756
@johndeer1756 Жыл бұрын
So good! Well done Rob. You make it very easy to understand
@SmartBoatInnovations
@SmartBoatInnovations Жыл бұрын
Thanks John.
@aryadarmasaputra9195
@aryadarmasaputra9195 6 ай бұрын
Is it possible with one ESP32 for 4 sensors, then how do you connect the sensors to an ESP32 with 4 sensors?
@SmartBoatInnovations
@SmartBoatInnovations 6 ай бұрын
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.
@davidhopkins
@davidhopkins 24 күн бұрын
For me it was tough getting the 4 sensor wires into the same connection. I ended up soldering 4 wires together. Works great.
@SmartBoatInnovations
@SmartBoatInnovations 24 күн бұрын
That also works. But a small terminal block is easy. Maybe the one you used was too small.
@Dasol0135
@Dasol0135 11 ай бұрын
Thank you for making such an easy to follow tutorial, worked first time for me
@SmartBoatInnovations
@SmartBoatInnovations 11 ай бұрын
I'm so glad to hear that! Thank you for the feedback, and happy boating! 🚤
@Dasol0135
@Dasol0135 11 ай бұрын
@@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 11 ай бұрын
​@@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!
@andrewbartonspencer
@andrewbartonspencer Жыл бұрын
This is excellent.
@SmartBoatInnovations
@SmartBoatInnovations Жыл бұрын
Thank you so much! I'm glad you think so. Stay tuned for more! Engine Oil pressure is coming soon.
@andrewbartonspencer
@andrewbartonspencer Жыл бұрын
@@SmartBoatInnovations can't wait!
@DirkJacobsz
@DirkJacobsz Жыл бұрын
Great idea - thanks Rob
@SmartBoatInnovations
@SmartBoatInnovations Жыл бұрын
Thanks Dirk. Yes for $20 you can setup an incredible level of engine monitoring.
@philmummah889
@philmummah889 8 ай бұрын
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 8 ай бұрын
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.
@ralph9987
@ralph9987 8 ай бұрын
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 7 ай бұрын
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 (kzbin.info/www/bejne/kGepaGB_gNyLb6M)
Smart Boat 14: Oil Pressure monitor with ESP32, INA219 and Home Assistant
22:47
Smart Boat Innovations
Рет қаралды 4,3 М.
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 18 МЛН
Como Conectar🔌 DS18B20 🌡 a ESP8266 con Tasmota
1:30
How OpenCPN and SignalK Replaced Our Expensive Navigation Software
12:14
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Рет қаралды 74 М.
4 channel temperature logger based on the DS18B20 sensors
36:41
Curious Scientist
Рет қаралды 12 М.
Smart Bilge Pumps
15:59
Smart Boat Innovations
Рет қаралды 1 М.
DS18B20 Temperature Sensor with ESP32 ( A Complete Tutorial)
9:46
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН