Project one: Light led using Arduino board

Project one: Light led using Arduino board

This project one: light led using Arduino will basically get you up and ensure if your Arduino board is working. Once you've completed this step we can continue to the really exciting stuff, which is when we start writing our own sketches!

Components

Quantity
Module/component
Description
price Range
1
Arduino board (Uno)+Cable

1200-1800/=
1
Resistor
Any electronics supply store
10-20/=
1
LED
Any values from 1k Ω to 2KΩ are probably OK.  
10-20/=
3
Connecting Wires (Jumpers)

50/=
1
Breadboard

150/=

Send us a request using the contact section if you don't have any.


1. Breadboard - They allow you to make quick circuits, test out ideas before making a more (pcb)permanent Printed Circuit Board.

Before we get to circuit design and the programming, let's test LED (Light Emitting Diode)
LED (Light Emitting Diode) only allows current (electricity) in one way, this means if you interchange LED terminal it won't work
Note: Reason, why we are using a resistor, is if you connect the LED directly to power too much current will destroy it, so to avoid, the resistor is used to limit current flow. If you use high resistor value LED will light dim, i.e
The higher the resistor value less current will flow.
All resistors have colour bands on them that will let you know the exact value, alternative you can you meter to measure resistor. Resistor Ohm measured in ohms(Ω)
LED has two leads or “legs” of which are called an anode and a cathode. The anode is the longer lead where +5v, +3.3v of arduino is connected .
PROCEDURE ON HOW TO CONNECT


1. Using the image above, using wire (Jumper) connect ground from the Arduino (labelled GND)to the bottom row of the farthest right column of the breadboard.
2. using a wire, connect power from where it says 5V (the V stands for volt-age and this is where the electric power comes from in Arduino board.) on the Arduino to the bottom row of the next to the right column.
3. Connect the resistor with one end to any hole in a breadboard and the other end on the far right column (ground).
4. Connect the LED cathode (shorter leg) to with one end of a resistor.
5. Connect the LED anode (longer leg) to f3.
6. Plug the power into the Arduino.
7. The LED should light up.


If you don't get a blinking LED, try to make sure you put the part in the right way, in the correct holes, or try a different LED as it may be bad.


Comments

Popular posts from this blog

Arduino function libraries~Math Library Function

Project Four: Pattern, Blink 4 leds using Arduino board

Arduino - Strings