logo elektroda
logo elektroda
X
logo elektroda

Self-assembly kit LED clock CAI-201 STC8G1K17 + DS1302 with housing

p.kaczmarek2  1 213 Cool? (+3)
📢 Listen (AI):

What kit for a beginner to learn soldering? Here is another simple and enjoyable kit - a clock with alarm and temperature measurement based on a large 7-segment display, all realised on a double-sided board based on through-hole assembly and available to buy for just under a dozen zloty.

The kit includes the board, a set of components, the display, as well as a neat acrylic case. You will additionally need a 5 V power supply, but such probably everyone, as well as of course a soldering iron with accessories. The cheapest one will suffice:
Inexpensive temperature-controlled soldering iron (UYUE 301D/APD931/BT136S)
I also received a manual - but in Chinese, will this help us?

Fortunately, there is documentation for this clock available separately on the web, you can find it by the name CAI-201.
I was most interested in the display - it is controlled via I2C, it must have a built-in controller:

The board is quite simple, it could probably be realised on its own with just one layer of copper, but why, as the production cost would probably not decrease at all:

On the description layer everything is nicely shown - orientation, symbols and component values. Rather, there is no way to get confused here - even next to the jack socket there is information that the outer contact is ground and the middle contact is power.

Before soldering it is a good idea to clean the board with isopropyl alcohol IPA. Then solder, starting with the smallest components. Insert the component, heat up the soldering iron (but without overdoing it), you can add a little flux to make it easier, and heat up the pad, applying the solder to it. We take care of the hygiene of the soldering iron tip. We cut off the rest of the legs.
I started with the resistors. It's best to check the values with a multimeter, unless we have signed off. It is also useful to know the barcode.


Then a 32.768 kHz quartz resonator, for precision timing, used by the DS1302 Real Time Clock (RTC) chip.

Capacitors 22 pF between oscillator legs and ground - to stabilise operation.

100 nF ceramic capacitor at the microcontroller supply - for power supply decoupling. Same for the RTC.


Soldering the bases - obviously cut according to the marking on the board.

Almost done:

Buzzer (buzzer) also has polarity:

Transistor for switching on the buzzer (can't be soldered in reverse here either!):

The photoresistor is used to adjust the brightness of the clock to the environment. It needs to be left long enough to dogleg it to the case later:
Side view of a blue PCB with a buzzer, DIP sockets, capacitors, and a coin-cell battery holder
Almost done, we finally solder the display and place the circuits in the bases:
Bottom of a blue PCB with solder joints next to a large 7-segment display module Assembled CAI-201 DIY PCB with DIP sockets, buzzer, buttons, and a DC 5 V power jack
Close-up of a PCB showing DS1302 IC, 32.768 kHz crystal, buzzer, and 10 kΩ resistors Close-up of a PCB with an STC 8G1K17 DIP IC in a socket and labeled 10k resistors
A thermistor (for temperature measurement) remains and the housing can still be screwed together.
DIY clock PCB in a clear acrylic case held in a hand; visible buttons, buzzer, and DC barrel power jack. Close-up of a screw and nut fastener in a transparent acrylic enclosure

Clock in action:
Green 7-segment display in a clear case showing “1845” Green 7‑segment display in an acrylic case showing “17°C”

Basically, everything works, although you have to make sure you turn off the alarm, as it is quite loud and can wake you up in the middle of the night if you click blindly.
Plus, the whole thing can be unplugged and the battery from the DS1302 will still hold the time, so you don't need to re-set it when you move the clock to a different location.

In summary , this was a simple to run DIY for a beginner. Basically, it rather exercises only the soldering, as the whole thing starts immediately after assembly and it's hard to run into a problem to solve here. The microcontroller in the kit is of course already programmed and the board is well labelled, so you know what to solder. Resistor values are also unlikely to be confused here, as there is essentially one - 10 kΩ. But is that a bad thing? Just in time to encourage electronics.
The more advanced can try programming this microcontroller themselves via the ICSP connector, or running the display separately at all - I wonder if its control protocol is known, I'll have to look.

Documentation attached.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 14025 posts with rating 11818 , helped 636 times. Been with us since 2014 year.

Comments

ZbeeGin 16 Feb 2026 16:52

If only this STC8G Reference Manual was not so chaotic then some alternative software could be written. :( By the way preparing dedicated headers for the SDCC compiler. [Read more]

%}