Switching Voltage Divider off/on?

Discussion in 'Embedded Systems and Microcontrollers' started by jdraughn, Apr 1, 2011.

  1. jdraughn

    Thread Starter Active Member

    Jan 30, 2009
    I am able to measure the voltage of 12v using a voltage divider perfectly right now, but I would like to only apply power to the divider periodically to save power.

    Whats the best way to switch a divider off and on using my MCU so I can wake it up, turn on a port which will turn on the divider, measure the voltage, turn off the port, put the MCU back to sleep.