Hi
i am working on a pcb that uses atmega 328p DIP to send using lora , this desgin is battery powered .
now i want to measure the battery level.
the issue is that avcc and aref pins are directly tied to vcc.
and vcc is directly connected to battery + , (battery+ is directly connected to avcc and aref , vcc ). there is no voltage regulator between anything . the board is directly being run by battery .
So how can i measure battery voltage ?
i have acess to all the pin, jumpers and soldering iron.
So how can i reliably measure the battery voltage
lion battery 1 cell 4.2- 3.7 v mAh