Skip to content

Steppasaurus/PicoCGM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PicoCGM

PicoCGM Image

A Raspberry Pi Pico W based display for Nightscout CGM-in-the-Cloud data. Coded in MicroPython and using the PicoGraphics library.

I am currently working with data from a Libre 2 CGM which updates every 5 minutes so the display shows about 3+ hours of readings.

Disclaimer

I am not a medical professional. Do not use for medical/dosing desicions.

Required Parts to Build

  • Raspberry Pi Pico W with Headers UK | US
  • Pimoroni Pico Display Pack 2.0 UK | US
  • USB-A to Micro-B cable data cable to configure and power

Setup

  1. Install the Pimononi PicoW Micropython build. See Getting started with Raspberry Pi Pico for further details.
  2. Edit the main.py file in this repo to configure the WIFI_SSID, WIFI_PASSWORD, NIGHTSCOUT_URL, NIGHTSCOUT_TOKEN and UTC_OFFSET variables for your environment.
  3. Install the editted main.py file onto your Raspberry Pi Pico W board, this can be done using the Thonny editor.

Controls

  • Button A/B - Increase/Decrease Backlight
  • Button X - Toggle display units (mmol/L or mg/dL)
  • Button Y - Toggle Daylight Savings Time

To Do

This is just a basic implementation and has minimal error checking and exception handling. It would be nice to add a web based configuration interface however this would have required additional 3rd party libraries and make it more difficult to install. Currently it only uses standard MicroPython functions and included Pimoroni PicoGraphics libs.

Other Displays

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%