Battery monitoring
jettenrules
Posts: 3
Hi all,
I recently bought my BoeBot, but I've done all excercises in the manual, and some things of my own, so I thought: let's try a bigger project.
I want to make my BoeBot more autonomous, by making it self-recharging. I've found some articles about making a docking-station, so that shouldn't be a problem (and else I'll ask [noparse];)[/noparse]).
The problem I'm facing is: Is there a way (simple and cheap) to know the battery level of the BoeBot? The idea is to program the Boebot to do it's thing (e.g. roam) and once in a while check it's battery level. If the level goes below a certain point, the program goes to the subroutine 'Recharge'.
I couldn't find any easy sensors in google (maybe bad keywords), only complex and expensive onces. A simple sensor with 1 IO-output would be great.
I'm a newbie to robotics/electronics, so pointers to tutorials/manuals or something would be nice [noparse]:)[/noparse]
Regards,
Sander
I recently bought my BoeBot, but I've done all excercises in the manual, and some things of my own, so I thought: let's try a bigger project.
I want to make my BoeBot more autonomous, by making it self-recharging. I've found some articles about making a docking-station, so that shouldn't be a problem (and else I'll ask [noparse];)[/noparse]).
The problem I'm facing is: Is there a way (simple and cheap) to know the battery level of the BoeBot? The idea is to program the Boebot to do it's thing (e.g. roam) and once in a while check it's battery level. If the level goes below a certain point, the program goes to the subroutine 'Recharge'.
I couldn't find any easy sensors in google (maybe bad keywords), only complex and expensive onces. A simple sensor with 1 IO-output would be great.
I'm a newbie to robotics/electronics, so pointers to tutorials/manuals or something would be nice [noparse]:)[/noparse]
Regards,
Sander
Comments
At the bottom of the page is the link to the Stamp stuff. Use the "app-notes" link and scroll down to the stuff on the RCTIME statement.
Surely, monitoring the battery voltage per Mike/Tracy is more reliable. NiMH batteries' discharge curve is not nearly as flat as·some people claim, and you could set some threshold value to trigger your routine. Voltage under a driving load is more useful than·the no-load·(motors off) voltage. It·could be as simple as adjusting a voltage divider pot across your battery voltage to the Basic Stamp's high/low input pin threshold of ~1.4 volts. When the batteries are charged, the sensed voltage·stays above 1.4 volts under load, and the input pin measures high. When it drops below 1.4 volts (input pin low) under load, head for the hills. Or the charger.
erco
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
I've got the RCtime-thing working now. I've got to experiment what are the right settings, which give BoeBot enough time to reach the dock though. Part one of project finished [noparse]:)[/noparse]
@ Erco: Is it alright if I PM you if I get stuck at your docking station? I'm going to try to build that now.
greetings,
Sander
Is that 12,3V enough to recharge 5 NiMH batteries?
@noobmuncher: Nice solution [noparse]:D[/noparse] Would've never thought of that. Will give that·a go in another project.
Sander
·
With experimentation, you can even use a fixed resistor as your current limiter instead of the LM317T. The whole idea is to limit the fully-charged current to less than 0.1C .
Noob:·Kudos for your·very simple and innovative·voltage monitor idea using an LED & photocell.·I guess a·standard CdS photocell would be most responsive to a yellow or green LED.·The price is a·small continuous current drain (maybe 5-8 mA?), but I'd guess that you could run a calibration and get pretty accurate voltage readings over a wide range. Nice job!
BTW, Junun has small green LEDs that operate at 2 mA, which would be useful here. Probably could get 'em down to 1 mA, maybe less... http://www.junun.org/MarkIII/Info.jsp?item=63
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Post Edited (erco) : 9/25/2008 11:04:41 PM GMT
·· I would like to hear more about this in your future posts as I wish to hook my boebot up to both a docking station and a Solar Cel recharger.
:-)