8.9 C
New York
Sunday, November 24, 2024

Scott Hanselman Turns an Adafruit MatrixPortal M4 LED Matrix Right into a Related Blood Glucose Show



Scott Hanselman has launched the supply code for a venture to show an Adafruit MatrixPortal M4-connected RGB LED matrix right into a blood sugar readout — two years after finishing the venture.

“Once you discover a random Adafruit MatrixPortal M4 show and determine it would be a enjoyable venture to place your blood sugar on it with CircuitPython,” Hanselman writes in a Mastodon submit delivered to our consideration by Adafruit itself, “however you then understand you probably did two years in the past however by no means launched the supply (seemingly as a result of you do not know Python and it is unhealthy code).”

The venture is designed to be used with Adafruit’s MatrixPortal M4, a growth board with a Microchip ATSAMD51J19 processor with Arm Cortex-M4 core and an Espressif ESP32 coprocessor for Wi-Fi connectivity tailor-made particularly for driving RGB LED matrices. In Hanselman’s case, the board is working a CircuitPython firmware which runs his program: a device for querying and displaying blood sugar knowledge from Nightscout.

“Nightscout (CGM [Continuous Glucose Monitoring] within the Cloud) is an open supply, DIY venture that permits actual time entry to a CGM knowledge by way of private web site, smartwatch viewers, or apps and widgets accessible for smartphones,” the venture’s creators clarify. “Nightscout was developed by dad and mom of youngsters with Sort 1 Diabetes and has continued to be developed, maintained, and supported by volunteers.”

Nightscout is accountable for the communication with the continual glucose monitor itself, which helps to simplify Hanselman’s venture significantly: all his CircuitPython code has to do is question Nightscout to retrieve the newest studying and format it for show on the display, offering at-a-glance monitoring of blood sugar ranges.

Hanselman’s supply code is accessible on GitHub underneath the permissive MIT license for anybody desirous to do the identical.

Related Articles

Latest Articles