ECE434 Project - Diabetic Monitor

Team members: Eddie Mannan David Mattingly

Grading Template
I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!

 Add Extras

09 Executive Summary 09 Packaging 09 Installation Instructions 09 User Instructions 09 Highlights 09 Theory of Operation 09 Work Breakdown 09 Future Work/Conclusions 09 Hackster.io 09 Demo/Poster 00 Not Late

Score: 90/100

Executive Summary
Picture that summarizes the project. Not propper format

This project is a way to easily monitor blood sugar levels for Type 1 Diabetics. In order to use this project, you must be using a Dexcom brand constant blood sugar monitor and have valid accounts with Dexcom. This project will take a downloaded .csv file from the Dexcom website, run computations on this spreadsheet to find an A1C, and display values with both LEDs and an LCD display.

As of 2/9/2023, the project will pull a new Excel file from GitHub and search through all Excel files to find the newest one. Once it gets the newest file, it will run computations on it (turning on a Yellow LED to show that it is working) and display several values on the LCD screen. The values are: Eddie Mannan Dexcom Monitor Date: *Current Date* Time: *Current Time* A1C: *Current A1C* Current Sugar: *Current Sugar* Highest Sugar: *Highest Sugar* Lowest Sugar: *Lowest Sugar* Computation Time: *Computation Time* As of 2/9/2023, the only thing I can't get to work is a way to automate the collection of Excel sheets. Right now, the user has to add a new sheet every time they want new calculations. I would like to have this done automatically, but I haven't found a good process yet.

All in all, this project should be an easy way to constantly display and track a persons blood sugar numbers. If the project can accurately track and clarify sugar values, it will be able to help type 1 diabetics stay healthy and safe.

Packaging
If you have hardware, consider Small Build, Big Execuition for ideas on the final packaging. No packaging yet

Installation Instructions
To install this project, it is quite simple. All you need to do is grab the project from GitHub, run the install.sh file to ensure you have all the needed packages and then run the setup.sh file to make sure everything is set up correctly. Then, it is as easy as doing a reboot and the project should run automatically.

Does the LCD count as extra hardware?
 * Be sure your README.md is includes an up-to-date and clear description of your project so that someone who comes across you git repository can quickly learn what you did and how they can reproduce it.
 * If there is extra hardware needed, include links to where it can be obtained.

User Instructions
1. Make a copy of the GitHub repo on your own Beagle. This would work best if you were also a type 1 diabetic, since I'm assuming you wouldn't want too see my data, but regardless it will work. 2. Go to Dexcom Clarity, this is where you will download your .csv files for number crunching. Take this file and add it to the GitHub repo. When the Python file runs, it will do a git pull to get the newest file, then figure out and do math on the newest. 3. The python will then display the information on the LCD screen and light up an LED based on the Current Sugar value. Red for high, Green for good, and Blue for low. It will also light up a Yellow LED to show that the code is running. 4. If for some reason something goes awry, an easy fix would be to reboot the bone since it will run the program again on startup. 5. That's it! Should be easy enough to use!

Consider making it autostart for full credit.

Highlights
The project can determine which file is newest and run it for you, making it easier on the end user. The project will display data both with words and with colors, making it easier to tell the reading from a distance if needed. The A1C is calculated with sugar numbers collected every 5 minutes for the last 90 days. this leads to an array of over 25,000 elements.

Include a YouTube demo the audio description.

Theory of Operation
Give a high level overview of the structure of your software. Are you using GStreamer? Show a diagram of the pipeline. Are you running multiple tasks? Show what they do and how they interact.

Work Breakdown
Determine if Python will be fast enough given such a big array - Eddie Find a way to determine which Excel sheet is the newest - Eddie Do the diabetic calulations to determine an A1C and find current/highest/lowest sugars - Eddie Display the data collected on the LCD screen - Eddie Create an install.sh: - David Create an setup.sh: - David

Also list here what doesn't work yet and when you think it will be finished and who is finishing it.

Future Work
Suggest addition things that could be done with this project.

Conclusions
Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.