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.
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.