PaxInstruments / t400-electronics

Electronics for the Pax Instruments T400 temperature datalogger
20 stars 9 forks source link

Does there need to be a voltage divider for the battery voltage measurement? #42

Closed charlespax closed 10 years ago

Tsillen commented 10 years ago

The voltage measurement should still be possible when vin is 3.7 V. So the voltage devider for the battery measurement needs to make sure that when the lipo is full the vmeas. line never exceeds 3.0V (leaving some safe margin).

charlespax commented 10 years ago

A nice implementation was suggested in the EEVblog forums https://github.com/PaxInstruments/t400-electronics/issues/36

charlespax commented 10 years ago

ATmega32U4 pin is now set to drain the VBAT voltage divider at VBAT_EN. See https://github.com/PaxInstruments/t400-electronics/issues/72