I have been trying to establish communication between a Vex micro-controller and an Atom28 (on a mini-ABB) for well over a month now.
I finally achieved serial transmission with the Vex (not as easy as one might think), and now I am beating my head against the wall on this last bit.
I am fairly new to this type of work, I have not really worked with hardware before at this level. As interesting as it is, I find myself overwhelmed by the amount of information I need to assimilate in order to figure this out.
I would appreciate any help that can be offered.
- I am not sure if I am connecting the two devices properly.
The pin outs from the VEX are
- CTS
2)+5V
3)RTS
4)GND
5)RX
6)TX
Now, I am trying to use the DB9 port on the mini-ABB and all I’ve managed to do is get it to reset.
I started with the code generated by powerpod for serial control of a BH3-R walker. I changed the baud rate to N115200 because that is the transmission rate of the vex controller. I have had problems getting it to transmit at lower baud, but I’m sure it is possible.
On the DB9 I have :
pin 2 -> RX
pin 3 -> TX
pin 5->GND
pin 6 -> pin 7
The servos go to the neutral pose (standing position) when the Vex controller is turned on, so there is some recognition that a signal exists at the serial port. (Since it won’t do that without the vex being connected or while the vex is off.)
I am sending a string when a button is pressed, “80 FF 7F 80 80 80 80” and a carriage return.
I am not really sure where to go from here.