Dancing MicroBit Robot

by igorboccafoli in Circuits > Microcontrollers

1596 Views, 5 Favorites, 0 Comments

Dancing MicroBit Robot

IMG_20200617_191931.jpg

There are many instructions for creating robots with controllers such as Raspberry or similar.

This version is controlled by a Micro: bit which I think is very powerful, like many others, but much easier to program for children.

Supplies

my passion is electronics and programming, assembling, building ... you have to use your energy for fun things, for this reason the drawing of the robot parts was taken from: Drawing of the robot

Print the Parts

IMG_20200517_160751.jpg
IMG_20200517_165923.jpg
IMG_20200517_170839.jpg

Print and clean the parts from any burrs or supporting structures.

Fix Servo

IMG_20200517_172014.jpg
IMG_20200517_175437.jpg

Fix the SG90, it is necessary to find the end position. For example, the right arm will be fixed with a limit switch at 0 degrees, while the left arm at 180, being inverted with each other.

The same thing goes for the legs.
Better not to tighten the screw until the correct position is found. Use glue to secure (or small screws).

IMG_20200618_214257.jpg
IMG_20200617_191922.png
IMG_20200617_191925.jpg

fix the battery holder and the PCA9685 module on the back with a few screws.

in the second image you can see where I inserted the microswitch

Diapositiva1.PNG
IMG_20200618_214236.jpg
IMG_20200617_191922.jpg

This is the wiring diagram and the links are as follows:

PCA9685 PORT 0 = HEAD

PCA9685 PORT1 = LEFT SHOULDER

PCA9685 PORT2 = LEFT ELBOW

PCA9685 PORT3 = HIP - LEFT

PCA9685 PORT4 = LEFT KNEE

PCA9685 PORT5 = LEFT FOOT

PCA9685 PORT6 = RIGHT SHOULDER

PCA9685 PORT7 = RIGHT ELBOW

PCA9685 PORT8 = RIGHT HIP

PCA9685 PORT9 = RIGHT KNEE

PCA9685 PORT10 = RIGHT FOOT

IMG_20200618_214205.jpg
IMG_20200618_214140.jpg

Now you can make the connections inside the robot, connect the speaker and the LED eyes.

The edge connector is fixed with hot glue, insert two screws into the connector and fasten them to the sides.

IBC ROBOT

finally the HEX code, you can open the editor directly from the following link.

https://makecode.microbit.org/_1aUCbeWT9ipK

I hope I have not forgotten anything. Have fun !