It is often necessary to monitor the power supply voltage in a piece of equipment. When the device takes its power from a battery, the input voltage can change and provide an indication of how much energy is left. Even a device powered from the mains can benefit from keeping an eye on the (various) power supply voltages in the circuit and take the necessary steps in the event of a fault condition.If a slightly intelligent reaction is required for this situation, it is obvious to do this with a microcontroller. This requires the microcontroller to periodically measure the voltages with one or more A/D converters and decide whether the values are correct or whether something is the matter.
Discussion (0 comments)