OpenMarine
DS18B20 Temperature Sensor - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: DS18B20 Temperature Sensor (/showthread.php?tid=4268)



DS18B20 Temperature Sensor - svisara - 2022-10-04

Hey all, I'm just starting to use openplotter. I have done some programming before but in windows.

I have a rpi 4. What method would I (or could i) hook up multiple temperature sensors, outputting temp gauges?  When I look at tue documentation, it seems to suggest that I can only use the listed sensor types in the i2c app.
It also seems like I need to do a manual installation of OP2 at this time 

I already got the sensor hooked up akd returning data with w1thermsensor app, but I'd like gauges with temp alarms ideally

https://smile.amazon.com/gp/aw/d/B0924NBNZP?psc=1&ref=ppx_pop_mob_b_asin_title


RE: DS18B20 Temperature Sensor - svisara - 2022-10-04

So reading more, I am finding the differences between a 1 wire vs i2c. Not sure if i2c will be needed. Now I'm just trying to understand the what the proper framework would be to get it into gauges w/ alarms.


RE: DS18B20 Temperature Sensor - Sailoog - 2022-10-04

You need to wait for the openplotter-gpio app for openplotter 3 where DS18B20 are included.

Roadmap: https://forum.openmarine.net/showthread.php?tid=3878


RE: DS18B20 Temperature Sensor - Paul M - 2022-10-04

FYI,
I’ve been using an esp23 using SensESP to connect multiple one wire temp sensors (and other sensors) to open plotter 3 signal k on raspberry pi via Wi-Fi. Prior to the op3 GPIO and I2C apps becoming available.


RE: DS18B20 Temperature Sensor - svisara - 2022-10-05

(2022-10-04, 08:00 PM)Sailoog Wrote: You need to wait for the openplotter-gpio app for openplotter 3 where DS18B20 are included.

Roadmap: https://forum.openmarine.net/showthread.php?tid=3878

Copy thank you. Do you think it will be ready by early 2023?


RE: DS18B20 Temperature Sensor - Techstyle - 2022-10-06

I have DS18B20's connected to my Pi using Openplotter 2. There is a 1-wire interface through OP2 or RPi in general. I show a schematic of how mine is wired in this video: https://youtu.be/enPFlHpmJVA


RE: DS18B20 Temperature Sensor - svisara - 2022-10-15

Yes that's what I'll do in the meantime; try and install OP2 on a rpi4.

Why do you suggest 3.3v instead of 5v for the DS18B20? I have used 5v and I read that other people have used 5v as well.

If I do a long cable run, won't 5v be preferable?


RE: DS18B20 Temperature Sensor - tkurki - 2022-10-15

Waiting for OpenPlotter 3 gpio is not your only option, see for example https://pysselilivet.blogspot.com/2018/07/signalk-measuring-temperature.html?m=1