yogy the arduino powered robot made for kids

10
7/27/2019 Yogy the Arduino Powered Robot Made for Kids http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 1/10 http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/ Food Living Outside Play Technology Workshop Yogy - The Arduino Powered Robot Made For Kids by chickenparmi on August 5, 2013 Table of Contents Yogy - The Arduino Powered Robot Made For Kids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intro: Yogy - The Arduino Powered Robot Made For Kids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 1: Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 2: Marking the Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 3: Preparing the Drivetrain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 4: Attaching Drivetrain and Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 5: Attaching Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 6: Sensor Mounting and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 7: Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 8: Giving the Arduino Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 9: Mounting Switch and Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 10: Attaching Wheels and Castors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 11: Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 12: Finished! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Upload: smahendar

Post on 02-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 1/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Food Living Outside Play Technology Workshop

Yogy - The Arduino Powered Robot Made For Kidsby chickenparmi on August 5, 2013

Table of Contents

Yogy - The Arduino Powered Robot Made For Kids ....................................................................................

Intro: Yogy - The Arduino Powered Robot Made For Kids .............................................................................

Step 1: Parts List ...........................................................................................................

Step 2: Marking the Layout ...................................................................................................

Step 3: Preparing the Drivetrain ................................................................................................

Step 4: Attaching Drivetrain and Power ..........................................................................................

Step 5: Attaching Arduino ....................................................................................................

Step 6: Sensor Mounting and Wiring ............................................................................................

Step 7: Checkpoint .........................................................................................................

Step 8: Giving the Arduino Power ..............................................................................................

Step 9: Mounting Switch and Battery ............................................................................................

Step 10: Attaching Wheels and Castors ..........................................................................................

Step 11: Coding ...........................................................................................................

Step 12: Finished! .......................................................................................................... 1

Related Instructables ........................................................................................................ 1

Advertisements ............................................................................................................... 1

Comments ................................................................................................................ 1

Page 2: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 2/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Author: chickenparmi YouTube:Robot fanatic.YouTuber. Robotics teacher.

Intro: Yogy - The Arduino Powered Robot Made For KidsIn this Instructable I will show you how to make a cute and kid friendly Obstacle Avoiding Robot I like to call Yogy.

Yogy gets his name from the Yoghurt tub body he is made from. I am a sucker for seeing the best in trash and this Yoghurt tub looked too good to be thrown away. Isalvaged it and decided to give it a new life, a better life, a life as a robot!

You can follow through with me and make Yogy by following the written steps or pictures, which are pretty self explanatory.

Or if you don't feel like reading through and clicking with your mouse, you can check out the videos of the build with commentary!

Step 1: Parts ListElectrical Parts:• Arduino Uno• Prototyping Shield + Mini Breadboard• 2 * Continous Rotation Servos + 2 * Wheel Servo Horns• HC-SR04• 8 Ohm Speaker• Male and Female Breadboarding Jumper Cables• 4 * AA Batteries + Pack• 9V Battery• LED• Power Switch

Construction Parts:• Yoghurt Tub• Acrylic or a CD (or any other material you can make a base from)• Small Square Bracket• Small Screws• Coke Bottle Lids

Tools:• Coping Saw• Screwdriver• Stanley Knife• Hot Glue Gun + Glue Sticks• Wire Cutters• Wire Strippers• Double Sided Foam Tape

Optional Extras:• 2 * APC220 RF modules• Soldering Iron + Solder• Scrap Pieces of Cardboard• Electrical Tape

Page 3: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 3/10

Page 4: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 4/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Page 5: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 5/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 4: Attaching Drivetrain and PowerPeel the protective sheet off the bottom strip of tape and join the two servos together. Press them together quite firmly and hold for a few seconds to ensure the bond isadequate.

Then peel the protective sheets of the two sides of tape and press them against the base. Again it is important to press and hold to make sure they are really well stucktogether. The next stage is to mount the batteries. In my case I am using a 4.8V rechargeable battery pack so first I need to see if it can fit.

Placing the battery pack at the back of the servos and placing the yoghurt tub over them all makes it clear that it will all fit together nicely. You can then begin to attachDouble Sided Foam Tape to the back of the battery pack.

Peel the protective sheet off the tape and attach it to the two servos.

Page 6: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 6/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 5: Attaching ArduinoNext attach another bit of Double Sided Foam Tape to one servo and attach the Arduino Uno to it on the flat section of the underside. (The bit where the Arduino logo is)

