The Arduino board enables the creation of various electronic circuits and their control by programming codes. In this post we will learn how to control LED lights with Arduino. as shown in ​video in the end of the page.
Electronic components needed :
To make this simple project we need these following components :
- 3 Led ( red, yellow, blue )
- 3 Resistance ( 220 Ohm )
- Electrical wires
- Arduino UNO
- Breadboard
Schema of the circuit

Arduino programming code:
int LED1 = 10 ; int LED2 = 11 ; int LED3 = 12 ; // by andprof.com void setup() { // put your setup code here, to run once: pinMode(LED1,OUTPUT); pinMode(LED2,OUTPUT); pinMode(LED3,OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite(LED1,HIGH); delay(100); digitalWrite(LED2,HIGH); delay(100); digitalWrite(LED3,HIGH); delay100); digitalWrite(LED1,LOW); delay(100); digitalWrite(LED2,LOW); delay(100); digitalWrite(LED3,LOW); delay(100); }
Explainer video :
Discover also :
How to use arduino IDE software