How to enable parasitic power pull-up?
The 1 Wire Pi Plus and 1 Wire Pi Zero are a 1 Wire interface for the Raspberry Pi
25/01/2017
Posted by:
Lomax
25/01/2017
Posted by:
andrew
The 1 Wire Pi should be able to read a DS18S20 in parasitic mode without enabling active pullup, I have a dev board with one of the DS18S20 iButton sensors connected to the DS2482-100 using a short cable and the temperature can be read using owfs. Can you check that you have the wires connected correctly to the sensor? You need to connect the DQ pin on the DS18S20 to OW on the 1 Wire Pi and GND to either GND or RT.
26/01/2017
Posted by:
Lomax
26/01/2017
Posted by:
andrew
Without the active pull-up option enabled I am measuring 4.6V at around 3.5mA on the OW pin on my 1 Wire Pi so there should be enough power there to run a sensor in parasitic mode. The DS2482-100 must have a pull-up resistor or some other circuitry that provides some power even when the active pullup is disabled.
Can you check your owfs.conf to make sure the line "server: FAKE = DS18S20,DS2405" is commented out with a #? If this line is still active then that could explain why the sensor is stuck at 85 degrees as it would be reading from a fake sensor instead of the real one.
Would it be possible to replace the DS18S20 on your weather station with the DS18F20 powered version?
29/01/2017
Posted by:
Lomax
29/01/2017
Posted by:
Lomax
29/01/2017
Posted by:
andrew
29/01/2017
Posted by:
Lomax
24/12/2018
Posted by:
nprater
I'm not using owfs, but instead accessing the devices via /sys/bus/w1/devices/...
As per the original post, I was initially getting temperature readings stuck at 85 degrees.
The fix:
echo 0 > /sys/bus/w1/devices/w1_bus_master2/w1_master_pullup
My DS18B20 devices are connected between the ESD-protected IO and Return (pins 3 and 4) of the interface board RJ12 connector. GND and VDD pins of the DS18B20 are linked.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.