Digital Light Pipes Fiber Optic Clock

by TerraG2 in Circuits > Clocks

4474 Views, 62 Favorites, 0 Comments

Digital Light Pipes Fiber Optic Clock

Picsart_22-09-09_11-30-42-796.jpg

Inspiration for this clock struck 6 months ago after seeing @ItsMrJP 's awesome hot air balloon prints. I wanted to build something functional that would highlight the beauty of the thick side glow fiber optic pieces. Originally I though of enclosing the clock so the pipes couldn't be disturbed, but after much trial and error, I decided to keep the back open for a clear view of the strands. 


After posting some initial sketches on Twitter I got some very valuable advice and feedback from @maketvee and @ItsMrJP. Thanks to these guys for their help!


So, how to make it. Lets get to it.

Supplies

20220908_084448.jpg

Below are the parts, materials, tools and software needed. I have included Amazon links for convenience, but the parts can be found elsewhere, probably cheaper.

3d Print the Parts

20220908_084448 - Copy.jpg

Print the below parts as is. No supports necessary. Stl files already have the correct orientation. 

Flash the Microcontroller

Using Arduino Ide flash the code to the ESP8266 board. Make sure to update the wifi SSID and password first! This code is a slightly modified version of the ClockSketch V7 by Parallyze. The code is highly configurable, so play around with it if you like, but the version I have posted on github is modified to work with this clock specifically.

Assemble the Circuit and Base

Schematic_LightPipesClock_2022-09-08_abbr.png
innards.png
20220908_090200.jpg
20220908_090235.jpg
20220908_090613.jpg
20220908_090642.jpg
20220908_090708.jpg
20220908_090751.jpg

See above for circuit schematic and parts placement on the 3d printed underside_lid piece.

Secure the MPU6050 with the M2x6 screw, and slide the ESP8266 into the slots. Hot glue may be used to hold down the ESP8266 a bit firmer, but once the led matrix is on and the underside_lid is popped into the base, this part will not move.

When soldering the wires to the MPU6050 and the ESP8266, have the wires come out the underside of the boards. There is a gap built in to allow the wires to go through. If they are wired on top, the led matrix won't have enough space.

Make sure the led matrix wires line up with the gap in the underside_lid that allows the wires to go through without lifting the matrix. The matrix should sit flat on the rails of the underside_lid.

Once the parts are soldered and positioned, test the circuits by plugging it in. Also test the gyro by turning the piece upside down to change the color pallet.

Once the parts are soldered, positioned and tested, slide the underside_lid up into the base piece. Line up the oval opening with the usb port of the ESP8266, then push slightly up into the base. It shouldn't need to be forced, if it is too hard to push, check the parts arrangement and make sure nothing is in the way. You should hear a few clicks when the underside goes into the base correctly.

If you need to pull the parts back out of the base, pinch slightly on the sides of the underside_lid and pull down and back out.

Plugin the Pipes

20220908_090920.jpg
20220908_091128.jpg
lens.png
LightPipesMapAndLengths.png
20220908_235638.jpg
20220909_000441.jpg
20220909_000536.jpg
20220909_000951.jpg
20220909_001539.jpg

Slide the face piece into the base. The tab sticking out of the bottom should be inserted toward the light grid. If inserted correctly the face should sit flush with the base, forming a L shape.

Next start cutting up the PMMA. I recommend cutting as you go. The lengths are not exact, but slightly longer than needed works best. When the pieces are too short they will not have tension on them and they will fall out. The spreadsheet image above lists out approximations for the lengths of each row and how they should be plugged in. I have highlighted a couple to get started. For reference, the green 0 at the back corner of the grid lines up with the green zero at the top left of the first digit. The yellow 7 at the front of the grid, closest to the face, aligns with the bottom right of the last digit. And so on.

When inserting the PMMA into the lens pieces, push the strand in but don't force it all the way. It should "catch" about half way through the piece, and should be slightly difficult to pull back out when tugged.

Start with the bottom, the row closest to the face. And work your way up/out.

Test and Enjoy!

Digital Light Pipes Clock