Programming a Badger 2040W menu system - E-Ink display in MicroPython

Опубликовано: 16 Январь 2025
на канале: Penguin Tutor
1,166
14

The Badger 2040 W is a hackable ID badge with wireless capability. It is powered by a Raspberry Pi Pico, it has an E-Ink display and buttons for interactivity. You can also connect it to I2C devices through a Qwicc / STEMMA QT connector.

I’ve already created a review of the Badger 2040 W already but one of the things that I explained was that it could be used as more than an ID Badge.
   • Badger 2040W the hackable ID badge wi...  

I created an app which could be used as a client to my Raspberry Pi pixel server.

This video is about the menu I created for that, about why I created it as a generic menu system and some of the design decisions I made. Even if you don’t have a Badger 2040W this may be helpful if you want to learn more about programming the menu system in object oriented programming in MicroPython.

More details about the Badger2040W see:
http://www.penguintutor.com/projects/...

For more details about the menu system, including links to the source code on github see: http://www.penguintutor.com/programmi...

Chapters:
00:00 Intro Badger 2040W
02:24 About the menu system
05:43 UML class diagram
07:17 Source code
11:56 About the font thickness
15:19 Badger Slider
16:54 Summary