Go Down

Topic: DS18B20 and MOSFET (Read 652 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