Arduino V3.2 Experiment 1: Blinking a Light

Published

Introduction: Arduino V3.2 Experiment 1: Blinking a Light

Using the materials found in a sparkfun kit (or really any other circuitry kit) you are able to blink an LED with some basic code on the Adruino IDE.

Step 1: Make Sure You Have What You Need!

You will need

LED light x1

330ohm resistor x1

Breadboard x1

Arduino red board x1

Jumper wires x3

You will need to make sure you have downloaded the required drivers that will appear when plugging in the Arduino breadboard into your computer

You will also need to make sure you have download the Arduino 1.8.5 computer software, the link for that will be below:

https://www.arduino.cc/en/Main/Software

Step 2: What Goes Where?

This hookup table will help you figure out where to put what

Step 3: Follow Along!

Step by step images to aid the you in completing the experiment. Here we have the empty boards

Step 4: Put the Long Side of the LED (the Positive Pin) on 2b and the Short Side (the Negative Pin) on the 3c

Step 5: Add One Pin of the Resistor in 3a and the Other Side in -5

Step 6: Plug a Jumper Wire From E2 to the 13 Hole on the Arduino

Step 7: Use a Jumper Wire to Connect +30 to the 5V Port on the Arduino

Step 8: Connect the 30+ Port and the GND Port Using a Jumper Wire

Step 9: Open Your First Sketch!

Open Up the Arduino IDE software on your computer. Coding in the Arduino language will control your circuit. Open the code for Circuit 1 by accessing the “SIK Guide Code” you downloaded and placed into your “examples” folder earlier.

To open the code go to: File > Examples > SIK Guide Code > Circuit_01

Step 10: It Is Right Here!

If you do not have access to the pre-built experiment code modules you can just copy and paste the following code into the Arduino IDE. Then hit the upload button, and see what happens!

Step 11: What You Should See!

You should see your LED blink on and off. If it isn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board, or see the troubleshooting section.

Step 12: Troubleshooting

Program Not Uploading

This happens sometimes, the most likely cause is a confused serial port, you can change this in tools > serial port >

Still No Success? Send an email to the support team: techsupport@sparkfun.com

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest

    Discussions

    Nice, thanks for sharing! :)