Arduino programming guide – part 1
Gareth Halfacree shows us how to get started with programming for Arduino and open hardware by create an electronic music box. The first of our three part guide assumes no prior experience in either programming or developing with Arduino…
The Arduino project is a hacker's dream: originally designed as a way of getting students involved in microcontroller programming and electronic design, it offers a quick and easy route for programmers to take their skills out of the digital realm and into the physical.
Better yet, the Arduino's plug and play nature and the C-based programming environment mean that it's easy to get started, even if you lack experience in electronics.
To prove it, this three-part project is going to walk you through building a simple Arduino music box, programming it with the Arduino IDE, integrating it with your PC, and finally adding a useful LCD display to your project.
As a completely open source project, Arduino programming goes well with Linux development, and all the code and hardware designs behind Arduino are freely available for tinkering.
Before we can get started, we'll want to install the Arduino development environment. If you're lucky enough to be running a version of Linux for which pre-packaged versions exist, it's a simple case of downloading them from the Arduino website or installing directly from your distribution's repositories. If not, there are a few steps we'll have to go through before we can get started with building our first Arduino circuit.