Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

Help needed for parasite mode for temperature sensors

2832 Views - Created 23/04/2016


Posted by:

tom57 Avatar

Hi,Actually I am connecting a couple of DS18b20 temperature sensors to the 1-Wire Pi with all three pins in external vdd powered mode.Now I want to connect a new temperature sensor - but I have only a 2-wire cable available. Reading the specs I am not sure how to connect a DS18b20 sensor to the board in parasite mode.Do I need an additional resistor for this part of line?Can I mix both operation modes on one 1-wire board?ThanksThomas


Posted by:

andrew Avatar

United Kingdom

andrew Twitter  andrew Website  

Hi ThomasYou should be able to run the DS18B20 in parasitic mode on the 1 Wire Pi. I have just tested a DS18B20 on a 1 Wire Pi with the 5V pin disconnected and the Raspberry Pi detected it and read the temperature. You just need to connect the DQ pin on the DS18B20 to OW on the 1 Wire Pi and GND to either GND or RT.The internal pullup resistor on the 1 Wire chip should provide enough power to run a DS18B20 in parasitic mode and I don't think there should be any problems with mixing both operation modes on the same 1 Wire bus.

Sign in to post your reply

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.