

Clock i2c l0
test project for binary clock based in stm32 f4070disk
- Size
- 120 × 80 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 77
- Nets
- 68
- Pads
- 239
- Tracks, vias
- 577, 66
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 23 Jun 2026
- Updated
- 5 Oct 2026
Overview
Clock i2c l0 is an open-source printed circuit board by ekibanu4, from the ekibanu4/STM_32_Clock repository on GitHub. It is a 2-layer board of 120 × 80 mm with 77 parts on 68 nets, routed with 577 tracks and 66 vias.
It is built around the AHT10 and 74HC595N. Its parts include 31 resistors, 20 diodes, 7 connectors, 6 capacitors and 6 switches. It belongs with the lEDs and displays boards and the STM32 boards of this library.
Main components
2AHT10
SMD-40℃~+85℃ 0%RH~100%RH 1.8V~3.6V 23uA Factory calibration I2C ±0.3℃ ±2%RH SMD Temperature and Humidity Sensor ROHSAosong ElecTemperature And Humidity Sensor74HC595N
DIP-16-40℃~+85℃ 100ns@5V,50pF 10MHz 3.2V~6V 74HC Series 8 Asynchronous clear function、Output enable Serial-to-Parallel Tri-State DIP-16 Shift Registers ROHSHGSEMIShift Registers
README
README.mdSTM32 Binary Clock Lab
This repository is a development sandbox for a binary clock built around different STM32 microcontrollers and peripheral combinations. It contains the current clock firmware, earlier hardware ports, reusable device drivers, board experiments, KiCad sources, and end-user documentation.
The project is intentionally broader than a single finished product: it is used to test display concepts, sensors, RTC implementations, power management, alarm behavior, and small-memory firmware optimizations on real hardware.
MCU variants
- STM32L010F4P6 - current primary target and the most complete low-power build.
- STM32F030F4P6 - compact CubeMX/HAL port used during early hardware tests.
- STM32F407G-DISC1 - original prototype and development platform.
The default CMake configuration currently builds the STM32L010F4P6 firmware.
Board-specific notes and wiring are kept under Core/Src/boards.
Hardware and drivers
The repository includes implementations or experiments for:
- a 16-LED binary display driven by chained 74HC595 shift registers;
- a 128x32 OLED display;
- an internal STM32 RTC clocked from a 32.768 kHz LSE crystal;
- the external DS1302 RTC used by earlier board versions;
- AHT10 and DHT11 temperature/humidity sensors;
- BH1750 and analog LDR light sensing with automatic display brightness;
- an ADC resistor ladder for five control buttons;
- active-buzzer alarm output and three persistent alarm slots;
- PIR motion detection, idle display shutdown, battery measurement, and standby power handling.
Separate branches also preserve display and peripheral experiments such as the MAX721x 8x8 LED matrix version.
Firmware layout
Core/Src/app- clock behavior, alarms, display rendering, environment data, automatic modes, and user-interface state.Core/Src/boards- MCU/board-specific GPIO and peripheral implementations.Core/Src/drivers- reusable drivers for buttons, buzzer, DHT11, DS1302, light sensing, and shift registers.Drivers- STM32 CMSIS and HAL sources.docs- user guide, technical reference, diagrams, and promotional assets.Clocl i2C l0 16 -2 595- KiCad schematic and PCB sources for the current STM32L010-based hardware.
Build
The current target requires CMake, Ninja, and the GNU Arm Embedded toolchain.
cmake --preset Release
cmake --build --preset ReleaseDebug and Release presets place their output under build/.
Documentation
This is an experimental hardware/firmware repository. Verify the selected board configuration, supply voltage, pin mapping, and programming setup before using it on assembled hardware.
Parts
77| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | 200 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26 |
| 16 | LED | LED_THT:LED_D3.0mm | D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20 |
| 4 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R7, R27, R31 |
| 4 | D | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2, D3, D4 |
| 3 | 4k7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6, R9, R30 |
| 2 | 100n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2 |
| 2 | 15p | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C7, C8 |
| 2 | 74HC595N-DIP16 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U2, U3 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4 |
| 1 | 18650 | Battery:BatteryHolder_MPD_BH-18650-PC | BT1 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R28 |
| 1 | 1M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R8 |
| 1 | 20k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R32 |
| 1 | 220k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 2K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R29 |
| 1 | 2N2222 | Package_TO_SOT_THT:TO-92 | Q1 |
| 1 | 2k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10 |
| 1 | 32.7 | Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | 470k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5 |
| 1 | AHT10 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J7 |
| 1 | BMS | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | Buck-boost | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | C_Polarized | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm_P7.50mm | C3 |
| 1 | GY-302 BH1750FVI | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | LCS i2c screen | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
| 1 | R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | STM32L010F4Px | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | SWD | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J2 |
| 1 | SW_SPST | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical_SMD_Pin1Left | SW6 |
| 1 | down | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx73PSMTR | SW4 |
| 1 | mode | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx73PSMTR | SW1 |
| 1 | off | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx73PSMTR | SW5 |
| 1 | set | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx73PSMTR | SW2 |
| 1 | up | Button_Switch_SMD:SW_Push_1P1T_NO_CK_PTS125Sx73PSMTR | SW3 |
| 1 | датчик руху am312 hc-sr312 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
Similar boards
- 4 layers130 × 131.3 mm

- 2 layers160 × 125 mm

Reflex machine
Mhamednoui/PCB_Designer
AI-assisted KiCad PCB design pipeline: netlist -> schematic -> routed board -> fab files, with a 3D/simulation webview
125 parts - 2 layers218 × 218 mm

- 4 layers130 × 131.3 mm

Shuffleboard
rbala25/shuffleboard
Multiplayer Shuffleboard — Embedded Firmware (C), PCB Design, Mixed-Signal I/O, and Display + Audio Integration
72 parts - 2 layers78.4 × 64.8 mm

- 2 layers69.9 × 41.3 mm

- 2 layers108 × 88 mm

- 2 layers87 × 96 mm

Braids through hole V1.1 CONTROL
sebastianbeyer/KOSMO_braids
This is a KOSMO (Look Mum No Computer) version of the Mutable instruments braids, based on the through-hole version done by sound-force.nl.
56 parts15
Questions
How big is the Clock i2c l0 PCB?
It measures 120 × 80 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Clock i2c l0 use?
77 parts, built around the AHT10 and 74HC595N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Clock i2c l0 KiCad files?
From the ekibanu4/STM_32_Clock repository on GitHub, at the commit this page was made from: the board is Clocl i2C l0 16 -2 595/Clock i2c l0.kicad_pcb and its schematic Clocl i2C l0 16 -2 595/Clock i2c l0.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Clock i2c l0 design in my own project?
Its repository states no licence, so its author keeps all rights: ask ekibanu4 before reusing the design.