So I am new to all of this so give me some slack. I purchased my BotBoard II, atom pro, and PS2 controller and receiver around 2 years ago. I bought the sabertooth controller and A4WD1 with no electronics recently. I have a feeling that the atom pro is screwed up but I just can’t decide if it is. There are no burn marks or anything on any of the components.
All power on
I hear the ascending beeps 1 time.
The wheels began to idle (?)
Sabertooth and Botboard have no error reports
When I press any of the buttons the coordinating LEDs light up
The buttons do not change anything
The status light on the sabertooth does not flicker like I thought it was supposed to
I turn off the power of both and turn them back on and the ascending beeps loop for a random amount of time or if I press a button they stop
Wheels do random stuff and keep the pace.
There is no loose wiring (I have been working on this for a few days)
In another tutorial there is a code in where the beeper is supposed to sound when you press a button but it does not.
A couple of quick questions. If you bought the board a couple of years ago. Do you have an Atom Bot Board2 or the older one labeled with something like: mini-abb? If it is the older version, the buttons were on pins 4-6 instead of 12-14. If this is the case it is easy to change the code in the program to work. You need for example to change all of the:
IN12 to IN4
IN13 to IN5
IN14 to IN6
Also make sure the jumpers are in place for the buttons… The ones marked DAT/CMD/… in the picture your posted.
Ok, I have fresh batteries in everything. The PS2 controller connects, but nothing responds. Both lights on the receiver stay lit. I am using the lynxmotion one. I also tried my madcatz wireless controller and that didn’t work either. (there is no status light on the madcatz)
Sorry, but I am not very good at diagrams, but I will talk it through.
If you look at your main diagram, it has the connections to the Sabertooth on pins 0-1 which is fine. Likewise the servos in pins 2-3. But it has some servos in pins 4-6, Jumpers from pins 10 and 11 to two of the leds/Buttons and the PS2 in pins 12-15. The PS2 is on these pins as there is what is called pull-up resistors on pins 12 and 15, which is needed to make a PS2 work. On the older ABB (Atom Bot Board), these like the buttons were on pins 4-7 (pull-ups on 4 and 7).
So to make this this setup work on your rover, you need to move the PS2 to pins 4-7 like in your lower diagram and if you have them move the servos that were in those pins probably up to pins 12-14.
In addition make sure the power going to each of these 4 pin groups is correct. So now pins 4-7 should have the +5v and probably pins 12-15 should have VS.
Now you need to tell your program that you are using different pins. If you are using the program: (ps2a4wd1.bas), you will see that both configurations are defined in this file. That is:
'PS2 Controller / BotBoard I
'DAT con P4
'CMD con P5
'SEL con P6
'CLK con P7
'GRIP_UD con p12
'GRIP_Rot con p13
'GRIP_OC con p14
'PS2 Controller / BotBoard II
DAT con P12
CMD con P13
SEL con P14
CLK con P15
GRIP_UD con p4
GRIP_Rot con p5
GRIP_OC con p6
As you can see above the old ABB definitions are commented out (start with ') and the newer BB2 ones are currently used. So in your case you need to uncomment the old ones and comment out the newer BB2 definitions.
YESS!!! Good news is it works! Bad news is that I think I reversed the polarity on the lynx PS2 receiver and fried it, but I am using my madcatz one with no problems at all! You are awesome! Now I just need to find a code that makes it easier to control.