Build a Robot: From n00b to slightly less n00b with Arduino

The freshly assembled BoEBot with my Arduino Uno R3 nestled inside.

The freshly assembled BoEBot with my Arduino Uno R3 nestled inside.


So I’ve gone through most of my life pretty ignorant of electronics. I built a computer in high school with some help, but beyond plugging together big pieces of “FM” (f***ing magic), I didn’t really get what was going on. However, in the last few years there’s been an explosion in products and resources related to prototyping and small scale computers, and I thought it was time to see what all the fuss was about. In the interest of balance, I should mention that the three most prominent platforms right now are the Arduino, the Raspberry Pi, and the BeagleBone. The latter two may well be incredible, but I haven’t had the time or money to look into them yet, so I’ll leave it to others to describe their merits. As for the Arduino, it looked like a good starting point for a few reasons.

Firstly, the open source nature of the hardware appealed to me. First party Arduinos have a nice build quality and are available in a number of variants. What’s more, tons of other manufacturers are making slight variants for more specialized ends, and you’re theoretically at liberty to try to build one yourself if you think you can do it more cheaply or more effectively. Second, the Arduino platform is geared more toward electronics projects with a relatively simple codebase. I’ve already spent some time in programming world and I was more interested in soldering and making circuits, so this suited my curiosity well. In contrast, the Raspberry Pi is known for being a full-fledged computer, albeit a rather basic one. That seemed like overkill for me. The affordability of the Arduino was another plus. I picked up the official starter kit (got it for Christmas, actually), which came with a book and a good set of starter components. This runs between $100 and $150 at the moment, and there are tons of kits from other vendors with slight variations on the same starter pack theme that will probably get you up and running just as nicely. To supplement the kit, extra Arduino Uno R3’s (the main entry-level board) are available for around $35 online and at local retailers, and expansion shields and parts are generally affordable. Lastly, there’s tons of support for Arduino, with a wealth of tutorials online and books on every theme you can imagine. The expansion “shields” are a great feature, too. You basically snap them on top of your board and add some functionality (GPS, extra motor controllers, cellular functionality, bluetooth, etc.) with little to no hardware experience required. This can get you up and running a lot faster if there’s something specific you want to do. On the other hand, you can generally accomplish the same thing manually if you want to customize it or learn more about the inner workings of the technology.

I made it through the starter kit guidebook from beginning to end in about two months of occasional spare time tinkering. The instructions were easy to follow and the finished code made it exceptionally simple to test the hardware without having to worry if you messed up the software side. My only issues were that the components didn’t often sit in the breadboard (that is, the board full of holes that you use to mock up your circuit) very securely, and that one of the leads fell off my motor. It’d be nice if they addressed the fit issue, but I’m sure it comes up eventually in post-kit electronics world. If you want to be safe, make sure you have a soldering kit and a few different kinds of connector wires (male-male, male-female, female-female) to solve any of these minor issues.

After I made it through the original kit, I moved on to some robotics. While Arduino sells an official robotics platform that looks pretty solid, it was a little more than I wanted to pay at this level. Instead, I found a kit by Parallax that allowed the mounting of the Uno R3 that I already had to a “Board of Education” shield and a basic two-wheeled robot chassis. I guess this “BoE-Bot” is a pretty widely-used form factor that’s been around since before the Arduino, and it was more affordable than the standalone Arduino robot by a wide margin. I took the plunge on the kit, and found that it only took about an hour to have the thing in working shape. I did lack a book, but there was an online tutorial set that proved just as helpful, including up-to-date code snippets that could be used with the example hardware setups. As of now, I’ve worked my way through all of their example projects and have begun expanding the bot with my own ideas. In contrast to the Arduino kit, the robot kit fit together nicely at all steps. The BoE shield is a nice feature thanks to the attached breadboard and the formal servo connectors, saving breadboard space for custom work. The example programs are enough to whet your appetite, showing you how to get your robot to respond to light and obstacles using both physical whiskers and an IR system. It’ll leave you wanting to do more, but that’s sort of the point, isn’t it? So far this kit seems to have been a good choice, and I’ll post an update down the road to fill you in on customization options and maybe offer up some project ideas if I do anything worth sharing.

In conclusion, it seems to me that Arduino’s a legit way to learn a few things about electronics and robotics and has enough flexibility to allow you to make something new and cool with a little work. If there’s a better gateway board, I haven’t yet found it, but I’m open to suggestions.

The BoE bot with IR sensors and some K'nex on board to add stuff to.

The BoE bot with IR sensors and some K’nex on board – The posts are conveniently the perfect size to attach K’nex pieces. 

For your convenience, here are some places to look for this stuff. Near as I can tell they’re all pretty comparable in price, but there are some differences in stock and tutorial availability so it’s kind of worth a browse through them. (I’m not an affiliate at any of them, feel free to type in the site manually if you’re skeptical.)

Amazon – they have a pretty good selection but there are some problems with vendors substituting knockoffs without warning, so you may have to go through a return or two to get what you’re looking for. – the official Arduino site for both tutorials and the original boards and shields.









Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s