Utilizes an Arduino Uno attached an Ultrasonic HC-SR04 Module, with (2) Inland WS8218B Individually Addressable LED Strip
Explore the docs »
Table of Contents
Upon moving into my new home, I quickly realized that there was no light in the pantry. Every time I needed something, I found myself fumbling around in the dark, which was both inconvenient and frustrating. As a programmer, I saw this as an opportunity to apply my skills to solve a real-world problem. I leaped into action and designed an automated lighting system specifically for the pantry.
I installed an ultrasonic sensor that detects the distance to the pantry door. When the distance exceeds my set value, the sensor triggers the LED strips to turn on. This way, you never have to fumble for a switch or worry about forgetting to turn the light off when you leave. I also included a timer that ensures the light turns off after a certain period of inactivity, conserving energy and providing peace of mind.
Now, the pantry is always well-lit when needed, making it easier to find items and enhancing the overall functionality of the space. This small yet impactful project not only solved a daily annoyance but also highlighted the practical applications of programming in everyday life.
- ( 1 ) Inland HC-SR04 Blue Ultrasonic Module
- ( 2 ) Inland WS8218B Individually Addressable LED Strip
- ( 1 ) Adruino Uno
- Get the Arduino software at Arduino.com
- Clone the repo
git clone https://github.com/iamDaleon/Automate_Pantry_Light.git
- Install the Automated_Pantry_Light onto the Arduino
- Wire up cables to the correct ports
- Enjoy the project.
- [ Breadboard & test functionality ] Feature 1 - COMPLETED
- [ Design and 3D Print a Case ] Feature 2 - IN PIPELINE
- [ Add Photos of the device ] Feature 3 - TBA
- [ Redesign and continue the process ] Feature 4 - TBA
- [ Add the schematics, Instruction... etc ] Feature 5 - TBA
iamDaleon - @iamDaleon
Project Link: Automate Pantry-Light