Go Down

Topic: OneWire Question (Read 366 times) previous topic - next topic

jeffob

Hi All,
I have plenty of pins available. I am using 3 Maxim DS18S20 temperature sensors.
Is there any drawback to creating three instances of a OneWire class, each with its own pin assignment?

Thanks.
Jeff O'Brien

pluggy

Why bother ? You can use as many as you want on one instance and one pin, they are all individually addressable.  I have 4 all on one pin.  
http://pluggy.is-a-geek.com/index.html

jeffob

i guess i had been reading some other posts related to DS18S20 and some other people seemed to be having some trouble.
thanks for the advice.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy