Tjaart van der Walt wrote: > > If you use a FET for charging, you can use the drain/source > voltage drop. Measure the two sides with an over-the-top > opamp, and amplify enough for the A/D on your PIC. Keeping in mind that Rds(on) varies with temperature... ------------------------------------------------------------------------------- Mike Westfall N6KUY xyzzy@acm.org mwestfal@odc.net http://www.odc.net/~mwestfal Linux religious dogma: "The Gates of Hell shall not prevail." -------------------------------------------------------------------------------