Arduino is a low-cost single-board computer with a bunch of I/O ports that you can use to control devices and sense the environment. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. In other words you don’t have to be an embedded computing engineer. The programming tools are free and open-source.

My interest in the platform is as a tool to introduce my 5 year-old to electronics. Although wiring and programming Arduino projects is well beyond a 5 year-old’s skill, there’s plenty to get excited about and participate in.

What can you do with an Arduino? Take a look at the Make Magazine Arduino archive for inspiration.

Learning. The brain of the Arduino is an Atmel microcontroller. The program that runs on the processor can read analog and digital inputs to read sensors and switches and turn the pins on and off to control motors, communicate with other devices, switch LED’s etc. Programming the board is pretty easy to pick up if you have some prior programming experience.

Getting Started with Arduino by Massimo Banz. Arduino website Manuals and Curriculum. And there’s plenty of good resources available.

Shields are an important part of the Arduino platform. These boards stack on top of the Arduino itself and extend its function. There are a shields for motor control, networking, GPS etc. The Motor Shield shown below can control a pair of servos and each terminal block at the ends of the board can control one stepper motor or two DC motors.

Motor Shield

The Proto Shield is an essential item. Combined with a small breadboard it’s a great way to build small projects. For more permanent circuits, your components can be soldered directly to the board.

Proto Shield

Accelerometer

Sensors. There’s an almost limitless array of sensors available. Temperature, humidity, pressure, acceleration, direction, proximity, light, colour, gases etc. These can be hooked to an Arduino with little effort and many of the sensors can be purchased on a breakout board that includes most of the required electronics. The photo at the right shows an accelerometer chip mounted on a breakout board that includes all the necessary external components.  All you need to do is connect power and connect the X, Y and Z axis outputs to the analog pins of the Arduino and you’re done.

Suppliers.  Adafruit have Arduino boards, shields and lots of components.  Their tutorials are very detailed and the online forums have knowledgeable helpful people. The Adafruit people are very helpful. Sparkfun have a much bigger selection of electronic components. A good place to look for more ambitious projects. Make Magazine’s Maker Shed online store has a lot of good stuff too. In New Zealand you can buy from MindKits and Robotronic.

Learned. Here are some things I’ve learned, in no particular order.

The things that you connect to an Arduino, shields, sensors, motors, LCD’s, LED’s etc generally have PDF datasheets that you can download from the Internet.  It’s well worth downloading and filing them – you’ll definitely need them.

Get a supply of protoshields and breadboards of different sizes. Say, 3 protoshields, with 35×45 mm, or 55×85 mm, breadboards.  Also get 2 or 3 55×170 mm breadboards for larger circuits. You can attach the Arduino to the breadboard with rubber-bands or get Adafruit mounting plates.

Get lots of jumpers, both the flexible and solid core kind. The flexible ones are the easiest to use, but the solid wire kind make for tidier wiring across breadboard.

Get extra female headers (5, 6 and 8 pin) – both short and long wire types. Proto Shields have extra rows of holes for power – it’s really convenient to be able to use these. Also many shields don’t come with female headers that allow you to stack other boards on top, so having extra headers to substitute is very helpful. Also if you have a shield that doesn’t have enough clearance from the board below, e.g. an Ethernet Shield, you can push some spare headers on the bottom to get extra spacing.

Wing-shields have screw terminal connections for the Arduino pins. This is much more secure than the push-in jumpers used on the Arduino ports and on breadboards – great for projects like robots.

LCD displays. You can get 2-row 16-character displays, see picture above. For graphics, the 128×64 pixel KS0108 displays are popular and well supported.  The KS0108 displays have a parallel interface, which means they use a lot of pins – something to keep in mind if you’re using another shield that uses a lot of ports. Another 128×64 option is an ST7565. It has a serial interface that means it only needs 5 pins, but uses more RAM.

For robots and projects where you want to sense movement or nearby objects, Sharp infra-red sensors work well. They project a narrow beam of infra-red light and return the distance measured and a voltage proportional to the distance to the target. To use them with the Arduino, you just measure the voltage on one of the analog input pins. There are two versions of these sensors. One measures up to 800mm and the other up to 1.6m.

Servos are easy to use. The Adafruit motorshield makes these easy to connect and use.  Continuous rotation servos work well for driving wheeled robots.

Lots of LED’s. Also a generous supply of 100, 330, 1k and 10k ohm resistors.

You’re going to need a good soldering iron.  I have a Hakko FX-888 with a 1.4mm chisel tip, but there are cheaper irons that will do the job. The FX-888 can do lead-free solder.

Lego and Fischer Technik, balsa, rubber bands and gaffer tape are great building blocks for projects. The Arduino boards, motors, and sensors don’t readily attach to Lego or Fischer Technik, so remixing incompatible components provides interesting challenges.

You need a multimeter.