I've seen Dallas' 1-wire sensors, they look great. But, I'd like to make some custom 1-wire slaves which can be parasitically powered (just ground + data).
Can anyone recommend a low power microcontroller which is suitable for this?
Does anyone have a sample circuit for how I would power an MCU from the 1-wire bus?
Best Answer
The one wire bus has the bus passively (i.e. with a resistor) pulled up in the system, and devices communicate on the bus by pulling the bus down. What I would do if I wanted to pull power from the bus is:
You should use a Schottky diode, to minimize the voltage drop. The diode/capacitor combination should make it so that communication can take place (i.e. grounding the bus periodically) without shutting down the MCU. Putting the capacitor after the diode will keep the transitions on the bus data sharp, while keeping the decay of power (voltage) to your MCU gradual. The lower power the device you use is the better to minimize drain on your capacitor, but pretty much any MCU will probably work for you. My preference is Atmel's AVRs, but TI MSP430s and Microchip's PICs are also good candidates for low power consumption.