From the Loftsmith Workshop

Chess clock case with see-saw lever for TM1637 or OLED

A little case for building your own chess clock. Players slap a rocking lever on top to pass the turn, and two window cutouts on the front show your TM1637 or OLED display. Change the case width or how far the lever tips to match your build.

5 parts · 128 g · 150 × 90 × 73 mm

by Loftsmith Workshop

White wedge-shaped case with two dark front windows and a grey rocking lever on top
Loading the 3D view
Loading the 3D view
No adjustable sizes

Ask for the sizes you want to tweak, e.g. “make the width adjustable”.

Parts

  • case · PLA (ivory) · Upright on its flat bottom, open top up

    150 x 89.8 x 56 mm, about 91 g and 128 min at 2 walls/15%. Sloped front with two recessed windows, display ledges, two switch corbels with magnet stops and microswitch pockets, four corner bosses for M3 heat-set inserts, battery guides with cable-tie slots. No supports. PLA because it is a stiff ind

  • window ×2 · Clear or smoke PETG/PLA · Face down, flat on the bed

    Bezel with a 1.2 mm pane, 33.8 x 17.7 x 2.5 mm, about 1 g and 6 min each. It sits 1.4 mm proud of the front in a chamfered recess. Opaque filament hides the display, so with it turn the Window pane toggle off for an open frame.

  • lid · PLA (charcoal) · Flat, top face up, printed together with the lever as one object

    150 x 69.6 mm plate with two arched pivot cheeks, about 19 g and 29 min. Export and print it with the lever as one object so the pivot gaps are kept.

  • lever · PLA (charcoal) · Prints in place in the lid slot, flat underside on the bed

    137.2 mm see-saw lever with 6 mm stub axles, dished thumb pads, two magnet pockets and two M3 insert pockets for the switch-actuator screws. About 16 g and 26 min. A 0.8 mm step-back at the bed keeps it from fusing to the lid.

Print settings

Layer height
0.2 mm
Walls
2
Infill
15%
Supports
None
Notes
At 2 walls/15% the whole set is about 133 g of PLA and about 3 h 22 min (case 91 g, lid 19 g, lever 16 g, two window bezels about 1 g each). At the defaults every part fits a 180 mm bed. Keep the lid and lever as one object in the slicer. Print the two window bezels face down in clear or smoke filam

Hardware

  • 2 × TM1637 4-digit 0.36 in display module (or 0.96 in / 1.3 in I2C OLED) · Presets assume a 42 x 24 mm TM1637 board with a 30.1 x 14 x 7.2 mm digit block, a 27.3 x 27.8 mm (0.96 in) OLED board or a 35.4 x 33.5 mm (1.3 in) OLED board. Measure yours.
  • 2 × Hinge-lever subminiature microswitch, KW11 / SS-5GL size (12.8 x 5.8 x 6.5 mm body) · The checks assume the lever stands 2.5 mm above the body, the switch operates within 1.2 mm of lever travel, and it allows at least 1.0 mm of overtravel. The grub screw tunes for switches that differ.
  • 2 × M3 x 8 grub screw (set screw) · Switch actuators in the lever ends. Adjust with a 1.5 mm hex key from above.
  • 6 × M3 heat-set insert (4.1 mm hole, 5.7 mm long) · 4 in the case corner bosses, 2 pressed into the underside of the lever.
  • 4 × M3 x 8 countersunk screw · Hold the lid on.
  • 4 × 6 x 3 mm neodymium disc magnet · Two in the lever ends, two in the stops; glue them in, oriented so each pair attracts.
  • Arduino Nano-size board (45 x 18 mm); USB-C version for the USB-C option · Held with foam tape.
  • 2xAA battery box with cover, 76.8 x 34.2 x 19.2 mm · 2xAA option only.
  • Small 5 V boost converter module (about 22 x 11 mm) · 2xAA option only: raises 3 V to 5 V for a 5 V Nano. Foam tape.
  • Mini toggle switch with 6 mm threaded bushing · 2xAA option only; 6.4 mm hole in the back wall.
  • 2 × Cable tie, 3-4 mm wide · Straps the battery box through the floor slots.
  • Hot glue, hookup wire, a drop of medium thread locker, optional self-adhesive rubber feet

Assembly

  1. Print the case upright, the two window bezels face down, and the lid with its lever as one object. Rock the lever gently both ways until it swings freely on its pivot.
  2. Press four M3 heat-set inserts into the case corner bosses, and one into each actuator hole on the underside of the lever. Thread an M3 x 8 grub screw into each lever insert from below until about 1.5 mm sticks out.
  3. Glue a 6 x 3 mm magnet into the pocket under each lever end, and one into each stop pocket in the case. Check the polarity so each lever magnet pulls toward the stop below it.
  4. Solder wires to the COM and NO lugs of the two hinge-lever microswitches. Drop each switch, lever up, into its pocket beside a magnet stop with the lugs down through the slot. Fix it with a dot of hot glue on the side.
  5. Lower each display down the inside of the sloped front onto its ledge, face against the window, and tack the PCB corners with hot glue. Glue a bezel into the recess round each window from the front.
  6. Wiring for a Nano-size board. TM1637: left display CLK to D2 and DIO to D3, right display CLK to D4 and DIO to D5, both VCC to 5V and GND to GND. OLED: both SDA to A4 and SCL to A5; set one module to I2C address 0x3D with its address resistor (most modules ship at 0x3C). Switches: both COM to GND, l
  7. Firmware is not included. Start from one of the open-source Arduino chess clock sketches built on the TM1637Display library (Adafruit SSD1306 or U8g2 for OLEDs) with two buttons. Change their pins to the map above and make each press start the other player's time.
  8. 2xAA option: set the battery box between the four guides and strap it with two cable ties through the floor slots. Fit the toggle through the back hole, and stick the Nano and boost module to the floor with foam tape. USB-C option: lay the Nano along the floor with its port at the back opening.
  9. Set the lid on and drive four M3 x 8 countersunk screws into the inserts. Tune each side: rest the lever on that side, turn its grub screw down with a 1.5 mm hex key until the switch clicks, then turn a further half turn (0.25 mm) for margin. Lock it with a drop of thread locker.

Good to know

  • The switch numbers are assumptions, not measurements. The checks assume a hinge-lever switch whose lever stands 2.5 mm above the body, operates within 1.2 mm of travel and allows at least 1.0 mm more. At the default screw setting the landed lever presses it 1.8 mm. The grub screw moves that between
  • Display sizes are typical datasheet numbers. Check that your module's digit block or glass is larger than the window (28.1 x 12 mm for TM1637) before you print.
  • The window pane must be printed in clear or smoke filament to see the display. With opaque filament, turn the Window pane toggle off for an open frame.
  • The engine did not calculate whether the magnets hold the switch pressed against its spring. Write the firmware to react to each press, which works whether or not the lever holds the switch down.
  • The print-in-place pivot is untested on a real printer. If the lever is stiff, free it gently, or reprint with a larger Pivot clearance.
  • The tipping check covers slaps leaning up to 24° backward or 36° forward. A hard slap pushed outward over the end of the lever could rock the case, so rubber feet help.
  • The lid has to come off (4 screws) to change the batteries. A 5 V Nano needs the boost module on 2xAA.
  • PLA softens around 55 °C. Do not leave it in a hot car or in direct sun.
  • This is a case for a home-made clock. It is not a certified tournament clock, and no firmware is included.

Comments