-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the Automatic-Night-Light-Project-Using-Arduino-Microcontroller- wiki!
Welcome to the wiki page for the Automatic Night Light Project using Arduino Nano. This project implements an automatic night light system using a Light Dependent Resistor (LDR) and an Arduino Nano microcontroller.
The Automatic Night Light Project is designed to provide automatic illumination in low-light conditions. The Arduino Nano reads the ambient light level using an LDR and controls an LED to simulate a night light effect.
- Connect 5V from the Arduino Nano to one leg of the LDR.
- Connect the other leg of the LDR to a 10K resistor, and connect it to analog pin A0 of the Arduino.
- Connect the other end of the 10K resistor to the GND of the Arduino.
The Arduino code reads the analogue input from the LDR and activates the LED when the ambient light level falls below a certain threshold. The system is designed to turn on the LED in low-light conditions, creating a night-light effect.
- Power the Arduino Nano setup.
- The system will automatically monitor ambient light levels.
- The LED will turn on when it's dark and turn off when it's bright.
- Adjust the LDR threshold in the code if needed.
- Serial monitor output is available for monitoring.
Copyright © 2023 Chanakya Shukla. All rights reserved.