loading

Hello there! When Arduino released its robot I was particularly fascinated by the logobot sketch. I thought, logobot could be used to teach children about robotics and programming and they would also have a lot of fun with the robot. So I decided to build my own version of the logobot.

Step 1: Materials

This build requires:

  1. Arduino
  2. L293D motor driver (You can also use a shield but you may have to tweak the code a little)
  3. 5 pushbuttons
  4. Perfboard / Breadboard
  5. Motors and wheels (You can also get a ready-made chassis that can be really helpful)
  6. Wires
  7. 2 x 9 v batteries (one for Arduino and one for the motors)

Step 2: Switches and Circuit

Connect the switches according to the circuit diagram. Use the 5v power supply from the Arduino to power the switches. Next connect the motors to the motor driver. The terminals will be labelled. Do not forget to connect the enable pins to a positive voltage. You can connect the enable pins to the battery powering the motors or the 5v power supply from the Arduino. I would go with the first one.

Step 3: Programming the Arduino

Download the Arduino code and upload it to the Arduino. Make sure that you have made all the necessary connections before testing the robot. For the first time, connect the Arduino to the computer and use the Serial Monitor to debug if the robot doesn't work. If the robot works as it should, use an external power supply for the Arduino.

Step 4: How It Works?

The program is simple. Each key press is assigned a unique number and every time a particular key is pressed, the corresponding number is stored in an array. When the execute button is pressed the array is read and the numbers are converted into corresponding movements. Feel free to comment and ask doubts.

About This Instructable

1,045views

11favorites

License:

Bio: Just a tech enthusiast.
More by C.V.Hariharan:Jarvis: an Arduino Based Home Automation System Arduino logobot  Arduino Blog Topic Generator 
Add instructable to: