Since I had a lot of ATtiny2313s lying around I wanted to do something cool with them, I thought for a while and then decided to make a simple wall avoiding robot with the ATtiny2313, an ultrasonic sensor and 2 motors.

Its an easy to make and simple robot which runs on a very small amount of code so as to support and work with the ATtiny2313.

For those of you out there who want to make a small robot with the Arduino processing, but you are not able to as the Arduino is too big for a small robot, then this is the perfect robot for you!

Since the ATtiny2313 chip is much smaller compared to the Arduino, it fits in almost anywhere, which allows you to make a small simple robot which evades walls.


Note: This is by no means related to the Star Wars charecter R2-D2, its just my own robot :)

Step 1: Materials/Tools Required

Materials Needed;
  1. ATtiny2313
  2. Arduino (For programming the ATtiny2313)
  3. 2 Motors (Gear or normal, both seem to work for me)
  4. 2 NPN Transistors
  5. 2 10MicroFarad Capacitors
  6. 1 5V Voltage Regulator
  7. 2 9V batteries (Of 250~330mA current capacity each)
  8. 1 Ultrasonic Range Finder
  9. A piece of Protoboard
  10. A few headers (Male)
  11. 2 Wheels for the motors or some bottle caps might work
  12. 1 Wheel which is attached to an axis (For attaching it on the back of the robot to give it support)
  13. A few jumper cables or just some plain wire
  14. An ATtiny2313 Programming shield (Optional)(http://www.instructables.com/id/Arduino-ATtiny2313-Programming-Shield/)
  15. 2 9V battery cases or connectors.
  16. A switch

Tools Needed;
  1. Soldering Iron
  2. Solder
  3. Soldering Flux
  4. Glue Gun
  5. Small cutting knife
  6. Scissors

About This Instructable


339 favorites


Bio: Coolest site ever -I-N-S-T-R-U-C-T-A-B-L-E-S-.-C-O-M
More by vishalapr: Diffused Glue Stick Lamp ATtiny85 POV Display Artoo [R2] (ATtiny2313 Wall Avoiding Robot)
Add instructable to: