Search My Blog

Friday, February 11, 2011

Arduino programming guide – part 1 | Linux User

Arduino programming guide – part 1

by Gareth Halfacree

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…

This article originally appeared in issue 95 of Linux User & Developer magazine.Arduino             programming guide - part 1 Subscribe and save more than 30% and receive our exclusive money back guarantee – click here to find out more.

Arduino Experimenter's Starter Kit
Arduino IDE

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.

Installing the Arduino IDE



No comments: