The Arduino Robot: a Wobbly Penguin
by Jaychouu in Circuits > Arduino
2171 Views, 8 Favorites, 0 Comments
The Arduino Robot: a Wobbly Penguin
![LASER CUT DANCING PENGUIN made with DROBOT ROMEO BLE MINI](/proxy/?url=https://content.instructables.com/F4N/UUUV/J58FQUUQ/F4NUUUVJ58FQUUQ.jpg&filename=LASER CUT DANCING PENGUIN made with DROBOT ROMEO BLE MINI)
![image003.png](/proxy/?url=https://content.instructables.com/FCO/ONM4/J58FQR1R/FCOONM4J58FQR1R.png&filename=image003.png)
Summer comes with increasing heat, as a diligent DIY fan how could I do nothing but just eat ice cream?I need to design a small present to you and myself, something cute and interesting, how about a small penguin? Guess that it stands in front of you and winks, sayin‘May I help you?’
Besides its look, one of important features is the special penguin step, which makes the robot lovely. Therefore, I stress the wobbly step a lot. Fortunately, I found here comes with chirps when the robot shakes its head, the friction between gear and wooden structure during the working progress. The natural penguin-style sound helps me a lot.
Come to check my work!
I used to choose normal Arduino UNO as the main board in the beginning. However, Arduino UNO does not have in-built motor drive chip and it is too large, I have to buy an extra motor drive expansion board, which is expensive and hard to connect. Luckily, I found Romeo BLE mini board is so appropriate for my project. The mini board is fully compatible with Aruino UNO and with in-built motor drive chip, small and easy to install. In the result, I chose Romeo BLE mini board as the core board without any hesitation.
Hardware in Need
![image004.png](/proxy/?url=https://content.instructables.com/F6P/AXLZ/J58FQR1U/F6PAXLZJ58FQR1U.png&filename=image004.png)
![image005.gif](/proxy/?url=https://content.instructables.com/FZG/5M71/J58FQR29/FZG5M71J58FQR29.gif&filename=image005.gif)
1. Romeo BLE mini - Small Arduino Robot Control Board with Bluetooth 4.0
(The board compatible with Arduino UNO and integrats 2 way DC motor driver, independent power supply of Bluetooth and gear, becoming more powerful)
2. TowerPro SG90C 360 Degree Micro Servo (1.6Kg)
3. TT Motor with Encoder (6V 160RPM 120:1)
4. Wooden infrastructure component
5. Colorful connections printed by 3D printer×2
*Click here to download document for 3D printing.
*Click here to download 3D design sketch.
*Click here to download CAD document for laser cutting.
The penguin robot can promoted to test temperature with DS18B20 Temperature Sensor and LCD display screen.
Take Wooden Infrastructure Component
![image006.png](/proxy/?url=https://content.instructables.com/F9I/3I9W/J58FQR4L/F9I3I9WJ58FQR4L.png&filename=image006.png)
Build Motor Parts
![image008.png](/proxy/?url=https://content.instructables.com/FSM/7F3N/J58FQR69/FSM7F3NJ58FQR69.png&filename=image008.png)
![image010.png](/proxy/?url=https://content.instructables.com/F4B/OQBI/J58FQR6J/F4BOQBIJ58FQR6J.png&filename=image010.png)
![image012.png](/proxy/?url=https://content.instructables.com/FXW/UEI6/J58FQR71/FXWUEI6J58FQR71.png&filename=image012.png)
Make Direction Control Parts
![image018.png](/proxy/?url=https://content.instructables.com/FD9/7UMX/J58FQT2J/FD97UMXJ58FQT2J.png&filename=image018.png)
![image020.png](/proxy/?url=https://content.instructables.com/FWO/NQMS/J58FQT39/FWONQMSJ58FQT39.png&filename=image020.png)
![image022.png](/proxy/?url=https://content.instructables.com/FBN/T2XN/J58FQT4C/FBNT2XNJ58FQT4C.png&filename=image022.png)
Complete Machine Assembly
![image019.jpg](/proxy/?url=https://content.instructables.com/FZI/O9B5/J58FQT4D/FZIO9B5J58FQT4D.jpg&filename=image019.jpg)
![image021.jpg](/proxy/?url=https://content.instructables.com/FOY/NY5G/J58FQT53/FOYNY5GJ58FQT53.jpg&filename=image021.jpg)
![image023.jpg](/proxy/?url=https://content.instructables.com/FEH/5G8V/J58FQT55/FEH5G8VJ58FQT55.jpg&filename=image023.jpg)
![image025.jpg](/proxy/?url=https://content.instructables.com/F9Q/8YHX/J58FQT5T/F9Q8YHXJ58FQT5T.jpg&filename=image025.jpg)
![image027.jpg](/proxy/?url=https://content.instructables.com/F51/VLDD/J58FQT60/F51VLDDJ58FQT60.jpg&filename=image027.jpg)
![image029.png](/proxy/?url=https://content.instructables.com/FDL/500J/J58FQT6Q/FDL500JJ58FQT6Q.png&filename=image029.png)
Complete Robot Penguin Look
![image032.jpg](/proxy/?url=https://content.instructables.com/FYY/3TLH/J58FQT7G/FYY3TLHJ58FQT7G.jpg&filename=image032.jpg)
Connect Electric Circuit
![image034.jpg](/proxy/?url=https://content.instructables.com/FJO/OLNT/J58FQT8E/FJOOLNTJ58FQT8E.jpg&filename=image034.jpg)
![image036.gif](/proxy/?url=https://content.instructables.com/FGE/6ROH/J58FQT8K/FGE6ROHJ58FQT8K.gif&filename=image036.gif)
Code
*@file PenguinROBOT.ino
* @copyright [DFRobot]([url=http://www.dfrobot.com]http://www.dfrobot.com[/url]), 2017
*
* @author [sc.明阳]
* @version V1.0
* @date 2017-07-7
*/
#include
Servo myservo;
void setup() {
pinMode(3,OUTPUT);
pinMode(5,OUTPUT);
myservo.attach(2);
digitalWrite(3,LOW);
digitalWrite(5,HIGH);
}
void loop() {
for(int x=1; x<10; x++) {
myservo.write(75);
delay(500);
myservo.write(135);
delay(500);
myservo.write(115);
delay(500);
myservo.write(115);
delay(500);
}
myservo.write(75); //Turn right
delay(3000);
myservo.write(135);//Turn left
delay(3000);
myservo.write(105); // Go straight
delay(8000);
}