Date of Completion

Spring 5-1-2018

Thesis Advisor(s)

John Chandy

Honors Major

Computer Engineering


Computer Engineering | Electrical and Computer Engineering | Engineering


This honors thesis describes the development of the codebase for the 2018 University of Connecticut ECE Senior Design project titled "Smartwatch Device and App for Continuous Glucose Monitoring''. The goal for the senior design project is to remove the dependencies imposed by a previously-designed prototype of a glucose-monitoring smartwatch, by creating a new custom device without those dependencies. Development of the new codebase involves splitting the tasks of an Arduino codebase into a number of logical components that are then implemented in C. This new codebase makes substantial improvements to the overall program structure and organization, as well as numerous functional additions. An API for writing graphics to a given display is written and implemented for two LCD controllers as well as for the standard output stream. This graphics API uses a buffering strategy and partial screen rendering to achieve faster display writing. Functions that plot incoming data on an auto-scaling bar graph are implemented as well. The resulting codebase realizes the firmware for a custom smartwatch controlled by an ATSAMD21G18A microcontroller. This smartwatch is designed to periodically read the frequency of an incoming signal to determine and display the current glucose level of a user. The program supports Bluetooth communication with a smartphone app and a deep sleep mode to save battery during inactivity. Current time and date are kept and displayed to the user, as well as battery and Bluetooth connection information. A user interacts with the smartwatch using two buttons.