Mini Clock is a digital desk clock built on the AK Embedded Base Kit.
This project focuses on building a simple clock application using an event-driven approach. It handles basic features such as displaying time, updating the screen, reading button inputs, and triggering an hourly chime.
Through this project, I practiced several embedded concepts:
- System design: Organizing the main features and logic of the clock.
- Task management: Splitting the program into small tasks such as time update, display update, and button handling.
- Communication: Using signals, timers, and messages to handle events.
- State machine: Managing clock modes such as normal display, setting time, and chime control.
![]() |
Figure 1: AK Embedded Base Kit - STM32L151
AK Embedded Base Kit is an evaluation kit aimed at intermediate and advanced embedded software learners.
The kit integrates a 1.54" OLED LCD, 3 push buttons, and a buzzer capable of playing short melodies, giving you everything you need to study event-driven systems through hands-on game-machine design. It also exposes RS485, the Qwiic Connect System, and Grove connectors, so it doubles as a convenient prototyping board for real-world embedded projects.
MCU Overview:
SoC Name : STM32L151CBT6
RAM : 16 KB
Flash Partitions Layout
----------------------
[ 0x08000000 - 0x08001FFF ] : Bootloader Partition (8 KB)
=> AK Bootloader
[ 0x08002000 - 0x08002FFF ] : BSF Shared Partition (4 KB)
=> Used for data sharing between Bootloader and Application
[ 0x08003000 - 0x0801FFFF ] : Application Partition (116 KB)
=> Zomwar firmware
MCU Naming Convention:
| Part | Meaning |
|---|---|
STM32 |
STMicroelectronics 32-bit MCU family. |
L |
Low-power series. |
151 |
STM32L151 product line. |
C |
48-pin package. |
B |
128 KB Flash memory. |
T |
LQFP package. |
6 |
Industrial temperature grade. |
![]() |
Figure 2: Board view Top + Bottom

