Electronic – 1-wire parasitically powered microcontroller

1-wiremicrocontroller

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:

  1. Feed the data line right into the data input pin of your microcontroller.
  2. Also feed the data line into a Schottky diode.
  3. At the output of the diode put a largish (say 10uF) capacitor to ground.
  4. Send the output of the diode to the VCC pin of your microcontroller.

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.

Related Topic