Convert a cheap, dumb RC truck into an autonomous “smart” auto

Want to try your own Orangutan? Just download our Arduino sketch, load it on an Orangutan, wire up the truck, and away you go.

TIME: 1 HOUR
COST: $83.65
DIFFICULTY: EASY

PARTS

NOTE: In order to program your Orangutan, you will need an AVR ISP programmer (e.g., Atmel AVRISP MkII).

Muscle Car LCD:  Dave Prochnow

STEPS

  1. Follow Pololu's extensive setup instructions for configuring the Arduino programming environment to use the Orangutan LV-168 robot controller.
  2. Open the RC truck and disconnect the wires for the drive motor and the steering magnet.
  3. Solder two wires to the positive (+) and negative (-) battery pack terminals of the RC truck. These wires should be routed outside the truck and inserted into the power input terminals of the Orangutan.
  4. Route the drive motor wires and the steering magnet wires outside the truck and attach them to the LV-168's "motor 1" and "motor 2" outputs, respectively. I was unable to get the magnetic steering control on our truck to work properly. Therefore, I elected to permanently "fix" a slight right turn into the front steering wheel's alignment.
  5. Mount the Sharp GP2D120 IR sensor in I/O line C4 of the Orangutan.
  6. Insert two AA batteries into the truck and turn on the LV-168's power switch. The blue power LED should illuminate. If you don't see the power LED, check your wiring from the car to the Orangutan.
  7. Connect an AVR ISP programmer to your PC. Start the Arduino programming environment and copy our sketch to your PC. Download the muscle car sketch onto the Orangutan. Disconnect the RC truck from the AVR ISP programmer. Set the RC truck on the floor and press the power switch.

Muscle Car Robot:  Dave Prochnow

This tricked-out ride will play a tune, display a splash screen, flash its lights, then dart around the room. Both the room temperature and the distance measured with the Sharp sensor are displayed on the LCD. When an object closer than 30cm is detected by the sensor, the motor speed is reduced and the Hummer is driven in reverse. This "backing up" action will continue until the path in front of the truck is clear of obstacles. Happy trails.

Page 2 of 2 « first‹ previous12
Want to read more articles like this, plus tips and tricks, home hacks, DIY projects, and more? Subscribe to Popular Science and enter to win $5,000!

2 Comments

This looks really fantastic, I want a fleet of mini Hummer-bots patrolling my house! Any chance of posting a video of the Hummer-bot in action?

If you wanted to save a tad by combining shipping and/or let your robot spot objects farther away, Pololu carries the similar Sharp GP2Y0A21YK0F distance sensor, which has a range of 10cm to 80cm (as opposed to the 4cm to 30cm range of the Sharp GP2D120). You would probably need to tweak the sketch constants a little to adjust for the different range though.

-Adam

its nice Arduino Muscle Car good project.

prefabrik

kabin

konteyner

Popular Tags

Regular Features



Download Our iPhone App

Stay up to date on the latest news of the future of science and technology from your iPhone with full articles, images and offline viewing



Follow Us On Twitter

Featuring every article from the magazine and website, plus links from around the Web. Also see our PopSci DIY feed



Become a Fan On Facebook

Share links with friends, comment on stories and more


December 2009: Best of What's New

In our December issue, Popular Science names the 100 best innovations of the year: bombproof wallpaper, self-parking cars, the fastest helicopter, and 97 more. Plus inventor profiles and videos.

Check out the best of what's new here.

Popular Science Photo Pool


Share your photos in the Pop Sci pool at www.flickr.com!
tags_sprite.png
POP_embeddedForm_cover_May09.jpg