Programing Johnny five

I need to program a johnny five robot for a school project but i have no idea how to start. I only know the basic about programing and i am absolutely lost for where to start my project,if someone could help me on how to start my code, or a example of how can i program the servos, i wold be very thankful. I am using a SSC-32 microcontroller for this project.

Hi,

You will need to send serial command to the SSC-32. This can be done by connecting it to an arduino’s serial port. If you prefer to connect it to a
computer, you will need a usb to serial adapter ( we strongly recommend this one: RB-Sha-14).

Here is a quick example copied from he Let’s make robot forum for arduino. If you use a PC, the principle is the same, send command on the serial port.

[code]void setup() {
Serial.begin(9600);
}

void loop() {
move(1, 2000, 100);
move(1, 1000, 100);
}

void move(int servo, int position, int time) {
Serial.print("#");
Serial.print(servo);
Serial.print(" P");
Serial.print(position);
Serial.print(" T");
Serial.println(time);
delay(time);
}[/code]

For more information on the communication protocol, here is a link to the SSC32 manual:
lynxmotion.com/images/html/build136.htm

You can also use the servo sequencer to try and move you servo motors:
robotshop.com/en/ssc-32-serv … ility.html