Adjusting

Share for us

In the process of assembling, there may occur the two feet are not on the ground or inclined to another direction, thus you can adjust by the way as shown below:

Case 1: The forefeet are inclined

1)   The left foot is in front, but the right one is behind

Step 1: Open Lizard_robot.ino file under the path Bionic Robot Kit for Arduino – Lizard\Code\Lizard_robot, you will see Crawl.ino, it will open at the same time with Lizard robot.ino.

Step 2: Find the statement: int array_setup[] = {90,90,90};//Set the original angle of the servo.

The three 90 inside the array stands for the angle of the three servos, the forefeet are controlled by number 1 servo. When the left foot is in front and the right one is behind, you should minus the first value of 90, but do not decrease too much in one time.

Step 3: Upload the code to the Sensor Shield.

If it looks still inclined then continue to decrease until it looks vertical to its body.

2)   The left foot is behind but the right is in front.

You need to increase the value of the first servo.

Case 2: The back foot is inclined

1) The left foot is in front, the right foot is behind

The back leg is controlled by servo 3, when the left leg is in front but the right one is behind, the third value in the array need be decreased.

2) The left leg is in back, but the right one is in front 

Increase the value of the third 90 in the array.

Case 3: The Lizard can’t stand steadily

When the head is deviation counter-clockwise and one of the forefoot can’t stand steadily, the second 90 in the array need to be decrease.

If it is clockwise, the second 90 need to be increased. When finishing adjusting, you can control the Lizard by remote controller.

Note: Before using the remote controller, the white patches on the tail should be pulled out, thus the remote controller can work.