Make everything automatic and make things easier.
I have created this project solely for exploring the features of the NodeMCU microcontroller (ESP8266) and fulfilling my desire to create an automatic backlight for my desk that adjusts according to day and night time using an LDR sensor. Several variables are stored in the ESP8266 EEPROM to prevent data loss upon restart. Additionally, I have incorporated a Telegram bot as an alternative method for remote control. I may consider adding more features in the future.
What does this device do? In simple terms, if it is night and there is enough light, the relay will activate so that the backlight lamp on the table turns on, otherwise if it is dark, it is time to sleep and the backlight will turn off. During the day it will turn off the relay and activity detection light to save energy.
- Current
- Turn on and off the lights using relay
- Use NTP client to get value day or night
- Using the LDR sensor to get the light intensity
- Using average light intensity for stability sensor readings
- Make auto sampling dark value
- Development
- Using Telegram bot for remote control
- Use pointer for function
- Using EEPROM to store data
- Use Webserver
If you think this project is helpful, you can make a donation. For those of you who want to make a donation, we would really appreciate it. Donations can be made through Buy Me a Coffee and PayPal.
This project is owned by spothings. Copyright, Privacy Policy and License also sourced from there.