1. Introduction
This manual provides detailed instructions for assembling, operating, and maintaining your Rotating LED Electronic Clock DIY Kit. This kit is designed for enthusiasts to build a functional electronic clock featuring LED display, alarm, temperature, and light control capabilities. It utilizes a DS1302 real-time clock chip and an STC15W408AS microcontroller.
2. Safety Information
- ATTENTION: Not suitable for children under 3 years. To be used under the direct supervision of an adult.
- Do not use in damp environments.
- Avoid placing in high-temperature environments.
- Internal components must not be disassembled.
3. Components List
Before starting assembly, please verify that all components listed below are present in your kit. Refer to the image below for a visual guide to the components.

Image: Detailed list of electronic components included in the kit, specifying device, model, package, quantity, and position on the PCB.
| No. | Device | Model | Package | QTY | Position |
|---|---|---|---|---|---|
| 1 | 1/4W resistor | 330R | AXIAL-0.3 | 10 | R1-R8+2 |
| 2 | 1/4W resistor | 10K | AXIAL-0.3 | 5 | R9-R11+2 |
| 3 | Ceramic capacitor | 10PF | 4 | C1/C2+2 | |
| 4 | Monolithic capacitor | 100NF | Foot pitch 5.08 | 1 | C3 |
| 5 | Crystal oscillator | 32.768KHz | 1 | Y1 | |
| 6 | Touch the button | Black straight | 6*6*13 | 2 | S1/S2 |
| 7 | Thermistor | NTC-MF52AT 10K | 1 | RM | |
| 8 | Photoresistance | 5516 | 5516 | 1 | GM |
| 9 | Button Battery | CR1220 | CR1220 | 1 | BT |
| 10 | SMD CR1220 Button battery holder | CR1220 | CR1220 | 1 | BT |
| 11 | DS1302 chip | DS1302 | SOP8 | 1 | DS1302 |
| 12 | MCU | STC15W408AS (Download the program) | DIP28 | 1 | STC15W408AS |
| 13 | 28P IC seat | DIP28 | 1 | ||
| 14 | Buzzer | 5V active | 1 | Buzzer | |
| 15 | Mini USB | Vertical straight needle 5P | 1 | USB | |
| 16 | Triode | S8550 | 1 | Q1+1 | |
| 17 | 3mm red to red LED | F3 | 15 | (Silk screen with horizontal lines) D1-D12+3 | |
| 18 | 3mm blue to blue LED | F3 | 55 | No special silk screen 48+7 | |
| 19 | 4-digit common anode clock digital tube | 5643BS | 5.6寸 | 1 | Digital Tube |
| 20 | PCB board | 1 |
4. Assembly Instructions (Setup)
This kit requires soldering. Basic soldering skills are recommended. Follow these steps carefully:
4.1 General Welding Sequence
- It is recommended to weld the LED lights first.
- Next, weld the components on the back of the PCB.
- Then, weld the digital tube.
- Finally, insert the film (likely referring to protective film or battery).
4.2 Component Placement and Orientation
Refer to the PCB layout diagram below for correct component placement and orientation.

Image: Diagram illustrating the placement of various electronic components on the Printed Circuit Board (PCB).
- LED Lights: Pay attention to the positive and negative poles. The long leg is positive.
- Chips (e.g., DS1302, MCU): Ensure the chip notch and the base notch are consistent with the notch indicated on the board.
- Buzzer: Pay attention to the positive and negative poles. The long leg is positive. The resistance value should be consistent with that on the board.
- Triode: Insert the triode in the same shape as indicated on the board.
- Digital Tube: Pay attention to the direction of the digital tube; the decimal point should be below.
4.3 Resistor Identification
Use the resistor color code table to identify the correct resistance values for each resistor before soldering.

Image: Standard resistor color code chart, showing how to read values for both four-band and five-band resistors.
4.4 Shell Assembly (Optional)
If your kit includes an acrylic shell, assemble it after all electronic components are soldered and tested. The shell components are typically protective panels that enclose the PCB.

Image: Depiction of the acrylic shell components, including top and bottom plates, standoffs, and fasteners, along with an installation rendering.
5. Circuit Principle
The core of this electronic clock is a single-chip microcomputer (MCU) that acts as the main controller. It works in conjunction with a DS1302 real-time clock (RTC) chip, which ensures accurate timekeeping. The time is displayed using digital tubes and LED lights. The system also incorporates temperature and ambient light intensity sensors, allowing for automatic brightness adjustment and temperature monitoring. User inputs from buttons are processed by the MCU for adjustment functions, and alarm tones are output via a buzzer.

