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)
|