On 7/16/2013 11:59 PM, lee@baudalign.com wrote: > I'm making a li-ion (18650 battery) powered board with mostly 3.3V PIC an= d > devices on board, with a 3.3V buck-boost, but I realised in my last > version that I'd left out any sort of battery monitoring. I don't > actually need/want much, I don't necessarily need to read the > voltage/current all the time, just need some way of noticing the battery > is getting low and setting a flag in the PIC to display a "charge battery= " > indicator? > A diode or two on the 18650 battery to drop it to 3.1V connected to a=20 10k resistor in series on the ADC channel should do the job. Mark --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .