8.3 C
London
Saturday, November 18, 2023

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



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

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

The challenge is designed to be used with Adafruit’s MatrixPortal M4, a improvement 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 software for querying and displaying blood sugar knowledge from Nightscout.

“Nightscout (CGM [Continuous Glucose Monitoring] within the Cloud) is an open supply, DIY challenge that enables actual time entry to a CGM knowledge through private web site, smartwatch viewers, or apps and widgets out there for smartphones,” the challenge’s creators clarify. “Nightscout was developed by mother and father of youngsters with Kind 1 Diabetes and has continued to be developed, maintained, and supported by volunteers.”

Nightscout is chargeable for the communication with the continual glucose monitor itself, which helps to simplify Hanselman’s challenge 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 obtainable on GitHub underneath the permissive MIT license for anybody eager to do the identical.

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here