The SNTP synchronised clock (ssc) is an ESP8266 based time of day clock with an LED display.

The code is fairly mature, and the boxed prototype will be build with a large 4 digit 7 segment LED display (1.2″ or 30mm) using the HT16K33 driver chip.

The prototype will be housed in an ABS Jiffy box, and a new lid cut from dark red transparent acrylic on the CNC router.

Above is the sketch of the layout. The screw holes in the display are M1.6, and there is no clearance for larger screws.

The gcode is generated in a single file for all operations.

Above, feeds and speeds for the 1.6mm end mill.

(Exported by FreeCAD) (Post Processor: grbl_post) (Output Time:2021-06-05 12:24:50.337862) (Begin preamble) G17 G90 G21 (Begin operation: T5: 1.6mm end mill) (Path: T5: 1.6mm end mill) (T5: 1.6mm end mill) (Begin toolchange) ( M6 T5.0 ) M3 S24000.0 G4 P5 (Finish operation: T5: 1.6mm end mill) (Begin operation: Fixture) (Path: Fixture) G54 G0 Z20.000 (Finish operation: Fixture) (Begin operation: Holes) (Path: Holes) (Holes) (Compensated Tool Path. Diameter: 1.6) G0 Z20.000 G0 X0.545 Y33.523 G0 Z3.000 G1 X0.545 Y33.523 Z-4.000 F90.000 G2 X0.068 Y32.169 Z-4.000 I-0.563 J-0.563 K0.000 F180.000 G2 X-0.809 Y32.877 Z-4.000 I-0.086 J0.791 K0.000 F180.000 G2 X-0.098 Y33.752 Z-4.000 I0.792 J0.083 K0.000 F180.000 G2 X0.545 Y33.523 Z-4.000 I0.081 J-0.792 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X0.545 Y33.523 G0 X56.458 Y23.033 G0 X56.458 Y23.033 Z3.000 G1 X56.458 Y23.033 Z-4.000 F90.000 G2 X56.483 Y23.065 Z-4.000 I0.042 J-0.008 K0.000 F180.000 G2 X56.540 Y23.042 Z-4.000 I0.017 J-0.040 K0.000 F180.000 G2 X56.517 Y22.985 Z-4.000 I-0.040 J-0.017 K0.000 F180.000 G2 X56.458 Y23.033 Z-4.000 I-0.017 J0.040 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X56.458 Y23.033 G0 X69.396 Y38.834 G0 X69.396 Y38.834 Z3.000 G1 X69.396 Y38.834 Z-4.000 F90.000 G2 X69.664 Y40.210 Z-4.000 I0.504 J0.616 K0.000 F180.000 G2 X70.660 Y39.686 Z-4.000 I0.236 J-0.760 K0.000 F180.000 G2 X70.136 Y38.690 Z-4.000 I-0.760 J-0.236 K0.000 F180.000 G2 X69.396 Y38.834 Z-4.000 I-0.236 J0.760 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X69.396 Y38.834 G0 X56.510 Y-22.984 G0 X56.510 Y-22.984 Z3.000 G1 X56.510 Y-22.984 Z-4.000 F90.000 G2 X56.527 Y-23.059 Z-4.000 I-0.009 J-0.041 K0.000 F180.000 G1 X56.517 Y-23.065 Z-4.000 F180.000 G2 X56.483 Y-22.987 Z-4.000 I-0.016 J0.039 K0.000 F180.000 G2 X56.510 Y-22.984 Z-4.000 I0.018 J-0.038 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X56.510 Y-22.984 G0 X69.398 Y-38.832 G0 X69.398 Y-38.832 Z3.000 G1 X69.398 Y-38.832 Z-4.000 F90.000 G2 X69.819 Y-38.658 Z-4.000 I0.502 J-0.617 K0.000 F180.000 G2 X69.986 Y-40.241 Z-4.000 I0.081 J-0.792 K0.000 F180.000 G2 X69.398 Y-38.832 Z-4.000 I-0.086 J0.791 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X69.398 Y-38.832 G0 X-56.459 Y-23.030 G0 X-56.459 Y-23.030 Z3.000 G1 X-56.459 Y-23.030 Z-4.000 F90.000 G2 X-56.483 Y-23.063 Z-4.000 I-0.042 J0.005 K0.000 F180.000 G1 X-56.499 Y-23.068 Z-4.000 F180.000 G2 X-56.517 Y-22.985 Z-4.000 I-0.002 J0.043 K0.000 F180.000 G2 X-56.459 Y-23.030 Z-4.000 I0.016 J-0.039 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X-56.459 Y-23.030 G0 X-69.396 Y-38.834 G0 X-69.396 Y-38.834 Z3.000 G1 X-69.396 Y-38.834 Z-4.000 F90.000 G2 X-69.654 Y-40.207 Z-4.000 I-0.504 J-0.616 K0.000 F180.000 G1 X-69.819 Y-40.242 Z-4.000 F180.000 G2 X-70.136 Y-38.690 Z-4.000 I-0.081 J0.792 K0.000 F180.000 G2 X-69.396 Y-38.834 Z-4.000 I0.236 J-0.760 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X-69.396 Y-38.834 G0 X-56.509 Y22.983 G0 X-56.509 Y22.983 Z3.000 G1 X-56.509 Y22.983 Z-4.000 F90.000 G2 X-56.517 Y23.065 Z-4.000 I0.009 J0.042 K0.000 F180.000 G2 X-56.483 Y22.987 Z-4.000 I0.016 J-0.039 K0.000 F180.000 G1 X-56.499 Y22.982 Z-4.000 F180.000 G2 X-56.509 Y22.983 Z-4.000 I-0.002 J0.043 K0.000 F180.000 G0 Z20.000 G0 Z20.000 G0 X-56.509 Y22.983 G0 X-69.398 Y38.832 G0 X-69.398 Y38.832 Z3.000 G1 X-69.398 Y38.832 Z-4.000 F90.000 G2 X-69.664 Y38.690 Z-4.000 I-0.502 J0.618 K0.000 F180.000 G2 X-70.660 Y39.214 Z-4.000 I-0.236 J0.760 K0.000 F180.000 G2 X-70.136 Y40.210 Z-4.000 I0.760 J0.236 K0.000 F180.000 G2 X-69.398 Y38.832 Z-4.000 I0.236 J-0.760 K0.000 F180.000 G0 Z20.000 G0 Z20.000 (Finish operation: Holes) (Begin operation: Perimeter) (Path: Perimeter) (Perimeter) (Compensated Tool Path. Diameter: 1.6) G0 Z20.000 G0 X78.631 Y47.732 G0 Z3.000 G1 X78.631 Y47.732 Z-4.000 F90.000 G2 X79.597 Y45.470 Z-4.000 I-2.336 J-2.334 K0.000 F180.000 G1 X79.600 Y-45.400 Z-4.000 F180.000 G2 X76.370 Y-48.697 Z-4.000 I-3.302 J0.004 K0.000 F180.000 G1 X-76.300 Y-48.700 Z-4.000 F180.000 G2 X-79.597 Y-45.470 Z-4.000 I0.004 J3.302 K0.000 F180.000 G1 X-79.600 Y45.400 Z-4.000 F180.000 G2 X-76.370 Y48.697 Z-4.000 I3.302 J-0.004 K0.000 F180.000 G1 X76.300 Y48.700 Z-4.000 F180.000 G2 X78.631 Y47.732 Z-4.000 I-0.004 J-3.302 K0.000 F180.000 G0 Z20.000 G0 Z20.000 (Finish operation: Perimeter) (Begin postamble) M5 G17 G90 M2

Total cycle time is about three minutes (the small cutter is slow).

Above, the red acrylic front.

Above, the finished box. The front is more transparent to the camera than to the eye, the internals aren’t so visible to the eye.

The two switches at the right are locking / alternate action push buttons, the top one selects daylight saving, the bottom one changes the display to MM:SS for setting other clocks. If the MM:SS mode is selected at power on, the WiFi captive portal configuration mode will be forced.

Top middle is a phototransistor used for switching between night and day brightness.

A work in progress…