Image: Detailed circuit diagram showing the connections between the MCU, DS1302, LED display, sensors, and other components.
6. Operating Instructions
6.1 Power Connection
Insert the power cord (Mini USB) into the Mini USB interface on the PCB and connect it to a 5V DC power supply.
6.2 Power On
Once connected to power, the unit should automatically power on and display the time. If there is a power button, press it to activate the display.
6.3 Time Adjustment
Long-press the 'Set' button (S1 or S2, depending on labeling) to enter time adjustment mode. Use the other button(s) to adjust the hours and minutes. Press the 'Set' button again to confirm and exit adjustment mode.
7. Features
- LED Display: Clear numeric time display using a 4-digit common anode digital tube.
- Light- and Temperature-Controlled Brightness: Automatically adjusts display brightness based on ambient light levels and monitors temperature.
- DS1302 Chip: Ensures precise timekeeping and retains time data during power loss (requires button battery).
- Power-off Memory: The clock retains time settings even when main power is disconnected, thanks to the DS1302 RTC and button battery.
- Alarm Function: The clock includes an alarm feature, with the alarm sound processed by the MCU and output through the buzzer.

Image: Visual representation highlighting key features such as power-off memory and environmental controls.
8. Specifications
- Type: DIY Electronic Kit
- Model Number: Rotating LED electronic clock kit
- Rated Capacity: <40VA
- Origin: Mainland China
- Certification: NONE
- PCB Dimensions: 81mm x 81mm
- Power Supply: 5V DC (via Mini USB)
- Timekeeping Chip: DS1302
- Microcontroller: STC15W408AS

Image: Diagram indicating the physical dimensions of the PCB.
9. Troubleshooting
If you encounter any issues during or after assembly, refer to the following common problems and solutions:

Image: A list of common issues encountered during assembly and operation, along with their respective solutions.
- Incorrect Welding Sequence: Ensure components are soldered in the recommended order: LEDs first, then back components, digital tube, and finally insert the film/battery.
- LED Polarity: Verify the positive and negative poles of the LED lights. The long leg is positive.
- Chip Orientation: The notch on the chip and its corresponding base/socket must align with the notch indicated on the PCB.
- Buzzer Polarity & Resistance: Check the positive and negative poles of the buzzer (long leg is positive) and ensure its resistance value matches the board's specification.
- Triode Insertion: Insert the triode in the exact shape/orientation as depicted on the board.
- Digital Tube Direction: Ensure the digital tube is oriented correctly, with the decimal point positioned at the bottom.
- Power Supply Polarity: Confirm the positive and negative poles of the power supply are correct and that it provides a stable 5V DC.
- Welding Defects: Inspect for welding short circuits or virtual welding (poor solder joints), which are common issues.
- Abnormal Display/Time Not Advancing: Remove the DS1302 chip and button battery. Plug in the DS1302 without the battery, turn on the device, then reinsert the button battery.
- Individual LEDs Not Lighting: Check for short circuits or false welding of the non-functional LEDs. If issues persist, replace the faulty LEDs.
- Digital Tube Segment/LEDs Always On: If four digital tubes show the same segment code or some LEDs are constantly on, it might be due to static electricity damage to an LED, affecting other components sharing the same MCU pin. Switch to the full-on clock LED mode to identify the problematic LED (which should be bright or not) and replace it.
9.1 General Troubleshooting (from PDF)
- Device fails to power on: Check whether the power supply is properly connected.
- Display remains unlit: Verify whether the ambient light control mode is enabled.
- Inaccurate time display: Recalibrate the time settings.
10. Maintenance
- Avoid frequent time adjustments to prolong button lifespan.
- Keep the device dry to prevent short circuits and damage to electronic components.
- Do not disassemble the device yourself unless for repair or modification by experienced individuals.
- Regularly check the button battery (CR1220) for the DS1302 chip to ensure timekeeping during power outages. Replace if necessary.
11. User Tips
As no specific user reviews or Q&A were provided, here are some general tips for DIY electronic kits:
- Read Thoroughly: Always read the entire manual before starting assembly.
- Organize Components: Lay out and identify all components before soldering to avoid errors.
- Check Polarity: Double-check the polarity of diodes, LEDs, electrolytic capacitors, and ICs before soldering. Incorrect polarity can damage components.
- Solder Safely: Use appropriate soldering tools, ensure good ventilation, and wear safety glasses.
- Test in Stages: If possible, test sections of the circuit as you build to isolate potential issues early.
12. Warranty and Support
For any issues, returns, or exchanges, please contact customer service within 7 days of purchase. Support for assembly and troubleshooting can be found through the seller's channels.
An additional user manual in PDF format is available for download: View User Manual (PDF)