Skip to content
simpleavr edited this page Jul 10, 2023 · 16 revisions

Welcome to the s14clock wiki!

The intention is to provide support for s14clock users. Initially it will be Q&A captured via interaction w/ s14clock users. Releases will be made periodically with feature enhancement and bug fixes, "watch" this repository for "releases" and you will be notified when new binaries become available.

2023-06-07 V3 hardware (24 characters) released, 74HC154 eliminated. New circuit design adds charliplexing to led multiplexing to simplify design. No more SMD to solder makes a more robust kit.

2023-04-06 S14Clock build, instructional video, click to watch

YouTube Video

2023-04-01 Word of caution for developers, the S14Clock hardware uses direct multiplexing to drive the LED segments, there are no current limiting resistors, be very carefully working on the multiplexing code blocks. If the multiplexing become interrupted, prolong current stays can damage the LED segments and / or the S2 Mini IO ports.

2023-03-26 The most common problem with soldering is cold solder joints. To avoid this you can heat the component with your iron first, then apply solder, and wait for one or two seconds before lifting your iron. See soldering tips.

2023-03-22 with 6 units of S14-24 shipped out, it is discovered that the ESP32 AP (initial setup mode) may not accept password or connection. This could happen after the unit have been "disconnect" (i.e. forget WIFI credentials) one or several times. I had discovered this while preparing assembled units to be shipped out. In this case, one need to erase the S2 mini, and flash everything (including bootloader) to correct this issue.

Soldering Tips

Post July 2023 units are of HW version 3.0, there are no more SMD components to solder.

You may discover some digits or segments does not light up, and this is caused by cold solder joints. The following map (for S14-24) allow you to trace which connections need to be reflowed to fix these joints. If you have a flew of these, reflow all joints (add flux, allow solder on joint for an extra second, etc) can help.

The following applies to HW 2.1 (pre July 2023 units)

S14-24 HW2.1 (24 character unit)

Joint Joint Joint Joint
SEGA,IO11 SEGB,IO13 SEGC,IO1 SEGD,IO5
SEGE,IO2 SEGF,IO14 SEGG1,IO3 SEGG2,IO4
SEGH,IO8 SEGJ,IO9 SEGK,IO10 SEGL,IO12
SEGM,IO6 SEGN,IO7 SEGdp,N/A
DIG1,IO34 DIG2,IO16 DIG3,IO17 DIG4,IO18
DIG5,IO21 DIG6,IO33 DIG7,IO36 DIG8,IO35
P19,IO15
P23,IO37 P22,IO38 P21,IO39 P20,IO40
DIG9,P13 DIG10,P14 DIG11,P15 DIG12,P16
DIG13,P11 DIG14,P6 DIG15,P5 DIG16,P7
DIG17,P8 DIG18,P9 DIG19,P10 DIG20,P17
DIG21,P3 DIG22,P2 DIG23,P1 DIG24,P4

S14-12 (12 character unit)

Joint Joint Joint Joint
SEGA,IO17 SEGB,IO21 SEGC,IO1 SEGD,IO3
SEGE,IO2 SEGF,IO18 SEGG1,IO5 SEGG2,IO4
SEGH,IO34 SEGJ,IO33 SEGK,IO36 SEGL,IO9
SEGM,IO6 SEGN,IO7 SEGdp,IO15
DIG1,IO10 DIG2,IO12 DIG3,IO13 DIG4,IO14
DIG5,IO16 DIG6,IO8 DIG7,IO11 DIG8,IO35
DIG9,IO38 DIG10,IO37 DIG11,IO40 DIG12,IO39
  • SEG ?? refers to segments of LED modules, you can locate them from pin labels on back of PCB
  • IO ?? refers to IO port of S2 mini unit, they are labeled on the PCB footprint
  • 2/4 LED modules are used for 24 characters, digit numbers are extended from left to right, i.e. DIG 24 is D6 of the 4th module.
  • P?? refers to the 74HC154D chip, they are pin numbers, you have to count from pin 1 to locate joint (S14-24)
  • 74HC154D is a 4 to 16 line decoder, 4 IOs from the S2 mini are expanded to 16 LED module digits (S14-24)
    ___ A
  F|\|/|B (HJK)
 G1 - - G2
  E|/|\|C (NML)
    ___ D

When you have ghosting or multiple digits or segments light up when they shouldn't, you may have solder bridges or excessive solder on certain joints (which is adjacent to very thin traces nearby). Try to reflow 74HC154D and remove excessive solder (by wick or other means) if it appears that there are too much.

Erase and Flash All

  • Erase unit and flash everything (including bootloader) again
  • Use Chrome or Edge browser on your PC / notebook, navigate to Adafruit ESPTool.
  • Plug in your unit and click "Connect" (upper right corner) on the ESPTool page. Look for the ESP32-S2 entry. If you do not find it, put the unit to programming mode by holding down the '0' button and press 'Reset'. Try click "Connect" again on the ESPTool page.
  • Select the ESP32-S2 entry and hit "Connect".
  • Click the Erase button to erase unit's flash space. This will take a few seconds.
  • Enter offsets and bin files accordingly;
Offset File Name
0x1000 bootloader.bin
0x8000 partitions.bin
0x10000 firmware????.bin

Bin files can be download from the s14clock source repository, bin directory, select the proper version and variant. Ex. firmware24_v202.bin, firmware24_201.bin for 24 character unit V2.1 firmware. Version 2.0.2 and above has common firmware binaries supporting all hardware variants (both 12 and 24 character) via HW detection. You have to select and click on the file of choice, then locate and click on a download (download raw file) icon to initiate the download.

Flash New Firmware

Procedure is similar to Erase and Flash All Skip "Erase" and flashing only firmware????.bin at 0x10000 if you only want to upgrade firmware. Bin files can be download from the s14clock source repository, bin directory, Ex. firmware24_201.bin for 24 character unit V2.1 firmware.

Clone this wiki locally