Hello All,
I'm looking to read the value of a single-cell LiPo battery using ADC input. the battery voltage will range from 4.2 Volts (fully charged) to 3 Volts (fully discharged).
The 20x2 will be running off of 5 volts (through a power boost PCB).
Given the LiPo voltage swing is < 5V, I'm thinking a voltage divider is not necessary. However, I'm wondering if it might be wise to put a 1k resistor between the battery and the ADC pin?
I'm thinking...just of the off chance the pin is changed to an OUTPUT and switched to ground...a 1k resistor would limit the current through that pin to 5mA...thereby saving the PICAXE.
Any thoughts on this?
Is a resistor necessary? Is it overkill?
Thanks!
Brendan
I'm looking to read the value of a single-cell LiPo battery using ADC input. the battery voltage will range from 4.2 Volts (fully charged) to 3 Volts (fully discharged).
The 20x2 will be running off of 5 volts (through a power boost PCB).
Given the LiPo voltage swing is < 5V, I'm thinking a voltage divider is not necessary. However, I'm wondering if it might be wise to put a 1k resistor between the battery and the ADC pin?
I'm thinking...just of the off chance the pin is changed to an OUTPUT and switched to ground...a 1k resistor would limit the current through that pin to 5mA...thereby saving the PICAXE.
Any thoughts on this?
Is a resistor necessary? Is it overkill?
Thanks!
Brendan