Introduction: RGB 7-segment Display Clock With WS2812B
Just another seven segment LED clock.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Materials (Off the Shelf)
Step 2: Material (3D Printed)
You have to print the following parts: (Some parts need to be printed a couple of times)
- 4 x digitTop (must be white)
- 4 x digitMiddle
- 4 x digitBottom
- 1 x dotsTop (must be white)
- 1 x dotsMiddle
- 1 x dotsBottom
- 1 x cover
- 1 x stand
The parts can be downloaded using this link
Or copy and paste this https://drive.google.com/open?id=1ylED_Z6tzbkfommgAIltvLyKiJfT1_QF
Step 3: Painting
Now that everything is 3D printed, you can start giving color to your 3D prints. Make sure that you don't paint the digitTop and dotsTop because they have to diffuse the light, if painted it won't let any light trough. I went for a matt black color, but you can choose every color you want!
Step 4: Glue the Diffusers in Place
After the coat of paint, it is time for the assembly of the clock. We are gonna start with glueing the diffusers (dotsTop and digitTop) in place. I used some hobby glue for this, but you can use any glue you want.
Start by putting a layer of glue on the digitMiddle and dotsMiddle and then gently put the diffusers in place. Let the glue dry and now they are nice and neatly glued into place!
Step 5: Cut the LED Strip to Lenght
The next step is to cut your LED strip to lenght. For this clock we will need 28 pieces with 2 leds and 2 leds on its own.
Step 6: Stick the LED's to the Bottompiece
Now it is time to stick the LED's in place. We'll have to stick them on the digitBottom and the dotsBottom. After sticking them, I recommend to use some clamps to make sure they are sticking well.
Step 7: Soldering
In the next step, you have to solder all the LED's together. Make sure you use the right order of the segments, because if not correctly ordered, the code won't work.
Step 8: Place Everything in the Holder
Now that every part is finished, we can put everything in it's place.
Step 9: Connecting Everything to the ESP8266
1. 5v to 5v
2. gnd to gnd
3. data pin to D2
(this is fairly easy because we only have 2 components the LED strip and the ESP8266)
Step 10: Uploading the Code
Right now everything is done. That means it is time to upload the code!
1. Download the rgbLed.ino file using this link.
2. Open it using the Arduino IDE
3. Choose the ESP8266 and upload the code
Now everything should work and you can show your new creation to all of your friends!
This is an entry in the
Make it Glow Contest