This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DS18B20 Temperature Sensor
#1
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
Reply
#2
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.
Reply
#3
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
Reply
#4
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.
Reply
#5
(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?
Reply
#6
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
Reply
#7
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?
Reply
#8
Waiting for OpenPlotter 3 gpio is not your only option, see for example https://pysselilivet.blogspot.com/2018/0...e.html?m=1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)