www.greyrobotics.in
18
5.12 Battery voltage sensing –
A resistor network is used to scale down the battery voltage below 5V and given to the
ADC6 pin of the microcontroller. Voltage divider network will give half of the
Battery voltage value to the ADC6 of the microcontroller. If ADC is used with 10-bit resolution,
use the following formula for getting the battery voltage level:
Battery voltage = 2 x ADC 6 value of 10-bit resolution x 5V/1024
6.
OPTIONAL INTERFACES
Figure 7: Additional Interfaces of Greybot