-
Added a buzzer for alarm features + a basic remote
10/31/2018 at 13:09 • 0 commentsThe lamp includes also a buzzer now, and an alarm can be set remotely. When the alarm is on, the lamp blink and the buzzer beep.
Time is managed through NTP
I have also made a very basic remote, with just 1 button.
This is basically a wifi connected button, made with a D1 Mini lite. A press on the button reset the ESP8266 (which is in permanent deep sleep mode), which only call the lamp to switch it on or off. Indeed the lamp is far from my girl bed, and so she can activate / desactivate the lamp at will.
When pressed, the switch also stop a running alarm
In a further upgrade I will add a tilt switch into the remote, to allow to change the light pattern of the lamp simply by shacking the remote.
-
Completed, with another power source
10/31/2018 at 12:44 • 0 commentsI completed this lamp 2 weeks ago. Finally I didn't use a 220V -> 5V converter, but an external power supply (an old 5V / 0.6A from a broken Philips Hue lamp)
Everything else is as I expected. I didn't take pictures during the building, but here how it is once completed :
It works well. The RGB shield is not very powerful, so it's just enough for a night light. As it is very easy to use, I think it's a good use for this shield.
For the program, I didn't use the standard Adafruit lib for RGB : it doesn't work with my D1 mini (I had a lot of problem with that on some other projects)
Use instead NeoPixelBus lib, and output D4
-
Preparing stuff for the project
10/11/2018 at 16:08 • 0 commentsWhy this project ? One of my girls is asking for a Night Light, more to be able to light up the room at demand.
So, to have a little fun with this, I will do :
- A Wifi driven Night light. Based on standard electrical components + D1 Mini + RGB Leds
- A Wifi button, using a standard wall mounted switch box + D1 Mini Lite + Battery + Deep sleep mode (will be described on another project)
The night light will be, basically, a standard desk lamp. But it will use 7 RGB Led, to add more fun in the light ambiance. I don't need here a lot of lighting power, so the standard Wemos D1 Mini RGB Shield will be OK.
I have everything I need to start it, except time, so I will update this project page once I will have completed everything. Once again the longest part will be the "mecanical" stuff : merging things together in a way that is safe and do what I want :-)