SainSmart 17-DOF Biped Humanoid Kit

From SainSmart Wiki
Jump to: navigation, search

Assemble Guide

Connect servo controller

1.Servo controller power supply: USB port or VSS port, voltage request:5V. (green squareness on diagram) 
2.Servo motor power supply:VS and GND, voltage request:5V-7.5V. (yellow squareness on diagram)  
3.Servo motor signal wire(orange color) must connect pin which marked red squareness on diagram.

17robot-p1.png

Ensure Servo motor on 0°situation

1.set 1500 on software 
2.connect servo motor to corresponding pin on controller 
3.choose corresponding COM port 
4.click the button "Online"

17robot-p2.png

Assemble Servo motor

1.Ensure servo motor logo side assembled as same as red arrow direction on diagram. (Important)

17robot-p3.png

Assemble Servo controller

1.Ensure servo controller assembled on back. (Important)

17robot-p4.png

Pin connection

1.Ensure pin connection as diagram. (Important)
 Tips:Bundle DuPont wire up to avoid interference when robot running

17robot-p5.png

Set software

1.Based pin connection set "Edit Servo Placement" as diagram. (Important)

17robot-p6.png


Code Sample

Forward

#1P1700#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1400#21P1600#22P1300#23P2000#24P1100#25P1550#30P1500#31P2500#32P1700T200
#1P1900#2P2500#3P1500#8P1600#9P1200#10P2000#11P1200#12P1400#21P1600#22P1400#23P2000#24P1000#25P1600#30P1500#31P2500#32P1900T200
#1P2100#2P2500#3P1500#8P1550#9P1200#10P2000#11P1200#12P1500#21P1500#22P1400#23P2000#24P1000#25P1550#30P1500#31P2500#32P2100T200
#1P1900#2P2500#3P1500#8P1450#9P1200#10P2000#11P1200#12P1600#21P1400#22P1400#23P2000#24P1000#25P1450#30P1500#31P2500#32P1900T200
#1P1500#2P2500#3P1500#8P1400#9P1100#10P2000#11P1400#12P1600#21P1400#22P1200#23P2000#24P1200#25P1400#30P1500#31P2500#32P1500T200
#1P1300#2P2500#3P1500#8P1450#9P1000#10P2000#11P1400#12P1500#21P1500#22P1200#23P2000#24P1200#25P1450#30P1500#31P2500#32P1300T200
#1P1100#2P2500#3P1500#8P1500#9P1000#10P2000#11P1400#12P1400#21P1600#22P1200#23P2000#24P1200#25P1500#30P1500#31P2500#32P1100T200
#1P1300#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1400#21P1600#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1300T200

337*337 337*337

Backward

#1P1700#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1400#21P1600#22P1300#23P2000#24P1100#25P1550#30P1500#31P2500#32P1700T200
#1P1900#2P2500#3P1500#8P1500#9P1000#10P2000#11P1400#12P1400#21P1600#22P1200#23P2000#24P1200#25P1500#30P1500#31P2500#32P1900T200
#1P1700#2P2500#3P1500#8P1450#9P1000#10P2000#11P1400#12P1500#21P1500#22P1200#23P2000#24P1200#25P1450#30P1500#31P2500#32P1700T200
#1P1500#2P2500#3P1500#8P1400#9P1000#10P2000#11P1400#12P1600#21P1400#22P1200#23P2000#24P1200#25P1400#30P1500#31P2500#32P1500T200
#1P1300#2P2500#3P1500#8P1450#9P1100#10P2000#11P1300#12P1600#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P1300T200
#1P1100#2P2500#3P1500#8P1450#9P1200#10P2000#11P1200#12P1600#21P1400#22P1400#23P2000#24P1000#25P1450#30P1500#31P2500#32P1100T200
#1P1300#2P2500#3P1500#8P1500#9P1200#10P2000#11P1200#12P1500#21P1500#22P1400#23P2000#24P1000#25P1500#30P1500#31P2500#32P1300T200
#1P1500#2P2500#3P1500#8P1550#9P1200#10P2000#11P1200#12P1400#21P1600#22P1400#23P2000#24P1000#25P1550#30P1500#31P2500#32P1500T200

2-backward-2.gif 2-backward-1.gif

Turn left

