
Switch
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

a custom PCB badge
LonoBadge is an open-source printed circuit board by anasluqman089, from the anasluqman089/LonoBadge repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 97.5 × 49.5 mm with 6 parts on 23 nets, routed with 99 tracks and 15 vias.
Its parts include 2 switches, 1 capacitor, 1 IC and 1 connector. It belongs with the lEDs and displays boards and the nRF52 and nRF5x boards of this library.
This project is a small custom electronic badge built around the Seeed Studio XIAO nRF52840 and a Waveshare 1.54-inch 200×200 e-Paper display.
The main idea is simple: connect the badge to a computer using USB-C, send a picture to it, and have the picture appear on the e-Paper display. Because the display is e-Paper, the image stays visible even after the display stops refreshing.
The badge uses the following pin arrangement:
XIAO nRF52840 Waveshare e-Paper
--------------------------------------
D1 CS
D2 DC
D3 RST
D4 BUSY
D8 CLK
D10 MOSI
3V3_OUT 3.3V
GND GNDThe button is connected like this:
D5 ───── Push Button ───── GNDThe firmware uses the internal pull-up resistor, so the button is normally HIGH and becomes LOW when pressed.
The badge communicates with the computer through the XIAO nRF52840's USB connection.
When a picture is selected on the computer, it is converted into a 200×200 black-and-white image. The image is then sent to the XIAO through USB.
The XIAO receives the image and stores it temporarily in memory. It then sends the image to the Waveshare e-Paper display through SPI.
The basic process is:
Picture on PC
↓
Convert to 200×200
↓
Convert to black & white
↓
USB-C
↓
XIAO nRF52840
↓
SPI
↓
Waveshare e-Paper
↓
Picture displayedThe current firmware is designed for:
Resolution: 200 × 200 pixels Colour: Black & White Format: 1-bit bitmap data Data size: 5000 bytes
The single button is connected to D5.
When the button is pressed, the XIAO refreshes the current image on the e-Paper display.
This can be useful if the display needs to be refreshed or if you want the button to become part of the badge's user interface later.
The firmware uses the GxEPD2 library to control the e-Paper display.
Install the library through the Arduino IDE:
Arduino IDE
↓
Library Manager
↓
Search: GxEPD2
↓
InstallThe sketch also uses the standard Arduino SPI functionality.
Open the .ino file in Arduino IDE.
Select:
Board:
Seeed XIAO nRF52840Then select the COM port belonging to the XIAO.
Connect the XIAO to the computer using USB-C and upload the firmware.
After the upload finishes, the e-Paper should show the startup screen and the serial monitor should report that the badge is ready.
The firmware expects the computer to send the following header:
IMG200followed by exactly 5000 bytes of image data.
A separate PC-side uploader can take a normal PNG or JPG image, resize it to 200×200, convert it to black and white, and send it to the XIAO.
For example:
python upload_badge.py COM5 badge.pngReplace COM5 with the COM port assigned to your XIAO.
The current version is intentionally simple.
It supports one 200×200 monochrome image at a time. The image is transferred through USB rather than making the XIAO behave like a USB flash drive.
The current button also only refreshes the image. It can be expanded later to support different images, menus, animations, or other badge functions.
The exact GxEPD2 display driver also depends on the controller used by the specific Waveshare 1.54-inch module. If the display does not initialize correctly, the exact Waveshare model should be checked before changing the wiring or firmware.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Battery_Cell | Battery:BatteryHolder_Keystone_3034_1x20mm | BT1 |
| 1 | C | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C1 |
| 1 | Conn_01x08_Socket | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | SW_SPDT | Button_Switch_SMD:SW_SPDT_CK_JS102011SAQN | SW1 |
| 1 | XIAO-nRF52840-SMD | Seeed_Studio_XIAO_Series:XIAO-nRF52840-SMD | U1 |

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.


Jcparkyn/dpoint
Open-source digital stylus using camera tracking and inertial measurements

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

It measures 97.5 × 49.5 mm and has 2 copper layers, 1.6 mm thick.
6 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the anasluqman089/LonoBadge repository on GitHub, at the commit this page was made from: the board is PCB/LonoBadge.kicad_pcb and its schematic PCB/LonoBadge.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).