Question about pins: 12-15

Hello,
Just got my BASIC Atom Pro & BotBoard 2. I also got the PS2 controller from lynmotion. My question is there is the area for connecting the PS2 which is labled pins 12 through 15 and there is pins 12-15 down on the I/O strip. What is the difference between those pins 12-15? Is it in the jumpers? And if anyone has any snippits of code for the PS2 controller for this set-up could you please place it here to help me get started, i’d appriciate it. :laughing:

First for code snipits you should look at:
lynxmotion.com/images/html/build034.htm

Make sure to use the definitions for BB2 which have the pins defined on 12-15.

Yes the differences are in the jumpers. In particular, for the PS2 to properly work you need 1 or 2 pull-up resistors, which are setup for you on 12-15. On the earlier board, the pull-ups were set for pins 4-7 which worked great for the Atom, but did not work on the pro as at least one of these pins only output 3.3v which the PS2 controller did not like.

Can it be moved to another group, like 8-11? Yes, but again you will have to add your own resistor(s). Some of us have done this as the hardware serial port is on P14 and P15, but that is probably more than you are asking about…

Kurt

Thanks,
So what is the jumper settings to use the pins 12-15 on the I/O strip on the bottom of the BotBoard 2? I want to use them so i can use the rumble feature in the PS2 controller, so i need the 7.2vdc on the I/O strip set up.

Do i just need to disconnect the jumpers near the LEDs? also do i need to do anything besides change the 12-15 con to the PS2 settings from the con 4-7?

If you look at the documentation for the BB2, you will notice on page 3 a setup using the PS2. In this setup it looks like they have removed these jumpers.

The easiest way to find out if you need to change anything else is to try it. My robot with PS2 controller is currently disasembled and it is also based on the old bot board with resistors soldered in…

Good Luck

For the Bot Board II, there is no difference with using the PS2 controller “port” or using the pins along the I/O bus. The jumpers that enable the LED’s and buttons should be removed in either case. We have scheduled the creation of a Bot Board II and Atom Pro version of this tutorial. It should be completed in a week or two.

Although many tethered PS2 controllers require the 7.2vdc on the green wire of our cable to enable the motors. However it is not required on our house brand PS2 controller.

Thanks this is good news to me! :laughing:

Also i was curious what language that code was in, in the link above. It doesnt look like basic to me but im not an expert or anything. thanks in advance. :wink:

It is the basic for the Basic Micro Atom Microcontroller…