#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P1700#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1350#21P1650#22P1300#23P2000#24P1100#25P1550#30P1500#31P2500#32P1700T200
#1P1900#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1350#21P1850#22P1300#23P2000#24P1100#25P1550#30P1500#31P2500#32P1900T200
#1P2100#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1350#21P1850#22P1200#23P2000#24P1400#25P1550#30P1500#31P2500#32P2100T200
#1P1900#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1350#21P1650#22P1200#23P2000#24P1400#25P1550#30P1500#31P2500#32P1900T200
#1P1700#2P2500#3P1500#8P1550#9P1100#10P2000#11P1300#12P1350#21P1650#22P1300#23P2000#24P1100#25P1550#30P1500#31P2500#32P1700T500

3-turn-left.gif

Turn right

#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P1300#2P2500#3P1500#8P1450#9P1100#10P2000#11P1300#12P1600#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P1300T200
#1P1100#2P2500#3P1500#8P1450#9P1100#10P2000#11P1300#12P1850#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P1100T200
#1P900#2P2500#3P1500#8P1450#9P1400#10P2000#11P1200#12P1850#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P900T200
#1P1100#2P2500#3P1500#8P1450#9P1400#10P2000#11P1200#12P1600#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P1100T200
#1P1300#2P2500#3P1500#8P1450#9P1100#10P2000#11P1300#12P1600#21P1400#22P1300#23P2000#24P1100#25P1450#30P1500#31P2500#32P1300T500

4-turn-right.gif

Stand up

#1P1500#2P2500#3P1500#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1500#10P1500#11P600#12P1500#21P1500#22P600#23P1500#24P1500#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P500#10P1500#11P900#12P1500#21P1500#22P900#23P1500#24P500#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P500#10P800#11P1500#12P1500#21P1500#22P1500#23P800#24P500#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P500#10P500#11P2300#12P1500#21P1500#22P2300#23P500#24P500#25P1500#30P1500#31P2500#32P1500T1000
#1P1500#2P2500#3P1500#8P1500#9P800#10P500#11P2300#12P1500#21P1500#22P2300#23P500#24P800#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P800#10P800#11P2300#12P1500#21P1500#22P2300#23P800#24P800#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1000#10P800#11P2300#12P1500#21P1500#22P2300#23P800#24P1000#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1000#10P1000#11P2100#12P1500#21P1500#22P2100#23P1000#24P1000#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1000#10P1200#11P1900#12P1500#21P1500#22P1900#23P1200#24P1000#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1000#10P1500#11P1700#12P1500#21P1500#22P1700#23P1500#24P1000#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500

5-stand up.gif

Push-up

#1P1500#2P2500#3P1500#8P1500#9P1100#10P2500#11P900#12P1500#21P1500#22P900#23P2500#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1600#10P2500#11P500#12P1500#21P1500#22P500#23P2500#24P1600#25P1500#30P1500#31P2500#32P1500T500
#1P700#2P2500#3P1500#8P1500#9P1100#10P2100#11P500#12P1500#21P1500#22P500#23P2100#24P1100#25P1500#30P1500#31P2500#32P2400T1000
#1P700#2P2500#3P1500#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P1500#31P2500#32P2400T1000
#1P700#2P2100#3P700#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P700#31P2100#32P2400T1000
#1P700#2P2500#3P1500#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P1500#31P2500#32P2400T1000
#1P700#2P2100#3P700#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P700#31P2100#32P2400T1000
#1P700#2P2500#3P1500#8P1500#9P1500#10P1500#11P1500#12P1500#21P1500#22P1500#23P1500#24P1500#25P1500#30P1500#31P2500#32P2400T1000

6-push-up.gif

Wave left hand

#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P500#2P2500#3P500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500

7-left-hand.gif

Wave right hand

#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P1500T500
#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P2500T500
#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P500#31P2500#32P2500T500
#1P1500#2P2500#3P1500#8P1500#9P1100#10P2000#11P1300#12P1500#21P1500#22P1300#23P2000#24P1100#25P1500#30P1500#31P2500#32P2500T500

8-right-hand.gif


Control robot by PS2

Pin connection

1.Connect PS2 receiver and servo controller with DuPont wire as diagram.
 Tips:Both PS2 receiver indicator lights will turn on after correct operation and normal power supply.

17robot-p7.png

Set software

1.Import sample code

17robot-p12.png

2.Download sample code to servo controller after having imported each time.(must keep online)

17robot-p13.png

1.Run RIOS_USC software and click Remote button

17robot-p8.png

2.Enter action code in input box (#1GC2 , 1G means first action group,C2 means executing twice)

17robot-p9.png

3.After clicking “Online” button , click “OK” button.

17robot-p10.png

4.When display “PS2 setting is OK” , restart the servo controller(recharge servo controller) ,then you can control robot by PS2.

17robot-p11.png

Download resource