Robotics

Overview

In the intermediate projects section, we built a very basic robot, just so you could get used to the idea. Now, we can update that robot with more advanced sensors, better motors, and a stronger body for increased functionality and performance. We've collected some of our favorite robots from around the web to get you started.


Parts of a Robot

  1. Chassis: This is the frame of the robot. It can be as simple or sophisticated as you like. You can use cardboard from around the house, pre-cut pieces from a kit, or 3d printed plastic according to your own specifications. Just make sure there's plenty of room for your arduino and sensors, along with somewhere for the wheels to connect.
  2. Sensors: Your robot can't do anything until it gathers information about its environment. We've used photoresistors before as simple sensors, but you'll probably want to use something more sophisticated here. With the right sensors, you can teach your Arduino to avoid obstacles, follow a line, or more.
  3. Actuators: An actuator is anything that allows the robot to perform an action. The most common actuators are motors that drive the robot forward or backward. In our previous robot, we used servo motors to turn the robot in all directions. For your new robot, you might want to use DC motors instead. DC motors are slightly more complicated to hook up, so make sure you find a good guide before you wire them in. You can even get a shield to take care of the complications for you (check out the shields section of the website for more).
  4. Controller: The controls system provides the bridge between the sensors and the actuators. It interprets the gathered information and uses it to make a decision about where to go next. You'll use the Arduino as the brains of your operation. The software for this can get complicated, so feel free to download open-source code for a framework and modify as needed.
  5. Power supply: Of course, your robot can't go anywhere without power. Generally this consists of a battery pack attached to your chassis. Make sure you leave room for it and allow for easy replacement of batteries!
...
Mars Science Lab drawing by NASA (Public Domain)

Project Ideas


...
Image by Nathan House

Roving Robot:

This basic robot is built to avoid obstacles in its path - watch the video at the top of the page to see it in action. You can either purchase the parts yourself or buy a kit for $70. Either way, it's an excellent introduction to more complicated robotics.


...
Image by Miguel Grinberg

Remote-controlled robot:

Like the Funduino robot, this one avoids obstacles, but it adds a Bluetooth chip to allow you to control it remotely using your phone. Just a heads-up - this article uses C++ for all its programming, so if you're not familiar with that language, you might want to brush up a little first.




Four-legged Robot:

This quadbot walks instead of rolls, which presents unique mechanical challenges - for instance, you'll need eight servo motors. The payoff is more than worth it, though. You can even customize the provided code to change "Stompy's" walking style.


...
Image by Darran Yates

Balancing robot:

No matter how often you knock this robot over, it'll roll right back up again! It's built to be stable despite the top-heavy layout. The instructions for this leave a little more up to your control, so this is a good project to leave for later, after you've built up a strong knowledge base.

...
Image by lawsonkeith

...
Shadow Hand Bulb by Doofi (CC-BY-SA)

Tips and Tricks

  • DC Motors: As previously mentioned, DC motors are more complicated to hook up than servo motors - you'll need to use a transistor and a diode in order to provide a higher power source and allow switching in either direction. There are plenty of tutorials online to help you, however, including this one from Adafruit that shows you the circuit most commonly used.
  • Soldering: If you want your robot to look more professional, you'll need to solder on the components. Solder is basically glue for wires. There are two types of soldering - surface mount, which is only possible with highly sophisticated equipment, and throughhole, which is what most hobbyists do. If you don't have a soldering iron, you can get one from any of your local hardware stores. Check out a tutorial like this one from Sparkfun before you start. Always remember to turn your soldering iron off when you're done!
  • Noise: Sometimes, the magnetic fields generated by your DC motors can interfere with signals going to your Arduino. This causes strange errors that aren't seen when you're originally prototyping. To avoid this problem, mount your Arduino a safe distance from your motors and motor wires.
  • Using shields: Most of the projects listed above use a motor control shield, a sensor shield, or both. These add-ons are great ways to simplify the wiring that you have to do. If you'd rather build it yourself, feel free, just know that it will increase the size of your robot and the difficulty of your project.

Good luck, and have fun!




<-- Previous: Weather Station Next: Alarm Clock -->