The Smart Light Switch using Arduino provides an intelligent lighting solution with both manual and automatic control capabilities. This innovative system adapts to user preferences and environmental conditions, offering seamless brightness control and presence detection for optimal energy efficiency.
Manual Mode Features:
Potentiometer-based brightness adjustment
Manual on/off switch control
Direct user control over lighting intensity
Immediate response to user input
Automatic Mode Features:
BH1750 light sensor for ambient brightness detection
Automatic brightness adjustment based on surrounding light
Dual HC-SR04 ultrasonic sensors for presence detection
Smart on/off control based on human presence
Key Technical Features:
Toggle switch for seamless mode switching
TRIAC-based light output control for efficiency
Real-time sensor data processing
Energy-efficient smart lighting solution
Responsive presence detection system
This system represents a perfect blend of manual control flexibility and automated intelligence, making it suitable for various applications from home automation to commercial lighting systems. The TRIAC control ensures smooth dimming and energy efficiency.
Circuit Diagram & Components
Complete Circuit Diagram
Smart light switch with Teammate
Smart light switch with Teammate 2
Components Used:
Arduino Nano: Main microcontroller for system control
BH1750: Digital light intensity sensor for ambient light detection
HC-SR04 (x2): Ultrasonic sensors for presence detection
TRIAC: AC power control for smooth dimming
Potentiometer: Manual brightness control in manual mode
Toggle Switches: Mode selection and manual on/off control
Optocoupler: Electrical isolation for safety
The circuit diagram illustrates the comprehensive connections between the Arduino, sensors, TRIAC control circuit, and user interface components. The dual-mode design ensures versatility while maintaining safety through proper isolation circuits. You can find the complete source code here
Project Demonstration
The demonstration video showcases both manual and automatic modes of the Smart Light Switch. You can observe the smooth brightness transitions, presence detection capabilities, and the seamless switching between different operational modes. The video highlights the system's responsiveness to ambient light changes and human presence detection.
Demo Highlights:
Manual brightness control using potentiometer
Automatic brightness adjustment based on ambient light
Presence detection and automatic on/off functionality