I am trying to program a robotic arm for the first time. I am using an SSC-32 and a Bot board II (28 pins) with basic atom. I am having trouble writing a program as I am not too familiar with the programming language for Basic atom. can anyone show me a simple example of what I should write to control the servo motors?
I have tried this, but it does not work. I have the microprocessor connected according to the manual, and the power is also connected. The program compiles correctly, and appears to program, but the arm does not move. I have a jumper connecting the board power and the servo motor power, so i don’t think power is the issue.
There are several jumpers on the SSC-32 that need to be checked. First the jumpers for the coms need to be set for MCU control. Make sure the baud rate jumpers are set for 38k4 baud and RX/TX pins have the data cable on the right pins. Refer to the image below. For the data cable you need unidirectional TTL serial communication located at top right of the diagram.
On the boat board, you will need to send the commands to the pin number the data cable is connected to. If you connected the cable to pin #8 then you need to send to pin#8.
Once all conections and jumpers are varified, check to see if the SSC-32 green light is on and that it goes out and blinks when the program runs.
The LED on the SSC-32 goes on and then starts blinking. The LED on the Bot Board stays lit.
The servos are connected to channels 0 through 4 on the SSC-32 and all work properly when tested using RIOS. The bot board is connected to the SSC-32 at channel 15 in the bot board and at RX and Ground on the SSC-32. power is connected to VS with a jumper to VL. VL is then connected to VS on the Bot board, which also has a jumper to VL. The RS-232 is connected from the serial port on my computer to the Bot board. I am using a baudrate of 38.4kbs.
I tried using the code from the link you sent, but it did not work. I also tried changing the channels and eliminating the rotating wrist, since i do not have one.
When I load the program, it seems to work, but then nothing happens to the arm.
Did you change the baud rate jumpers on the SSC-32 to 38.4k settings?
Because the SSC-32 is receiving data, evident by the LED blinking, then it’s a matter of baud rate.