My Projects
🌟 Smart Street Lighting System Using Arduino and LDR
🔍 Overview
This project is a simple and efficient Smart Street Lighting System using Arduino and an LDR. It automatically controls street lights based on ambient light.
🎯 Objective
Build a system that turns lights ON at night and OFF during the day using Arduino and LDR.
🧠 How It Works
The LDR senses light levels. When it gets dark, the Arduino turns the light ON. In daylight, the light is OFF.
🧰 Components Used
- Arduino UNO
- LDR Sensor
- 10kΩ Resistor
- LED / Relay module
- Jumper wires, Breadboard
💻 Arduino Code
int ldrPin = A0;
int lightPin = 13;
int threshold = 500;
void setup() {
pinMode(lightPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
int ldrValue = analogRead(ldrPin);
Serial.println(ldrValue);
if (ldrValue < threshold) {
digitalWrite(lightPin, HIGH);
} else {
digitalWrite(lightPin, LOW);
}
delay(500);
}
✅ Features
- Automatic lighting
- Low power consumption
- Simple, cost-effective
🚀 Future Enhancements
- Motion detection
- IoT integration
- Solar power support
Factory Automation
Siemens SCADA system revamped, resulting in a 20% efficiency gain and improved real-time monitoring of production lines.
AI Battery Optimization
Developed an energy storage management algorithm using MATLAB and AI to optimize charge/discharge cycles, extending battery life by 15%.