Blink - My First Arduino Project
In this project, you'll learn about the Arduino IDE programming environment and how to make a LED light blink.
Parts needed:
| ||
1 | Double-click on the Arduino icon to start the Arduino IDE program. | |
2 | Create a new program by selecting File from the menu
| |
3 | You will see this Blink template.
Words between /* and */ are comments, and are ignored by the computer. Words after the two slashes // are comments, and are ignored by the computer. There is a light (LED) on the Arduino board that is connected to pin 13 on the board. The Code that you put inside the The Code that you put inside the The The 1000 ms = 1 sec | |
4 | Connect your Arduino board to your computer using the USB cable. | |
5 | From the Arduino IDE program menu, select Tools
| |
6 | Press the upload button to upload the program onto the Arduino board. | |
If it is successful you should see the words Done uploading at the bottom, and the Arduino will automatically run the program. You should see the green LED on the Arduino board blink on for 1 second and then off for another second. | ||
If you have selected the wrong COM port or if there are errors in your program, you will see an orange error message at the bottom. You'll have to correct the error(s) and then upload your program again. | ||
Congratulations! You've completed your first Arduino project to make a LED blink!
Now click on the Experiments button below to test yourself. After you have finished the experiments, come back here and click on the Next Project button to learn how to make music in the next project. | ||
You have completed your first Arduino project!