Go Down

Topic: DS18B20 and MOSFET (Read 691 times) previous topic - next topic

cwrose

Does anyone have any hardware circuits or Arduino code to power
a OneWire bus with a MOSFET, rather than a pull-up resistor.
I'm really not sure of the timing needed to actively drive the bus.

Thanks - Will

Kong

You can't power the 1-wire bus with a mosfet, you need a pull-up resistor. Why shouldn't you use a pull-up resistor?
The data line of 1-wire pulls the (5V) line low, to prevent short-circuit you'll need a resistor.
See also http://playground.arduino.cc/Learning/OneWire

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