UV Glow Clock - It Spins!

by maken_it_so in Circuits > Clocks

2120 Views, 12 Favorites, 0 Comments

UV Glow Clock - It Spins!

UV Glow Clock - it spins!
20180203_203553.jpg

I wanted to build an unusual clock, and i had some UV Led's and glow in the dark filament on hand so here we are.
The glow disk is printed using glow in the dark (uv) PLA plastic

Parts used...

Arduino Nano (v3)
10x UV LED's (5mm)
1x 28BYJ-48 Motor (cheap stepper motor)
1x DS1307 RTC clock module
Also used was some Black PLA for the base and some M3 nuts and bolts to mount the motor.

Download and print the Face, Base & Case (case optional) from thingiverse https://www.thingiverse.com/thing:2775280

Add & Wire the LED's

20180203_210416.jpg
vlcsnap-2018-02-03-23h55m58s856.png
wired.png

Push the UV LED's in to the sockets

Be sure to line up the short legs on one side, this will be the common wire.

Run a wire along the short legs and solder them all together.


Add the Motor and Solder the Wires In

20180203_232422.jpg
20180203_232515.jpg
UV_Clock_Schematic_FINAL.png
20180203_232632.jpg

Add the motor using the M3 countersunk screws, use a larger drill bit to countersink the holes.
Pop the little blue plastic cover off the motor and cut the middle trace.

The top LED connects to D11 on the Arduino
The Bottom LED is D2 on the Arduino.
LED Common can connect to either Pin D12 or GND

The motor is wired to the Arduino like this...
BLUE: A0
YELLOW: A1
ORANGE: A2
PINK: A3

And the RTC (DS1307)
SDA: A4
SCL: A5

See the schematic for more detail on the wiring.

Add the Glow Disk and Program the Arduino

20180203_232716.jpg
glow_clock.png

Push the glow disk on to the motor shaft.

Download the Arduino sketch from https://github.com/boy1dr/UV_LED_CLOCK

Upload it to the Arduino, once finished it should start spinning around and displaying some numbers.

If all is well, it's time to set your clock. In the Arduino sketch find the line that is commented out saying...
rtc.adjust(DateTime(2018, 1, 29, 21, 03, 0));

Delete the // and update the time to current time. Upload to the Arduino.

Then put back the // and upload again (or the time will reset each time the clock is powered on).

The RTC should keep reasonably good time, just repeat that last rtc.adjust step to reset it if it gets out of time in the future.