Make a Dancing Robot Without 3d Printer and Arduino/#smartcreativity

by smartcreativityofficial in Circuits > Microcontrollers

1641 Views, 7 Favorites, 0 Comments

Make a Dancing Robot Without 3d Printer and Arduino/#smartcreativity

DIY amazing dancing robot || #Otto_DIY ||Cool project || #smartcreativity

Hello friends, in this tutorial I will show you to how to make a dancing robot at home without 3D printer and without Arduino. This robot is able to dance, auto balancing, music producing and walking. And the design of Robot is also looking so cool....

Required Components

IMG20200818151356.jpg

These are the required components in which I am using circuit playground, servo motor, jumper wire, servo attacher, cardboard paper and a plastic cylindrical box.

we will use plastic box to make the head part of robot and we also put all wires and micro-controller in it.

Attaching Servo

IMG20200818151826.jpg
IMG20200818151854.jpg
IMG20200818151935.jpg

I make two holes in the bottom part of box to attach the servo motor. Attach both servo tightly in the hole and then adjust servo wire.

Make a Leg Design

IMG20200818151958.jpg

After attaching the servo motor we have to make a Leg design of robot. We will use a thick cardboard paper to make this. We will cut two small piece of cardboard and make a simple leg design as shown in image.

After making leg design we will set a servo attacher to the leg to connect the servo with his leg as shown in below image.

Attach Leg to Servo

IMG20200818152049.jpg

Now attach the Leg to the servo motor one by one. Attach both leg tightly to make a good body. See below image to do this.

We can also use 4 servo motor in place of these two. Because if we will use 4 servo we can add many other movements in this robot. In two servo motor robot we can only programmed it for walking, simple dancing and some activity like moon walking, vibrating like etc.
So, connect all parts correctly as shown in image.

Connect Servo With Jumper

IMG20200818152615.jpg

Now we have to connect jumper wires with servo motor. See below image to connect jumper wires with servo. Connect all wires with its matching color.

After connecting all wires and attaching all parts our Robot body is ready. Let's jump to our next and important step to how to connect with micro-controller.

Circuit Playground Our Micro-controller

IMG20200818151623.jpg

Before connecting the jumper with micro-controller first take a look on Circuit playground express. Because circuit playground express is a new type of micro-controller and totally different from Arduino so we should have to know some about circuit playground.

This is our micro-controller circuit playground express. In this micro-controller there are many sensors, 3 function-able buttons, 10 multicolored LED and many input and output pins. Many features is available in this micro controller so I am using this in my projects.

Wiring

IMG20200818152713.jpg

After looking about this let's connect the jumper wires with circuit playground express.

Connect wires as- Yellow jumper - PinA1, Red jumper - Pin3.3v(i) Black jumper - Pin gnd(gnd) Blue jumper - Pin3.3v(ii) White Jumper - Pin gnd(ii) Green jumper - PinA2

fter connecting all wires and Jumper, adjust all wire and put all jumper and micro-controller in the box. Put all thing very carefully as no one wire should have to disconnect. That's it............
So our cute and DIY amazing dancing robot is ready.

Code

Screenshot (161).png

input.onLoudSound(function () {

for (let i = 0; i < 4; i++) { if (input.soundLevel() >= 130) { for (let i = 0; i < 4; i++) { pins.A1.servoWrite(155) pins.A2.servoWrite(25) pause(500) pins.A1.servoWrite(130) pins.A2.servoWrite(50) pause(500) } pins.A1.servoWrite(130) pins.A2.servoWrite(50) } light.showAnimation(light.rainbowAnimation, 500) pins.A1.servoWrite(130) pins.A2.servoWrite(50) for (let i = 0; i < 6; i++) { pause(200) pins.A1.servoWrite(170) pause(100) pins.A2.servoWrite(10) pause(200) pins.A1.servoWrite(130) pause(100) pins.A2.servoWrite(50) pause(200) } pins.A1.servoWrite(130) pins.A2.servoWrite(50) for (let i = 0; i < 6; i++) { pause(200) pins.A2.servoWrite(10) pause(200) pins.A1.servoWrite(170) pause(100) pins.A2.servoWrite(50) pause(200) pins.A1.servoWrite(130) pause(100) } pins.A1.servoWrite(130) pins.A2.servoWrite(50) for (let i = 0; i < 4; i++) { pause(100) pins.A1.servoWrite(180) pause(100) pins.A1.servoWrite(130) pause(200) } for (let i = 0; i < 4; i++) { pause(100) pins.A2.servoWrite(80) pause(100) pins.A2.servoWrite(50) pause(200) } pins.A1.servoWrite(130) pins.A2.servoWrite(50) } }) pins.A1.servoWrite(130) pins.A2.servoWrite(50) forever(function () { light.setBrightness(255) light.showAnimation(light.rainbowAnimation, 2000) pause(2000) light.showAnimation(light.runningLightsAnimation, 500) pause(2500) light.showAnimation(light.colorWipeAnimation, 2000) pause(2500) }) forever(function () { music.playMelody("C5 B A G F E D C ", 120) music.playMelody("C D E F G A B C5 ", 120) music.playMelody("E B C5 A B G A F ", 120) music.playMelody("C5 A B G A F G E ", 120) })

Robot Is Ready

ototooto.PNG

So, I hope that you all enjoy in this project and also like this.

NextPCB -

images_(17)_FXFyCvcxfw.jpeg

NextPCB is a high quality PCB manufacturer with professional PCB manufacturing capabilities. PCB materials are certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH. NextPCB uses very accelerate method to deliver the PCB within just 6-8 days. I have been also using there service for past two years and I always get good results. So, I suggest all mechanical creator should have to buy PCB from NextPCB.

NextPCB provides up to 4-12 layer PCB. The PCB quality is also very good. For only 10$ you can get 10 PCB of any color that you want. For ordering the PCB you have to go the website of NextPCB. Just go to the website Upload your gerber file, select PCB setting and order 10 high quality PCB now. For more information - https://nextpcb.com

Please Support Us by Subscribing Me on Youtube

If you Like this project then please support me by "subscribing" my YouTube channel.
Subscribe now - https://youtu.be/mrpztOozA2U

You can also share new projects idea with me by commenting here.

Facebook- @circuitjamer , Instagram- @circuitjamerSo, bye guys ..............see you in next projects.. Thanks for visiting in this tutorial...... #smartcreativity , #circuitjamer , #robotics