ESP and WS2812 based clock

Stylish clock project based on an ESP-01 module with arendst - tasmota software

Similar projects worth following
In the documentation for the Tasmota software I did find a referense to å clockmode. I did need to find out what it was. It was a analog clock on an WS2812 string. Here is my project to put it into use.

When it is physical finished, I also plan to use it to give me some urgent messages, maybe blink the whole clock red if someone rings the doorbell?


The enclosure / hanger 3D file

Standard Tesselated Geometry - 524.50 kB - 11/15/2017 at 20:43



The clip for the enclosure

Standard Tesselated Geometry - 71.96 kB - 11/15/2017 at 20:42


  • 1 × 5V PSU
  • 1 × ESP01
  • 1 × 3.3v reg
  • 1 × 1N4148 Discrete Semiconductors / Diodes and Rectifiers
  • 1 × resistor

View all 8 components

  • First notification

    Kjetil11/17/2017 at 18:54 0 comments

    Today i have tested the clock from mqtt and node-red

    cmnd/Clock∕Dimmer 100
    sets full power, value from 0 to 100.

    cmnd/Clock/Color 00F000
    sets bright green color (RRGGBB)

    cmnd/Clock/Scheme 0
    switches mode so the selected color is shown

    cmnd/Clock/Scheme 2
    switches back to normal clock display

    Doorbell has gotten a golden color for a minute.

    Bright red is reserved for the day when i get the fire alarm conected

    and at the moment a message via Telegram app to my house bot will light the clock green. That is only for test, maybe it will become useful for something. The telegram bot was already set up to sen me a picture from outdoor surveillance cam when somebody is ringing the doorbell.

  • Documentation

    Kjetil11/15/2017 at 20:54 0 comments

    The clock is finished and hanging on our wall. it is fascinating looking at it and see time fly in a ever changing  rainbow light show.

    This hackaday io project is to document it and enable others to make their own.

    at the moment it shows time in a very nice and easy readable form. It is connected to my Node-red setup and dims together with the light in the room.

    there is more to do to use it as a status display.

    the documentation is not finished, but hang on, more details is comming.

View all 2 project logs

  • 1
    1: make pcb

    The board is very simple. It is a 3.3V regulator for the ESP. A diode from the output pin and a pull up from the diode to 5V. This is to lift the signal level before putting it in to the led strip.

    Some capacitors may be a good idea. My clock is working fine without, using only the caps in the PSU and the module itself. It could also be nice with a resistor to vcc (3.3V) from gpio0 to prevent the module going into programming mode.

    The blue rectangle on the schematics indicate the direction of the esp01 module. The three pin connector to the left is the connection to the led strip. 5v at top. Signal in middle and gnd at bottom

  • 2
    2: Program the ESP

    Follow the instructions on the github page for the tasmota software.

    There are precompiled binaries that is easy to use, but as i live in Norway and we have summer and winter time i had to adjust the parameters for the summer/winter time in the user_config file before i uploaded the software from the arduino ide.

    I also put my network credentials in the config file.

    There are many ways to do this, so check the instructions from Tasmota.

  • 3
    3: 3d print

    I have 2 stl files. One for the electonics enclosure / hanger, and one for the clip to fasten the enclosure to the clock face.

    The clip and enclosure has 3 holes. I glued in 3 pins from a pinheader. the two that is in line is there to hold the clip in place. the third is going to go trough the clock face. 

    The stl files are in the files section.

View all 8 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates