Step 1: Installing the Arduino Software
Step 2: Write Your First Sketch
A common first project to do is to light an LED. There are multiple ways to do this, but an easy way is this. Connect an LED with its anode pin in pin 13 on the Arduino board and the cathode in the adjacent GND pin. Now add the following code to the setup section of the sketch:
This will set the 13th pin to an output pin, and set it to a high (5 volt) voltage level. With a high voltage on the anode and a low voltage on the cathode the LED will now light. Note that it is best practice to put a resistor in-line with the LED to control the amount of current flowing through the LED to ensure that the LED does not burn out. For this simple example we didn't do it, but keep in mind that you should do this on any real project.