If you simply need high/low, you could use a voltage divider sized that when the battery voltage is low enough, the voltage input to the BS1 will cross the threshold and go from high to low.
If you need a relative value, perhaps the RCTime command (or equivelent to the BS1) could be used to measure the charge rate of a capacitor based on battery voltage?
There is also an· example on using a Voltage Controlled Oscillator (VCO) in the BS1 Appnotes. I use a 4046 and the pulsin command to measure a 6V battery connected to a solar panel and it works great with some math to correct for the non-linear result.
Comments
If you need a relative value, perhaps the RCTime command (or equivelent to the BS1) could be used to measure the charge rate of a capacitor based on battery voltage?
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
M
page 95 has a schematic of the 4046.
·