Let's Make Robots!

how do i monitor power useing Analogue I/P's

Hi Everyone, I have a 28x2 picaxe. I want to be able to monitor two different battery power packs (approx 5v each) on two of the analogue inputs. This is so I can switch to the best one using a relay on one of the outputs to power the Robot. I will use a time OFF delay with a capacitor so the picaxe is still powered during switchover.

My question is what circuit can give me the decline values into the Analogue input.???

Anyone help?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
That was discussed a few days ago here: http://letsmakerobots.com/node/13773

Thanks. got a 3.3ZD and 4.7kR and i got the readings i was after.

Thanks again.