TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RICHARD OWLETT
from: BIG BAD BOB
date: 2020-04-06 16:30:00
subject: Re: rPi 3 w/thermistor

On 2020-02-28 02:19, Richard Owlett wrote:
>> Plenty of code out there to work with them (and many of the other
>> 1-Wire devices).
>>
>
> One wire?
> BULL! I quote the referenced pdf "... one data line (and ground)".
> And as a PRACTICAL point you need another wire to power the device.
> That makes it a *THREE* wire device.

I've used the DS13B20 in many applications with parasitic power.

ONE WIRE (plus ground).  One.  Uno.  Hitotsu.  Ein.  Un.  It works.

As I recall, you use a 2k resistor between 3.3v and the data line, and
connect data and ground to the correct GPIO and ground on the RPi.  The
1-wire interface should be able to handle devices that use parasitic power.

but if you want to split hairs over terms, *whatever*...
(most people find nit-pickers to be irritating)

--
(aka 'Bombastic Bob' in case you wondered)

'Feeling with my fingers, and thinking with my brain' - me

'your story is so touching, but it sounds just like a lie'
"Straighten up and fly right"

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.