Arduino Design Project

317

1

1

Introduction: Arduino Design Project

I will be demonstrating a tutorial to having more than one LED light on your Breadboard. I will be showing you how to have 4 LED of different colours. The easiest way for beginners to get started with Arduino is by creating circuits using a solderless breadboard. These simple projects will teach you the basics of Arduino Uno, electronics and programming. In this tutorial, that is exactly what I am going to explain in a very simple version making so that people of all ages can understand and actually create what I am about to show you, I hope you enjoy this tutorial.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Collect All Pieces of Equipment Needed to Complete This Tutorial

You will be creating circuits using the following electronic components:

(1) Arduino Uno

(1) USB A-to-B Cable

(8) LED 5mm

(8) 330 Ω Resistor

(9) Jumper Wires

Step 2: Building the Circuit

The LED circuits

This is a very simple project as it only has 4 LED circuits. All of the LED's are connected to the digital port on the Arduino, the LEDs are controlled by either setting the ports to HIGH or LOW. Each LED is connected to a 330 resistor that was explained as from step one is going to be needed in this tutorial. The image shows many LED circuits, don't worry about that because as you have completed probably your third, it will be very easy for you to do the rest as it is just repeated steps for as many LED's as you would like

Building the circuit

When you are building the circuit, one thing to take under consideration is to make sure that you leave enough space between the lights because it will definitely make the circuit easier to build. As well making sure that you use different colour LED's to make your project more attractive to many people, it will certainly help make your project look a lot better.

Step 3: The Code

This step is going to be introducing the code, the software that is going to be used for this project is, "Arduino". It is very accessible as you can just download off the internet. The coding with comments is accessible as it will be attached in the file below.

void setup() {
// put your setup code here, to run once: pinMode(7,OUTPUT); pinMode(8,OUTPUT); }

void loop() { // put your main code here, to run repeatedly:

//turn on first LED digitalWrite(7,HIGH); delay(500); //turn off first LED digitalWrite(7,LOW); //no delay before turning on second LED digitalWrite(8,HIGH); delay(500); //turn off second LED digitalWrite(8,LOW); void setup() {

// put your setup code here, to run once: pinMode(7,OUTPUT); pinMode(8,OUTPUT); }

void loop() { // put your main code here, to run repeatedly:

//turn on first LED digitalWrite(7,HIGH); delay(500); //turn off first LED digitalWrite(7,LOW); //no delay before turning on second LED digitalWrite(8,HIGH); delay(500); //turn off second LED digitalWrite(8,LOW); void setup() {

// put your setup code here, to run once: pinMode(7,OUTPUT); pinMode(8,OUTPUT); }

void loop() { // put your main code here, to run repeatedly:

//turn on first LED digitalWrite(7,HIGH); delay(500); //turn off first LED digitalWrite(7,LOW); //no delay before turning on second LED digitalWrite(8,HIGH); delay(500); //turn off second LED digitalWrite(8,LOW);

void setup() {
// put your setup code here, to run once: pinMode(7,OUTPUT); pinMode(8,OUTPUT); }

void loop() { // put your main code here, to run repeatedly:

//turn on first LED digitalWrite(7,HIGH); delay(500); //turn off first LED digitalWrite(7,LOW); //no delay before turning on second LED digitalWrite(8,HIGH); delay(500); //turn off second LED digitalWrite(8,LOW);

void setup() {
// put your setup code here, to run once: pinMode(7,OUTPUT); pinMode(8,OUTPUT); }

void loop() { // put your main code here, to run repeatedly:

//turn on first LED digitalWrite(7,HIGH); delay(500); //turn off first LED digitalWrite(7,LOW); //no delay before turning on second LED digitalWrite(8,HIGH); delay(500); //turn off second LED digitalWrite(8,LOW); }

Step 4: Test

This test you should test your entire project by click the finish and save button on the software to use your devise.

Step 5: Improvements

Organisation:

One piece of improvement for you to do is to make sure that before you begin with the building of this project to lay out all the materials needed and place them carefully to make your job a lot easier to create this Arduino.

Thank you and I hope you enjoyed my tutorial.

173 14K
211 28K
112 10K

Discussions

Thank you for sharing, and welcome to Instructables! : )