Skip to the content
2 layers192.5 × 50 mmLonoMacro, the printed circuit board in 3D

LonoMacro is a modular macro keypad built around three XIAO nRF52840 boards: an OLED-equipped master, a keypad slave, and a rotary-encoder slave.

Size
192.5 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
69
Pads
139
Tracks, vias
147, 11
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
1 Nov 2026
Updated
1 Nov 2026

Overview

LonoMacro is an open-source printed circuit board by anasluqman089, from the anasluqman089/LonoMacro repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 192.5 × 50 mm with 33 parts on 69 nets, routed with 147 tracks and 11 vias.

Its parts include 8 switches, 4 connectors, 3 resistors, 3 ICs and 3 diodes. It belongs with the nRF52 and nRF5x boards of this library.

README

README.md

LonoMacro

LonoMacro is a modular macro keypad built around three XIAO nRF52840 boards: an OLED-equipped master, a keypad slave, and a rotary-encoder slave. The master connects to a computer over USB-C and to the slaves over Bluetooth Low Energy (BLE). Slave inputs are forwarded to the computer as USB keyboard events.

Project files

  • PCB/ — KiCad schematic, PCB layout, and project files.
  • CAD/ — 3D STEP models.
  • Production/ — Gerber, drill, and STL manufacturing files.
  • firmware/ — Arduino sketches for the master and both slaves.
  • BOM.csv — Bill of materials, prices, and supplier search links.

Firmware setup

Install the ArduinoBLE, Adafruit GFX, and Adafruit SSD1306 libraries. Select a XIAO nRF52840 Arduino board package that supports USB keyboard output for the master. Compile and upload the corresponding sketch to each board:

The master expects an SSD1306 I2C OLED at address 0x3C.

Pairing and controls

  1. Connect the OLED master to the computer over USB-C.
  2. Press the 6 mm pairing button on each slave: SW5 on the keypad and SW7 on the rotary encoder. The corresponding slave LED blinks while it advertises.
  3. Press the 6 mm pairing/connect button on the master (SW8). The master LED blinks while it searches, and the OLED shows each slave's connection status. When both slaves are connected, the master LED and both slave LEDs stay on.
  4. Press SW1–SW4 to send the number keys 1–4. Rotate the encoder to send Up/Down arrow keys; press the encoder (SW6) to send Enter.

The master LED is solid when both slaves are connected and pulses when it receives an input. A connected slave LED is solid and pulses when it sends an input. If a slave disconnects, press its pairing button and then press SW8 on the master to reconnect.

OLED and battery status

The OLED-equipped master is intended to show the connected macropads and their battery levels. A future status screen could include the time and date, for example:

text
10:00 PM              1/11/26
----------------------------
Rotary Encoder          50%
Keypad                   5%

The current firmware displays connection status and recent input events; it does not yet report slave battery levels or show a clock. Battery reporting and time display will require additional firmware and, for the clock, a time source. The master can be powered from the computer's USB-C connection. The slave macropads are intended to use lithium-ion batteries; battery and charging hardware should be selected to match the final design.

Bill of materials

Prices are the listed prices per BOM row, including grouped quantities. They are estimates, may change, and do not include shipping. The case price is approximate; purchase links are supplier search pages.

ComponentQtyReal Unit Price (USD)Total Market Price (USD)Reference Links
XIAO-nRF52840 (Standard)3$9.99$29.97Search AliExpress
Cherry MX Keyboard Switch4$0.60$2.40Search AliExpress
1.3 Inch OLED Screen1$4.00$4.00Search AliExpress
Rotary Encoder EC111$0.50$0.50Search AliExpress
5mm LED3$0.10$0.30Search AliExpress
01x02 JST PH Connector3$0.15$0.45Search AliExpress
220 Film Resistor3$0.05$0.15Search AliExpress
6 mm THT Switch3$0.10$0.30Search AliExpress
01x04 Pin Header1$0.20$0.20Search AliExpress
PCB Fabrication1$12.00$12.00—
3D Printed Case1$15.00$15.00—
Estimated Real Total~$65.27

CAD

Open the LonoMacro Onshape document.

Image

Scematic

image

PCB

image image

CAD

image

Extra

This project is made for Fabricate, a YSWS program by Hack Club

Project.

Parts

33
QtyValueFootprintReferences
12MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4, H5, H6, H7, H8, H9, H10, H11, H12
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4
3220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3
3Conn_01x02_SocketConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ2, J3, J4
3LEDLED_THT:LED_D5.0mmD1, D2, D3
3SW_PushButton_Switch_THT:SW_PUSH_6mmSW5, SW7, SW8
3XIAO-nRF52840-SMDSeeed_Studio_XIAO_Series:XIAO-nRF52840-SMDU1, U2, U3
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW6

Similar boards

  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

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

    33 parts1kGPL-3.0
  • 2 layers127 × 96 mmAmiga gfxcard, the printed circuit board in 3D

    Amiga gfxcard

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    33 parts1k
  • 2 layers92.7 × 58.4 mmHacky holidays, the printed circuit board in 3D

    Hacky holidays

    hackclub/OnBoard

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

    33 parts915
  • 2 layers240 × 120 mmQuiver PDB 01, the printed circuit board in 3D

    Quiver PDB 01

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    33 parts617CERN-OHL-S-2.0
  • 2 layers75 × 26 mmDIY detector, the printed circuit board in 3D

    DIY detector

    ozel/DIY_particle_detector

    A mobile low-cost spectrometer for measuring radioactivity and the energy of ionising radiation like alpha particles and electrons

    33 parts558BSD-2-Clause
  • 2 layers100 × 50 mmPixelix, the printed circuit board in 3D

    Pixelix

    BlueAndi/Pixelix

    Full RGB LED matrix, based on an ESP32 and WS2812B LEDs or emulated LEDs on TFT.

    33 parts447MIT
  • 2 layers65 × 30 mmCanHat, the printed circuit board in 3D

    CanHat

    bondus/KlipperToolboard

    A 3D printer tool head controller board

    33 parts373GPL-3.0

Questions

How big is the LonoMacro PCB?

It measures 192.5 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LonoMacro use?

33 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 LonoMacro KiCad files?

From the anasluqman089/LonoMacro repository on GitHub, at the commit this page was made from: the board is PCB/LonoMacro.kicad_pcb and its schematic PCB/LonoMacro.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LonoMacro 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).