Battery Question

I’ve heard there’s voltage cutoff circuitry in the Bot Board to enable the use of a lithium polymer battery. If this is true, how do I set it up?

Not exactly, there is built in battery voltage monitoring via the A to D inputs for use with the VS and VL terminals. You can write in your program some code to alert you when the voltage drops below a certain level. It’s not difficult to program whatever behaviour you want in relationship to the power supply voltages.

Thanks for the info, but now I have another question. What commands would allow me to monitor the voltage on those inputs? I’m still trying to figure out this whole programming business.

It’s kind of hard to teach someone how to program in the forums. You can download the Syntax manual and get started that way.

What I have done is download the Syntax manual for the BAP and every day read 3 or 4 pages till I was done. It gets fun when you actually try to program and things don’t work. Be careful of this character “`” it prevented my program from compiling for some odd reason. The first command I would learn is the Debug command and learn how to use it. This will help you to see how the program outputs which is extremely important.

You would have to read the analog input for the voltages. There are four pins for the first two analog inputs (AX0 and AX1 for the Basic Atom). You read these analog inputs and then do whatever processing you want to do based on the voltage. You can find better information about the analog inputs in the manual for the Basic Atom or Atom PRO, whichever one you are using. You can download the manuals from Basic Micro.

8-Dale