CNUC140Finite State Machine
NUC140 Clock Watch
A finite-state-machine digital stopwatch with alarms, lap recording, and tenth-second timing on the NUC140 microcontroller.
My Role
Embedded Systems Developer
Duration
Dec 2024
Demo Video
Project Overview
The NUC140 Clock Watch is an embedded digital stopwatch that supports alarm configuration, lap recording, and precise time tracking. Its modular codebase is organized around explicit operating modes and Timer0 interrupts.
The Core Challenges
- *Model multiple watch states without creating tightly coupled control logic.
- *Provide accurate tenths-of-a-second timing on constrained hardware.
- *Support alarms, laps, pausing, and review modes in one device.
Technical Solutions
- +Designed modular firmware around an explicit finite-state machine.
- +Implemented Idle, Alarm Set, Count, Pause, and Check modes.
- +Used Timer0 interrupts for accurate 1/10-second timing.
Key Results & Outcomes
Result 01
Delivered a functional stopwatch with alarm and lap-time features.
Result 02
Created a modular firmware design that is easy to inspect and extend.
Result 03
Published supporting documentation and a video demonstration.
Technologies Utilized
CNUC140 MicrocontrollerTimer0Finite State Machine