Note
Цей документ має переклад українською.
This project should make morning wake-ups more comfortable.
As the name applies, it shines a light, before the main alarm starts (by default before 30 minutes), and turns it off when the stop button is pressed or time elapsed (by default 30 minutes).
Important
Currently project is in the prototype stage.
Important
This project is not meant to substitute an alarm clock.
When first powered up, the Wi-Fi access point (default SSID "ConfigMe" and password "MegaSecurePassword123") will appear after connecting to this Wi-Fi configuration portal (default IP: 192.168.4.1).
The configuration portal allows entering the SSID and password of your Wi-Fi (which has Internet connection) and the main alarm clock start time.
Important
Some settings are not available from the configuration portal because they are hard-coded. Checkwifi_utils.h
Note
An access point with a configuration portal can be started by pressing the start portal button.
This project is built using WeMos D1 Mini Lite (ESP8266), 2 buttons, a 5V LED strip and a custom-made single layer PCB. To power this up, a 5V phone charger was used. Schematic and PCB are under pcb folder.
Note
PCB and schematic were created using KiCad 8.
Note
The stop button is connected to the PCB using a connector.
This project was developed using the PlatformIO environment (VS Code extension).
For managing Wi-Fi connection, the WiFiManager lib was used.
For storing user preferences, the Preferences lib was used.
Code for NTP time server synchronisation was copied from here: https://werner.rothschopf.net/202011_arduino_esp8266_ntp_en.htm