Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unreliable DS18B20 Readings
#16
Yeah I've seen issues with various lights, sometimes power supply or driver circuit so that could be it.

As you've noted it's not idea being in a STAR configuration, running them in parallel is better but under 5 meters per line in star isn't that bad in my experience, I've tested three 15m and they ran fine for a couple days. On mine I'm running two 5m + 1 bare. Unfortunately I don't have as many GPIO's as I want that's why they share the same but I think I have to split them somehow as this is happening more than I like. Soon I'm also going to have a 8 port extension that could plug into a DB9, it would give 8 new 1-wire buses the way it should be.

Here's a pic to remove those resistors, these are a voltage divider that the DS18B20 can't get by. I circled the group of resistors for each sensor port if you want to change more, the blue resistor needs to be removed  and the pad is left empty, the yellow resistor needs to be removed and the pads for this resistor soldered so they bridge.

Sensor port jumpers should be set as follows. One jumper is on "OTHER" and 2nd jumper is on "P-U".

On the Pi you need to edit the /boot/config.txt file to enable the extra 1-wire buses

You will have the following line somewhere
dtoverlay=w1-gpio

Remove that line and replace with the following two lines.
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=17

The first line is GPIO pin 4 which goes to the 3 temp ports.
The 2nd line is the GPIO for the sensor port. You can add as many extras as long as pin number is different obviously.

These are the GPIO numbers for each sensor port.

Sensor Port 1 =  17
Sensor Port 2 =  27
Sensor Port 3 =  19

In reef-pi you'll want to delete the connectors for the sensor port/s you use. After doing that go to "admin" tab and press "reload" button. It's probably best to start with this step, then hardware, then Pi.

If you need more info let me know.

[Image: remove_voltage_divider.jpg]
Reply to top


Messages In This Thread
Unreliable DS18B20 Readings - by pwest - 06-19-2021, 09:04 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 02:34 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 04:25 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 05:28 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 06:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 07:26 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 01:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 03:07 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 04:17 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 04:39 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 09:22 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 02:52 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 04:27 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 04:41 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 05:07 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 05:50 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-04-2021, 03:33 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-04-2021, 07:10 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-10-2021, 04:14 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-10-2021, 05:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved]DS18B20 all temp sensors disappeared kukulin 1 1,478 11-05-2021, 09:21 AM
Last Post: Rob F

Forum Jump:

Current time: 04-29-2024, 02:47 AM