GithubHelp home page GithubHelp logo

oozcan / wordclock_nodemcu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dgoersch/wordclock

0.0 0.0 0.0 22 KB

DIY Wordclock with WS2812B stripes controlled by a ESP8266 NodeMCU

License: GNU Lesser General Public License v3.0

Arduino 37.26% C++ 8.23% C 54.52%

wordclock_nodemcu's Introduction

Wordclock

This is my first DIY Wordclock

Instead of single pixels I used a digital LED-stripe (10 pieces of 11 LEDs and 1 piece of 4 LEDs) with WS2812B-LEDs controlled by a NodeMCU (mini) with an ESP8266 Wifi module for configuration and NTP.

Stripe layout

There are two different layouts for two kinds of wireing the stripes. In the layout header files X/Y coords are mapped to the index no. of each LED on the stripes.

Layout 1

1st row left to right, 2nd row right to left, 3rd row left to right, ect...

  0 X--X--X--X--X--X--X--X--X--X--X 10
                                  |
 21 X--X--X--X--X--X--X--X--X--X--X 11
    |
 22 X--X--X--X--X--X--X--X--X--X--X 32
                                  |
 43 X--X--X--X--X--X--X--X--X--X--X 33
    |
 44 X--X--X--X--X--X--X--X--X--X--X 54 
                                  |
 65 X--X--X--X--X--X--X--X--X--X--X 55
    |
 76 X--X--X--X--X--X--X--X--X--X--X 76
                                  |
 87 X--X--X--X--X--X--X--X--X--X--X 77
    |
 88 X--X--X--X--X--X--X--X--X--X--X 98
                                  |
109 X--X--X--X--X--X--X--X--X--X--X 99
    |
    `---------X--X--X--X 
             110      113
Layout 2

Every row left to right.

   0 X--X--X--X--X--X--X--X--X--X--X 10
     ,-----------------------------´                              
  11 X--X--X--X--X--X--X--X--X--X--X 21
     ,-----------------------------´                              
  22 X--X--X--X--X--X--X--X--X--X--X 32
     ,-----------------------------´                              
  33 X--X--X--X--X--X--X--X--X--X--X 43
     ,-----------------------------´                              
  44 X--X--X--X--X--X--X--X--X--X--X 54 
     ,-----------------------------´                              
  55 X--X--X--X--X--X--X--X--X--X--X 65
     ,-----------------------------´                              
  66 X--X--X--X--X--X--X--X--X--X--X 76
     ,-----------------------------´                              
  77 X--X--X--X--X--X--X--X--X--X--X 87
     ,-----------------------------´                              
  88 X--X--X--X--X--X--X--X--X--X--X 98
     ,-----------------------------´                              
  99 X--X--X--X--X--X--X--X--X--X--X 109
     |
     `---------X--X--X--X 
              110      113
Words

The matrix shows 10x11 letters to represent the time in german words. An array for each word, containing the coords of the letters, are in the words header file.

|Y\X|1|2|3|4|5|6|7|8|9|10|11| |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |1|E|S|K|I|S|T|A|F|Ü|N|F| |2|Z|E|H|N|Z|W|A|N|Z|I|G| |3|D|R|E|I|V|I|E|R|T|E|L| |4|V|O|R|F|U|N|K|N|A|C|H| |5|H|A|L|B|A|E|L|F|Ü|N|F| |6|K|E|I|N|S|L|M|Z|W|E|I| |7|D|R|E|I|A|U|J|V|I|E|R| |8|S|E|C|H|S|N|L|A|C|H|T| |9|S|I|E|B|E|N|Z|W|Ö|L|F| |10|Z|E|H|N|E|U|N|K|U|H|R|

Four more pixels shows additional minutes. In the original WordClock, they are in the corners but I prefered to place them under the last row.

Reading the clock

03:01

|||||||||||| |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |E|S|K|I|S|T|A|F|Ü|N|F| |Z|E|H|N|Z|W|A|N|Z|I|G| |D|R|E|I|V|I|E|R|T|E|L| |V|O|R|F|U|N|K|N|A|C|H| |H|A|L|B|A|E|L|F|Ü|N|F| |K|E|I|N|S|L|M|Z|W|E|I| |D|R|E|I|A|U|J|V|I|E|R| |S|E|C|H|S|N|L|A|C|H|T| |S|I|E|B|E|N|Z|W|Ö|L|F| |Z|E|H|N|E|U|N|K|U|H|R| |||X||X||X||X|||

07:52

|||||||||||| |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |E|S|K|I|S|T|A|F|Ü|N|F| |Z|E|H|N|Z|W|A|N|Z|I|G| |D|R|E|I|V|I|E|R|T|E|L| |V|O|R|F|U|N|K|N|A|C|H| |H|A|L|B|A|E|L|F|Ü|N|F| |K|E|I|N|S|L|M|Z|W|E|I| |D|R|E|I|A|U|J|V|I|E|R| |S|E|C|H|S|N|L|A|C|H|T| |S|I|E|B|E|N|Z|W|Ö|L|F| |Z|E|H|N|E|U|N|K|U|H|R| |||X||X||X||X|||

06:34

|||||||||||| |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |E|S|K|I|S|T|A|F|Ü|N|F| |Z|E|H|N|Z|W|A|N|Z|I|G| |D|R|E|I|V|I|E|R|T|E|L| |V|O|R|F|U|N|K|N|A|C|H| |H|A|L|B|A|E|L|F|Ü|N|F| |K|E|I|N|S|L|M|Z|W|E|I| |D|R|E|I|A|U|J|V|I|E|R| |S|E|C|H|S|N|L|A|C|H|T| |S|I|E|B|E|N|Z|W|Ö|L|F| |Z|E|H|N|E|U|N|K|U|H|R| |||X||X||X||X|||

BOM

Article Source Price
WS2812B LED Stripes (30 LEDs/m, RGB) BangGood.com 20,40 €
Mini NodeMCU BangGood.com 4,85 €
3A Micro-USB Supply BangGood.com 4,49 €
Some wires bargain bin

wordclock_nodemcu's People

Contributors

dgoersch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.