Get the latest tech news

Displaying a QR Code in MicroPython on the Tildagon Badge


was a bit of a labour of love - and something I wanted to get running during EMF Camp. I'm documenting in the hope it'll be useful for EMF 2026! Here's the end result: Background I'm going to assume that you have updated your badge to the latest firmware version.

If the QR code is to be centred, the top left corner will be in position (147 / 2) = 74. The QR code has its own white margin and is a 2D array of True & Falses. Twitter Facebook LinkedIn Reddit HackerNews Lobsters Pocket WhatsApp Telegram

Get the Android app

Or read this on Hacker News

Read more on:

Photo of QR code

QR code

Photo of micropython

micropython

Photo of tildagon badge

tildagon badge

Related news:

News photo

MicroPython 1.23 Brings Custom USB Devices, OpenAMP, Much More

News photo

iPadOS 17.4.1 Fixes QR Code Scanning Bug

News photo

Mastodon users can now share their profiles via QR code on Android