Interface LED With Arduino

by ogonyesolomonoche in Circuits > Arduino

175 Views, 0 Favorites, 0 Comments

Interface LED With Arduino

Blinking LED with Arduino_bb.jpg
Blinking LED with Arduino_bb.jpg

This project gives an introduction to Arduino and Arduino programing language. It involves turning ON and OFF an LED using the Arduino.

Supplies

HARDWARE REQUIRED

  • Arduino board
  • Jumper wires
  • 220 ohm resistor
  • breadboard

SOFTWARE REQUIRED

  • Arduino IDE software
  • Your Computer

Blinking LED with Arduino_bb.jpg

CIRCUIT SETUP

Use the circuit diagram below to the components on the breadboard by connecting the anode (the longer, and the positive leg) of your LED to digital output pin 8 on your breadboard through a 220 ohm resistor. Connect the cathode (the shorter, negative leg) directly to ground.

sketch_aug31c _ Arduino IDE 2.2.0 8_31_2023 1_02_54 PM.png
code.png

CODE

Download the Arduino IDE software on your computer.

Open the Arduino IDE software on your computer and then open the new sketch File by clicking New.

Arduino_Uno_Picture_Blinking.jpg

UPLOAD AND RUN THE CODE

After you uploaded the code you should see your LED turn on and off. If no result, recheck the assembled the circuit correctly, and verified and uploaded the code to your board again.