After doing this, your robot should look a little something like this.

Step 6: Sensor Mounting and WiringNext grab a scrap bit of cardboard and create a template for the Ultrasonic Sensor. Cut out the template and the holes for where the ‘eyes’ will go.

Tape the template to the yoghurt tub where you would like the sensor to go and trace around the ‘eye’ holes with a marker. You can then cut or drill out these holes andinsert your sensor into it. Using a combination of Female and Male Breadboarding Jumper Cables connect the Trigger of the sensor up to Digital pin 6 of the Arduino.Connect the Echo to Digital pin 7. Connect the Vcc up to the 5V and connect the GND up to the Ground of the Arduino. Next you will need to connect your two continuousrotation servos shown in the included diagram.

Page 7: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 7/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 7: CheckpointNow your robot should be looking something a little like this.

Step 8: Giving the Arduino PowerNext we will need to give power to the Arduino, we will be doing this with a 9V battery. The 9V battery will be placed underneath the Arduino and in-between the twomounting brackets on the Continous Rotation Servos. We will need a power switch as so we don’t need to keep pulling the robots lid off to turn it on and off, so we needto mount it on the body. Measure the travel distance of your switch.

Mark an appropriately sized hole on the body large enough for the travel distance of your switch and cut it out. Test your switch to make sure it has enough room to

move.

Page 8: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 8/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 9: Mounting Switch and BatteryNow attach the the switch to the body using some small screws. You can use a metal scewer to poke holes in the yoghurt tub to allow the screws to go through. Nextmeasure up the Aluminium Square Bracket along the 9V battery to see how much you will need to hold it in place.

Mark on the body where it will go and mark on the bracket how much you will need. Cut it to shape using a Coping Saw and attach it to the body using Hot Glue. Thereshould only be just enough room to allow your 9V battery to slide in as you want it to be a tight fit to hold it in place. Connect the 9V battery up to the switch and connectthe positive end of the switch to the Vin pin of the Arduino and the ground to the GND pin on the Arduino.

Page 9: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 9/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 10: Attaching Wheels and CastorsNow you will want to attach your wheels to your servos using the screws that come with your servos. Next grab two coke bottle lids and place them alongside your robot,these will act as castors to prevent your robot from wobbling too much.

Mark how much you need to cut off with a marker and cut it with wire cutters.

Grab the two smooth ends of the coke bottle lids and hot glue them to the underside of your robot.

Now you can drill some small holes around the perimeter of your bot and screw the body in place.

Step 11: CodingNow I have attached two code files here. One i s for basic obstacle avoidance use and is heavily commented. The other code is for more advanced users and offers a lotof cool features with no commenting.

The more Advanced code uses some speaker functions and some serial control.

Basic Code: https://www.dropbox.com/sh/z30enwcpb96gr1n/cZ8jOGxW3u

Advanced Code: https://www.dropbox.com/sh/grtgno84hgk5teo/KeqeLq5I_M

Page 10: Yogy the Arduino Powered Robot Made for Kids

7/27/2019 Yogy the Arduino Powered Robot Made for Kids

http://slidepdf.com/reader/full/yogy-the-arduino-powered-robot-made-for-kids 10/10

http://www.instructables.com/id/Yogy-The-Arduino-Powered-Robot-Made-For-Kids/

Step 12: Finished!Now one of the main points of this bot is to completely customize it how you want. I've added a speaker, LED and an RF module onto mine to turn it into a really cool littletoy for kids. You can watch the videos below to see how he goes. All the fancy things he does are included in the Advanced code but just the plain and simple ObstacleAvoidance is in the basic. You will also see in the videos I have created a wireless SNES controller to control him. The SNES controller is great for kids as it has basiccontrols and the buttons are colour coded. I will show you how to make your own controller soon :)

Have fun!

Related Instructables

DIY Mod anOmnibot 80'sRobot withVoice, Camera,Servos,Bluetooth bydjsures

Arduino Robotfor lowest costby doncrush Funky Fleecy

Robot Scarf byDotatDabbled

James - Yourfirst ArduinoRobot bychickenparmi

Furry Elephantby fqiu Hacked roomba

+ arduinosnowballs into aEurobot 2013entry... by nicoo

Advertisements

Comments

1 comments Add Comment

monkeynuts says: Aug 5, 2013. 6:42 AM REPcool