Skip to the content
2 layers97.5 × 49.5 mmLonoBadge, the printed circuit board in 3D

a custom PCB badge

Size
97.5 × 49.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
23
Pads
44
Tracks, vias
99, 15
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
17 Sep 2026
Updated
21 Sep 2026

Overview

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.

README

README.md

LonoBadge

image

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.

BOM

  • 1x Seeed Studio XIAO nRF52840
  • 1x 1.54-inch 200×200 monochrome e-Paper Module
  • 1 × push button
  • 1x CR2032 Coin Cell Battery
  • 1x CR2032 Coin Cell Battery holder

Pin Connections

The badge uses the following pin arrangement:

text
XIAO nRF52840       Waveshare e-Paper
--------------------------------------
D1                  CS
D2                  DC
D3                  RST
D4                  BUSY
D8                  CLK
D10                 MOSI
3V3_OUT             3.3V
GND                 GND

The button is connected like this:

text
D5 ───── Push Button ───── GND

The firmware uses the internal pull-up resistor, so the button is normally HIGH and becomes LOW when pressed.

How It Works

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:

text
Picture on PC
     ↓
Convert to 200×200
     ↓
Convert to black & white
     ↓
USB-C
     ↓
XIAO nRF52840
     ↓
SPI
     ↓
Waveshare e-Paper
     ↓
Picture displayed

Image Format

The current firmware is designed for:

Resolution: 200 × 200 pixels Colour: Black & White Format: 1-bit bitmap data Data size: 5000 bytes

Button

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.

Arduino Library

The firmware uses the GxEPD2 library to control the e-Paper display.

Install the library through the Arduino IDE:

text
Arduino IDE
    ↓
Library Manager
    ↓
Search: GxEPD2
    ↓
Install

The sketch also uses the standard Arduino SPI functionality.

Uploading the Firmware

Open the .ino file in Arduino IDE.

Select:

text
Board:
Seeed XIAO nRF52840

Then 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.

Sending a Picture

The firmware expects the computer to send the following header:

text
IMG200

followed 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:

text
python upload_badge.py COM5 badge.png

Replace COM5 with the COM port assigned to your XIAO.

Current Limitations

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.

Picture

Schematic

image

PCB

image

Parts

6
QtyValueFootprintReferences
1Battery_CellBattery:BatteryHolder_Keystone_3034_1x20mmBT1
1CCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1
1Conn_01x08_SocketConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1
1SW_PushButton_Switch_THT:SW_PUSH_6mmSW2
1SW_SPDTButton_Switch_SMD:SW_SPDT_CK_JS102011SAQNSW1
1XIAO-nRF52840-SMDSeeed_Studio_XIAO_Series:XIAO-nRF52840-SMDU1

Similar boards

  • 2 layers18.5 × 11.1 mmSwitch, the printed circuit board in 3D

    Switch

    byrantech/laptop

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

    6 parts4.3kMIT
  • 2 layers14.6 × 33 mmBrain board SD Card 1, the printed circuit board in 3D

    Brain board SD Card 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    6 parts1.2k
  • 2 layers9 × 9 mmDpoint, the printed circuit board in 3D

    Dpoint

    Jcparkyn/dpoint

    Open-source digital stylus using camera tracking and inertial measurements

    6 parts1.1kMIT
  • 2 layers51.5 × 16.6 mmMicroswitchXY Endstop, the printed circuit board in 3D

    MicroswitchXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    6 parts1.1kGPL-3.0
  • 2 layers21.9 × 76.7 mmAmiga External, the printed circuit board in 3D

    Amiga External

    hoglet67/RGBtoHDMI

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

    6 parts1kGPL-3.0
  • 2 layers88.9 × 50.8 mmBusinesscard, the printed circuit board in 3D

    Businesscard

    hackclub/OnBoard

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

    6 parts915
  • 2 layers20.3 × 15.2 mmL0 RGB led, the printed circuit board in 3D

    L0 RGB led

    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.

    6 parts546MIT
  • 2 layers9 × 3.6 mmOpticalEncoder, the printed circuit board in 3D

    OpticalEncoder

    adamb314/ServoProject

    Getting the most out of your hobby servo

    6 parts545

Questions

How big is the LonoBadge PCB?

It measures 97.5 × 49.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LonoBadge use?

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.

Where can I download the LonoBadge KiCad files?

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.

Can I use the LonoBadge design in my own project?

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).