user-img

FUSION AUTOMATE

  • 12 Projects
  • 3 Followers
  • Nov 04,2025
+ Follow

UniHiker K10 Digital Stopwatch Using Built-in Buttons

A fully functional digital stopwatch built on the UniHiker K10 that uses onboard buttons to start, pause, and reset time with live display updates on its LCD.

UniHiker K10 Digital Stopwatch Using Built-in Buttons
 
  • thumbnail-img
  • thumbnail-img
 

Hardware Components

  • UNIHIKER K10

    DFRobot
    X 1 fenxiang

Tools, APP Software Used etc.

  • Platformio

Story

This project turns the UniHiker K10 into a digital stopwatch, utilizing its onboard buttons and display for real-time timing functionality — no external hardware required.

The stopwatch uses Button A to toggle between Start and Pause, while Button B serves as a Reset button. The timing is calculated using the system’s millisecond counter (millis()), and the elapsed time is formatted into minutes, seconds, and centiseconds (00:00:00) for precise readability.

The LCD screen continuously updates to reflect the current stopwatch time, providing smooth and accurate transitions without flicker. The program also handles state management efficiently — maintaining elapsed time when paused, and resuming seamlessly when restarted.

This project demonstrates effective use of:

  • Interrupt-style callbacks for button handling (non-blocking input)

  • Real-time millisecond tracking for accurate timekeeping

  • Canvas-based text rendering for dynamic LCD updates

  • Efficient control logic for smooth and responsive performance

 

It’s a perfect beginner-to-intermediate level UniHiker project that showcases timing logic, UI updating, and hardware interaction — all with compact and optimized C++ code.

Code
  • Source Code

    Button-Based-Stopwatch_598355756909f04fbb3c4.zip
    Download(0)

UniHiker K10 Digital Stopwatch Using Built-in Buttons

A fully functional digital stopwatch built on the UniHiker K10 that uses onboard buttons to start, pause, and reset time with live display updates on its LCD.

12
 
1
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 1 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Guaranteed Purchase: Full techsupport