This project, an Automated Light Monitoring System, continuously monitors ambient light using an LDR sensor and records the information on the Bolt Cloud platform. It helps track brightness levels over time and can be modified to create boundaries for controlling lights or setting off alarms.
Problem StatementIt is inefficient to manually track light conditions in spaces like study rooms, gardens, or factories where lighting needs to be automated or monitored. This project uses basic electronics and the Internet of Things to provide real-time monitoring and cloud-based visualisation of light intensity.
Hardware and SoftwareHardware· Bolt Wi-Fi Module (ESP-based)
· LDR (Light Dependent Resistor)
· Resistor (10kΩ recommended)
· Breadboard
· Jumper Wires
· USB Cable
Software· Bolt Cloud
· Bolt IoT App (Android)
· JavaScript for Bolt Cloud Code
· Google Charts Library (for plotting)
Steps for Building the Project1. Hardware Setup- Connected the LDR to the A0 analog pin of the Bolt Wi-Fi Module.
- Used a 10kΩ resistor to form a voltage divider with the LDR.
- Powered the setup via USB and tested the analog readings on the Bolt App.
- Used the Bolt Cloud’s built-in JavaScript editor to write the code.
- Configured the code to:
- Read from the analog pin A0
- Send data to the cloud every 60 seconds
- Display data using a Google area chart
- Bolt Cloud’s chart visualized the light sensor data continuously.
- Monitored the variations in light intensity through the graph updates.
Comments