OpenMarine

Full Version: DS18B20 Temperature Sensor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/B0924NB...asin_title
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.
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
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.
(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?
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
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?
Waiting for OpenPlotter 3 gpio is not your only option, see for example https://pysselilivet.blogspot.com/2018/0...e.html?m=1