Blinking LED

Blinking LED

LED is usually used in office lighting, furniture, decoration, sign board, streetlight, etc.

– 1 * Adeept Arduino UNO R3 Board
– 1 * LED Module
– 1 * USB Cable
– 1 * 3-Pin Wires
Experimental Principle  
The Fritzing images:

Pin definition:

The schematic diagram:

In this experiment, we make the pin D8 of the Arduino board output High/Low by programming, to control the LED to blink in a certain frequency.
Experimental Procedures
Step 1: Build the circuit

Step 2: Program

File name:  _01_LEDModule.ino
Description:  Lit LED, let LED blinks.
Author: Tom
Date: 2017/07/12 
int ledPin=8; //definition digital 8 pin to control the LED module
void setup()
    pinMode(ledPin,OUTPUT);    //Set the digital 8 port mode, OUTPUT: Output mode
void loop()
    digitalWrite(ledPin,HIGH); //HIGH is set to about 5V PIN8
    delay(500);                //Set the delay time, 500 = 0.5S
    digitalWrite(ledPin,LOW);  //LOW is set to about 5V PIN8
    delay(500);                //Set the delay time, 500 = 0.5S

Step 3: Compile and download the sketch to the UNO R3 board.

Connect the Arduino UNO R3 board to the PC. Select Tool -> Board Arduino/Genuino Uno, and Port – > COM3. Also here is COM3, assigned to the Uno, but it can be COM1, COM2, COM3…

Now you can see the LED on the LED module blinks once per second.

One Reply to “Blinking LED”

  1. Here at Leslie’s Pugsland Breeder, Our beautiful fawn pug has given birth to 4 healthy Pug puppies.
    She is our beloved family dog and this is her 1st litter.
    Both mum and dad are AKC registered with 5 gen pedigree certificate. Both from Top Champion bloodlines.Mum and Dad can be seen. Puppies have been wormed weeks 2,4,6,8 and will have had a flea preventative treatment before leaving us.
    They will have their vet check, 1st vaccinations and microchip.
    To view all available puppies and recent pictures, Search us in google as LESLIE’S PUGSLAND BREEDER or click on our website link bellow :

    Pug Puppies for sale | pug for sale near me | pug puppy for sale | pug puppy | pug for sale | pug puppies for sale in va | black pug puppies for sale

Leave a Reply