+21622886281
Arduino LED

Flashing a LED by Arduino

Purpose of this tutorial:

The purpose of this tutorial is to flash an LED through the Arduino board: illuminate and switch off the LED alternately at 1 second intervals.

Necessary components:

  • Arduino UNO
  • 1 red LED
  • 1 resistor of 220Ω
  • connecting wires t
  • est plate

Mounting

As for mounting, it is easy to connect LEDs to Arduino.

  • Connect the digital (digital) terminal number 1 of the Arduino board to the resistor leg Then
  • connect the second resistor leg to the anode (terminal +) of the LED
  • Finally connect the cathode (terminal -) of LEDs to the GND of the Arduino.

Program




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top