leodh
Posts: 8
Joined: Fri Apr 18, 2014 10:23 am

DS18b20 voltage question

Mon Jun 23, 2014 12:32 pm

Hi,

Just a quick question about the voltage of the 1820 temperature probes. I read that you should only use 3.3v with the GPIO pins on the PI, but most of the wiring diagrams for the 1820 are connected to the 5 volt pin.
As I am going to be using between 7 and 10 probes ( about a 10 meter run, evenly spaced ) should I be use 3.3 or 5 volts.

Any comments or advice?

Thanks
Leo

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: DS18b20 voltage question

Mon Jun 23, 2014 12:36 pm

leodh wrote:
Any comments or advice?

Thanks
Leo
Read the datasheet from the manufacturer. Follow their recommendations.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: DS18b20 voltage question

Mon Jun 23, 2014 1:06 pm

Hi Leo,
leodh wrote:As I am going to be using between 7 and 10 probes ( about a 10 meter run, evenly spaced ) should I be use 3.3 or 5 volts.

Any comments or advice?
Since you have several probes, try to avoid parasite power mode (this depends also on conversion frequency, etc). You can use 5V supply voltage, which offers some more margin. Additionally, you could get better results by decreasing the data line pull-up resistor (value mostly listed as 4k7) to 3k3 or even slightly more.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Return to “Automation, sensing and robotics”