กลับไปหน้ารวมไฟล์
ledstripcupboardclock-c3c553-en.md

hello everyone i'm happy to share a really cool project i had to make for a school project. I hope y'all like it. And feel free to ask questions. Since it is my first project hub please give me tips and suggest things i need to change.

This project was the last project i made on my school the teachers asked what i wanted to make and i could choose everything i wanted. I started brainstroming and suddenly a idea popped i my mind from a project i had seen on youtube. the link to the original video:

(14) How to build a Hidden Shelf Edge Clock - 3D Printable | Elegoo Arduino Nano | Smart Home | LED - YouTube

and also the guy i based my code on en got extra inspiration:

(17) 3D Digital Clock - YouTube

So this was the base for my project. I started sketching and ended up with the included sketch(it's not perfect but it gives you a good idea of the dimensions). Then i started selecting wood. I chose MDf with a thickness of 22 millimeter. MDf is easy to work with and it is cheap. Here you can see the base of the cupboard:

base cupboard
base cupboard

Then i started milling slots where i could insert the ledstrips. The slots are 1 centimeter wide and 1 centimeter deep. Here is the result:

milled slots
milled slots

then i inserted the ledstrips which looks somthing like this: 

ledstrips mounted
ledstrips mounted

This scematic uses a arduino uno but the connections for the esp8266 are the same. Also this scematic uses a  470 ohm resistor but anything between 200 and 500 is fine. Same for the capacitor u can also use a 100 uf capacitor.

Scematic:

schematic
credits: Basic Connections | Adafruit NeoPixel Überguide | Adafruit Learning System

Then came the interesting bit. I wanted to put a plexiglass plate because that gives a nice effect and protects the ledstrips from getting damaged. Luckily my school has a laser cutter so i draw the shape of the cupboard and lasered it. If you want to recreate this but don't have a laser you could also use a jigsaw thats a lot cheaper. Here you can see the plexiglass mounted. I used double sided tape to mount the plexiglass to the cupboard. So that if ever the ledstrip would break i can easily take the plexiglas off and repair it.

plexiglass mounted
plexiglass mounted

then i programmed the clock and the project was finished. I got an example code from a teacher of my school. I used an esp8266 d1 mini to connect to the wifi and get te realtime. I milled a slot in the back to fit al the electronics in this is also where esp8266 is placed. I then drilled a hole from the back to the front to fit the wires that connect to the ledstrip. On the back i also made a hook so you can mount the clock to the wall. Because the clock gets real time it shows the exact time with a marche of 2 seconds. I also coded that every 10 minutes the color changes. 

The Brain: WiFi-Synced Time (NTP)

Instead of relying on a battery-backed RTC module that might drift, the clock uses an ESP8266 D1 Mini.

  1. NTP Protocol: Upon booting, the ESP8266 connects to your home WiFi and reaches out to a Network Time Protocol (NTP) server. This ensures the clock is always accurate to within 2 seconds of the official time.
  2. Color Dynamics: The software is programmed to shift the color of the display every 10 minutes, keeping the room's atmosphere dynamic and fresh.
  3. Power Management: With 300 LEDs possible, a $10\text{A}$ power supply is critical. The circuit follows strict Adafruit NeoPixel standards, including a $1000\mu\text{F}$ capacitor to smooth power and a resistor to protect the data line.

Here are some final foto's:

time: 10:53
time: 10:53
time: 10:54
time: 10:54
time: 08:06
time: 08:06


strengths of the clock:
- fun project

- handy clock in your room

- fun to watch

weaknesses of the clock:

- because some ledstrips are close together it's sometimes hard to see the time.

- some colors are discolored because i used white plexiglas. For Example yellow is almost the same as orange.


future:

In the future i am planning to use an esp32 instead of an esp8266. Then create an app for the clock. With the app i want to control the color, and maby display custom bytes an texts.

Future Perspectives: IoT Expansion

While currently a standalone WiFi clock, the creator plans to upgrade to an ESP32 to add specialized app control. This will allow for custom text scrolling, color picking via smartphone, and "Smart Alarm" integration. Even in its current state, the LED Strip Cupboard Clock is a masterclass in how DIY technology can elevate modern home aesthetics.

Conclusion:

I hope you all like my project because i do. I learned a lot from this project and every bit of making it was fun. I would like to see you people recreate my idea and mostly that you make your own version of it.


ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE 2.0 (beta)"
author: "connorvl"
category: "Lights & LEDs"
components:
  - "1x plexiglass"
  - "1x Resistor 220 ohm"
  - "1x Solder Iron"
  - "1x Milling Machine"
  - "1x Wood glue"
  - "1x Laser cutter (generic)"
  - "1x Capacitor 1000 uF"
  - "1x MDF"
  - "1x DC Power supply - 5V 10A"
  - "1x Electric miter saw"
  - "1x 5m/roll DC5V ws2812b 300led Individually Addressable 60leds/m 5050 RGB"
description: "A stunning piece of functional furniture that merges a hidden shelf edge clock with WiFi-synced NTP time and WS2812B LEDs."
difficulty: "Intermediate"
documentationLinks:
  - "https://learn.adafruit.com/adafruit-neopixel-uberguide/basic-connections"
downloadableFiles: []
encryptedPayload: "U2FsdGVkX1/Dnl7zbrSq0/HnsTT8mlbNqPcltyexUz1k0arbY8uVX5ZpVpvbAu4gzGxug/g5lQDkTpS7O5iVadaxOmxy4CVW4n/vIhAgeQQ="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/ledstripcupboardclock-c3c553_cover.jpg"
lang: "en"
likes: 2
passwordHash: "e181ad02d0cf7124f61030b1abb24a4eefd0bb7477825b0e401f1276a805a650"
price: 2812
seoDescription: "Build a DIY Hidden Shelf Edge Clock with ESP8266 and WS2812B LEDs. High-precision WiFi clock with color-changing cupboard integration."
tags:
  - "clocks"
  - "smart-home"
  - "furniture"
  - "esp8266"
  - "neopixel"
title: "LED Strip Cupboard Clock"
tools:
  - "1x Milling Machine"
  - "1x Laser Cutter or Jig Saw"
  - "1x Electric Miter Saw"
  - "1x Soldering Iron"
videoLinks:
  - "https://www.youtube.com/watch?v=8E0SeycTzHw"
  - "https://www.youtube.com/watch?v=QDYH36tWzoY"
views: 322