Monolithic Digital Clock
Intro: Monolithic Digital Clock
Easy to make, beautiful digital clock with WiFi time acquisition.
- Monolithic structure : It consists of only one functional part (except rear cover)
- Monolithic appearance : when power is off, it looks like a marble brick
- Automatic time adjustment using NTP via WiFi
- WiFi setting from your smartphone
STEP 1: Print the Monolithic Light Guide
Print the monolithic light guide using your 3D printer.
- Print with supplied posture.
- Support is not necessary to print.
STEP 2: Prepare LED Strip
- Cut LED strip to 7, 7, 1, 7, 3 (correspond to 1min, 10min, colon, 1hour, 10hour respectively)
- Re-connect LED strips each other with electric wire (5V, GND, Din / Dout)
- Connect LED strips to ESP32 (VCC, GND and GPIO16)
- Check all LEDs lit
STEP 3: Stick LED Strip
Stick LED strips to the main body with adhesive tapes.
STEP 4: Prepare Rear Cover (optional)
- Print cover.stl with supplied posture. Support is not necessary.
- Insert ESP32 board to the slot.
- Attach rear cover with 4 tapping screws.
STEP 5: Cover With Diffusive Material
Cover the clock with thin and diffusive material.
I bought some decoration sheet at 1 dollar shop (100yen shop).
- One is natural wooden sheet (very thin real wood sheet with adhesives).
- The other is marble like sticker sheet. Both are sufficiently translucent and diffuse.
- It would be nice to use your favorite photo as diffuser.
- The other idea is to use half mirror with this clock. In this case, stick a copy paper to the whole of backside of the mirror to diffuse the light.
STEP 6: Flash Code
Flash code to ESP32 using Arduino IDE.
- Please change the value of TIMEZONE to your living place.
STEP 7: Configure WiFi
You can configure the WiFi settings of your ESP32 via smartphone app. Use smatConfig.ino as Arduino sketch.
- ESP32 stores SSID and password in its non-volatile memory.
- If previous (memorized) SSID and password do not work, it automatically moves to SmartConfig mode after 30 seconds. The clock shows "SC" (meaning SmartConfig).
Please configure your WiFi using the apps at
Android: https://play.google.com/store/apps/details?id=com.khoazero123.iot_esptouch_demo&hl=ja&gl=US
iOS: https://apps.apple.com/jp/app/espressif-esptouch/id1071176700
STEP 8: (Optional) Single Digit Unit
Multi-purpose single digit and colon units (STL files) are also provided.
- You can use them for various projects, such as 24hours clock, subscription counter or huge calculator.
- You can connect multiple units each other with holes on both sides. Not only screws but also zip ties would work.
- Discrete back cover is supplied. The cover for single digit is snap-fit (with hooks). You can use side notches to pass through the cables or zip ties. Back cover for the colon unit has no way to fix, so please use glue.
- For 24hours clock, use smartConfig24H.ino to flash the code
19 Comments
SlimShader 2 years ago
I am hitting an issue though in that the clock freezes randomly anything between 10 minutes and an hour after power up - I'm going to change the ESP32 module in case it's faulty, but I'm not sure if anybody else has seen that? The only changes to the code I made was to select timezone and change the LED display colour to white.
Either way, this is an excellent design and has taught me a lot about how light pipes and Neopixels can be used to create this kind of effect - really good work Shiura, thank you!
shiura 2 years ago
One possibility of random resetting is the voltage drop caused by the large current for the LEDs. Maximum current of a single WS2812B full color LED unit is around 50mA. If 20 LEDs lit, it use around 1000mA. Although depending on the power source you used, all white / full power LED setting might exceed the capacity of the power source. Please try to decrease the brightness of LEDs and watch it changes or not. If so, one solution is to use separate power source for LEDs (GND should be common to LEDs and micro controller, but other 5V power source is connected for 5V in of LED strip)
SlimShader 2 years ago
braultMike 2 years ago
braultMike 2 years ago
shiura 2 years ago
quinkithe 2 years ago
shiura 2 years ago
StephenB224 2 years ago
shiura 2 years ago
https://en.wikipedia.org/wiki/Monolith_(disambiguation)
StephenB224 2 years ago
compte0610529 2 years ago
shiura 2 years ago
matthewtmead 2 years ago
shiura 2 years ago
I am also interested in the cheaper micro controller with WiFi. The module I currently use is sold around 5USD at AliExpress, but I found some quality issue. Now I am thinking to switch to M5stamp C3 or C3U (5.90 - 6.00 USD) and already confirmed that same code works including NTP and smartConfig.
https://shop.m5stack.com/products/m5stamp-c3u-mate...
https://shop.m5stack.com/products/m5stamp-c3-mate-...
The other important issue in Japan is compliance. In Japan, exclusive certificate on WiFi and BT is necessary (aka TELEC). I think one of the cheapest WiFi module is ESP8266 based one (Wemos D1 mini compatible, below 3USD). However, they are not TELEC compliant. Actually no one had been prosecuted by such a minor issue, however, some persistent watcher (civilian) criticizes when they find that. Fortunately Particle Photon is TELEC compliant, but I can not find cheap modules around 5-6 USD.
twiereng 2 years ago
Thanks,
Theron Wierenga
shiura 2 years ago
2. Run app and confirm that your phone is connecting to 2.4GHz WiFi station,
3. Power on your printed clock and wait for showing SC,
4. Enter password of your WiFi station,
5. Press CONFIRM button at bottom of your screen
6. Wait for a while (around 30 seconds). The app shows whether it is successful or not.
If the app fails, please retry 2-6.
LeandroB53 2 years ago
snorlaxprime 2 years ago