BB2 eating 9v batteries

Hello all, would like some advice,

I’ve been having problems trying to connect to the BB2 to run a test from the Basic Micro Studio. In doing so, I noticed that the power LED goes out after a minute. I assume the LED is suppose to stay on the entire duration. It seems that the BB2 is eating up my 9v batteries before I can up load the test.

Does this seem right? Perhaps there is a better brand of battery than HOME360 (generic I believe). Is there a “better” way to provide power for both the BB2 and SSC?

Thanks,

Nope!

Sounds like you have a short on the supply line. Do you perhaps have servos connected, VS-VL jumper in?

Alan KM6VV

Hi,

Do you have a multimeter for measuring the current drawn by the BB2?

You don’t mention if you have any other components connected to the board. If you have servos or other heavy current draw devices connected then they can kill the 9v battery.

So I removed the BB2 from the SSC and was able to run the test program (battery wasn’t instantly consumed!). I tried to load the .bas file outputted from the powerpod and received the following error when compiling:

“…[LINE 162] : [TOKEN DATA] : Unknown Command”

Looking on 162 (notepad++), I see “data” followed by positional data. I used the newest (vx.44) master.pmp file to build my .bas. I’ve been searching the forums for previous solutions/answers, but nothing yet. Any thoughts are appreciated.

I figure once I get the atom pro loaded back up I’ll reexamine the battery issue when connected to the SSC-32.

Hi,

Would you mind posting the actual line of code?
When you get the compiler error you can doubleclick on the error message and the cursor jumps to the line (in your example, line 162).

Below is the code, the error begins at “data”:

;ACos
data 64,64,63,63,63,62,62,62,61,61,61,60,60,60,59,59,|
59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,|
54,53,53,53,52,52,52,51,51,51,50,50,50,49,49,49,|
48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,|
42,42,42,41,41,41,40,40,39,39,39,38,38,37,37,37,|
36,36,35,35,35,34,34,33,33,32,32,31,31,31,30,30,|
29,29,28,28,27,27,26,25,25,24,24,23,23,22,21,21,|
20,19,19,18,17,16,15,15,14,13,11,10,09,07,05,00

I’m reading through the manual to see if there is an issue with syntax.

My guess is that you told powerpod to create the code for an Atom and then you compiled it on an Atom Pro, which does not use the DATA statement, but probably instead uses the bytetable.

Kurt

I’m sorry, I’m a bit confused.

I did use the powerpod but I did not notice an option for Atom or AtomPro.

To recap, and reviewing the syntax guide, it should look like:

data ByteTable …blah blah blah

Well that compiled and loaded. We will soon see if it worked.

Ok figured everything out.

As for the battery issue, I believe I had the PS2 controller power/ground reversed, which seemed to be causing my problems. Thanks for the help.