Tools and materials: -Wemos D1 Mini microcontroller; -Aluminum channel for LED strips; -LED strip WS2812B; -Wireless ESP8266 module; -Photosensitive resistor; -Resistors ; – Capacitors; – DC power connector; – FTDI adapter; Step one: device overview
After installing the hood over the kitchen pita, the master decided to additionally install an information board. The role of the display will be performed by an addressable LED strip controlled by a microcontroller.
The middle part of the LED strip is a timer. Blue LED shows tens of minutes, white LEDs show minutes.
LEDs in the corners inform about the status of the cooker and the cooker hood. whether these devices are working or not.
For example, a lit red LED indicates that the hob is on, and a blinking LED indicates that air circulation is on.
Step two: interface
There are three ways to interact with the device:
MQTT protocol: cmnd msg for management and stat msg for updates. This is a very useful feature because it makes it easy to integrate the device with home automation systems.
The second way is to use the built-in web interface. Here you can set the timer and read the status indicators.
The third way is to use the buttons on the controller to set the timer or turn on the night light.
The controller also has a buzzer that sounds when the timer expires.
< a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204862_1-6.jpg" rel = "prettyPhoto"> Step three: controller
The master designed a dedicated controller board using the ESP12 module, 3 buttons, light sensor, connection for LED strip, buzzer, 3.3 voltage regulator and ESP12 programming pins.
A printed circuit board was also designed. The board is long rectangular to fit easily under the cabinet.
< a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204879_1-10.jpg" rel = "prettyPhoto"> < a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204852_1-12.jpg" rel = "prettyPhoto"> Step four: LED installation
The master fixed an aluminum channel on the wall. I drilled holes in the cabinet and ran the wires. I installed an LED strip in the channel.
< a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204862_1-16.jpg" rel = "prettyPhoto"> < a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204906_1-18.jpg" rel = "prettyPhoto"> Step fifth: software
The master wrote the code for the device himself. You can download the code here.
< a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204870_1-21.jpg" rel = "prettyPhoto"> Step six: housing for electronics
For electronics, the master has developed a special housing, which in the future he 3D printed.
The case with the controller is fixed at the bottom of the kitchen cabinet. Then the LED strip is connected to the controller using a terminal block.
< a href = "https://usamodelkina.ru/uploads/posts/2021-02/1612204919_1-24.jpg" rel = "prettyPhoto"> Everything is ready, the master's kitchen has become a little smarter.
All the work on the manufacture, installation, configuration, as well as the operation of such an information LED panel can be seen in the video.