Arduino Projects Ideas - Traffic Light Controller
Components:
3 LEDs (Red, Yellow, Green)
3× 220Ω resistors
Arduino UNO
Jumper wires
Wiring:
Red LED → Pin 8
Yellow LED → Pin 9
Green LED → Pin 10(All LEDs connected via 220Ω resistors to GND)
Code:
void setup() {
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
}
void loop() {
digitalWrite(8, HIGH); delay(3000); // Red
digitalWrite(8, LOW);
digitalWrite(9, HIGH); delay(1000); // Yellow
digitalWrite(9, LOW);
digitalWrite(10, HIGH); delay(3000); // Green
digitalWrite(10, LOW);
}
Pages
- Web-Based Projects
- Mobile Application Projects
- Database Management Projects
- Software for Data Analytics Projects
- Cloud Computing Projects
- Cybersecurity Projects
- Game Development Projects
- Artificial Intelligence (AI) Projects
- Machine Learning (ML) Projects
- Data Science Projects
- Augmented/Virtual Reality (AR/VR) Projects
- Blockchain Projects
- Arduino Projects
- Arduino Projects (IoT)
- Fortinet
- Mikrotik