Skip to the content
PCBKitNew board
2 layers50 × 30 mmPrecursorLoRa, the printed circuit board in 3D

RAK3172 LoRa expansion module for Precursor secure computing platform

Size
50 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
30
Pads
64
Tracks, vias
45, 10
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
27 Jan 2026
Updated
29 Jan 2026

Overview

PrecursorLoRa is an open-source printed circuit board by tbcolby, from the tbcolby/PrecursorLoRa repository on GitHub. It is a 2-layer board of 50 × 30 mm with 12 parts on 30 nets, routed with 45 tracks and 10 vias.

It is built around the AP2112K-3.3TRG1, RAK3172-SIP and RC0402FR-0710KL, with the 19-217/GHC-YR1S2/3T and U.FL-R-SMT-1(10) among its other parts. Its parts include 4 capacitors, 3 resistors, 2 ICs, 2 connectors and 1 diode. It belongs with the radio and wireless boards of this library.

Main components

5

README

README.md

Precursor LoRa Expansion Module

A production-ready LoRa radio expansion module for the Precursor open-source secure computing platform.

Overview

This module adds LoRaWAN connectivity to the Precursor device, enabling 15km+ range communication without WiFi/Bluetooth attack surface. It fits in the Precursor's battery compartment and connects via the internal GPIO header.

Features

  • RAK3172 LoRaWAN Module - Based on STM32WLE5CC with integrated LoRa radio
  • Frequency Bands - EU868, US915, AU915, AS923, and more
  • Long Range - 15km+ line-of-sight with proper antenna
  • Low Power - <2µA sleep current, ideal for battery operation
  • Simple Interface - UART AT command interface to Precursor FPGA
  • Compact Design - Fits in Precursor battery compartment (50x30mm)

Specifications

ParameterValue
Input Voltage3.7V (LiPo battery)
Regulated Voltage3.3V via AP2112K LDO
InterfaceUART (115200 baud default)
TX Current~100mA peak
RX Current~5mA
Sleep Current<2µA
Board Size50mm x 30mm
Layers2

Pin Connections

Precursor GPIORAK3172 PinFunction
GPIO0PB7UART1_RX (data to RAK)
GPIO1PB6UART1_TX (data from RAK)
GPIO2RSTModule reset (active low)
GPIO3PB5Busy/Status indicator
3V7VINPower input
GNDGNDGround

Bill of Materials

RefPartValuePackageQtyEst. Cost
U1RAK3172-LGA-321$6.50
U2AP2112K-3.33.3V LDOSOT-23-51$0.30
C1, C2Capacitor10µF06032$0.04
C3, C4Capacitor100nF04022$0.02
R1, R2Resistor10K04022$0.02
R3Resistor1K04021$0.01
J1Header8-pin1.27mm1$1.50
J2U.FLRFU.FL1$0.80
LED1LEDGreen06031$0.05
Total~$9.24

Directory Structure

text
PrecursorLoRa/
├── README.md                 # This file
├── hardware/
│   ├── precursor-lora.kicad_pro    # KiCad 8 project
│   ├── precursor-lora.kicad_sch    # Schematic
│   ├── precursor-lora.kicad_pcb    # PCB layout
│   ├── symbols/                    # Custom symbols
│   └── footprints.pretty/          # Custom footprints
├── fabrication/
│   ├── gerbers/                    # Gerber files for manufacturing
│   ├── bom/                        # Bill of Materials
│   └── pick-and-place/             # Assembly positions
├── docs/
│   └── assembly-notes.md           # Assembly instructions
└── datasheets/                     # Component datasheets (not tracked)

Manufacturing

This board is designed for the NextPCB Accelerator free prototype program.

Design Rules (NextPCB Compatible)

  • Minimum trace width: 0.2mm
  • Minimum trace spacing: 0.2mm
  • Minimum via drill: 0.3mm
  • Minimum via pad: 0.6mm
  • PCB thickness: 1.6mm
  • Copper weight: 1oz
  • Surface finish: HASL or ENIG

Generating Gerbers

  1. Open hardware/precursor-lora.kicad_pcb in KiCad 8
  2. File → Plot → Select Gerber output
  3. Include layers: F.Cu, B.Cu, F.Paste, B.Paste, F.SilkS, B.SilkS, F.Mask, B.Mask, Edge.Cuts
  4. Generate drill files (Excellon format)
  5. Zip all files for upload

Assembly Notes

See docs/assembly-notes.md for detailed assembly instructions.

Key points:

  • RAK3172 module has orientation marking (pin 1 dot)
  • Apply flux for castellated pad soldering
  • Keep RF trace short and over ground plane
  • Test continuity before powering

Usage with Precursor

The module communicates via UART AT commands. Example initialization:

text
AT+NWM=1              # Set LoRaWAN mode
AT+NJM=1              # Set OTAA join mode
AT+DEVEUI=<your_eui>  # Set device EUI
AT+APPEUI=<app_eui>   # Set application EUI
AT+APPKEY=<app_key>   # Set application key
AT+JOIN              # Join network
AT+SEND=1:<data>     # Send data on port 1

License

This project is licensed under CERN-OHL-P v2 (CERN Open Hardware Licence Version 2 - Permissive).

You are free to use, modify, and distribute this design for any purpose.

Resources

Author

Designed for the Precursor community.


Built with KiCad 8 | NextPCB Accelerator #5

Parts

12
QtyValueFootprintReferences
2100nFCapacitor_SMD:C_0402_1005MetricC3, C4
210KResistor_SMD:R_0402_1005MetricR2, R3
210uFCapacitor_SMD:C_0603_1608MetricC1, C2
11KResistor_SMD:R_0402_1005MetricR1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U1
1GREENLED_SMD:LED_0603_1608MetricLED1
1PRECURSORConnector_PinHeader_1.27mm:PinHeader_2x04_P1.27mm_VerticalJ1
1RAK3172PrecursorLoRa:RAK3172U2
1U.FLConnector_Coaxial:U.FL_Hirose_U.FL-R-SMT-1_VerticalJ2

Questions

How big is the PrecursorLoRa PCB?

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

What parts does the PrecursorLoRa use?

12 parts, built around the AP2112K-3.3TRG1, RAK3172-SIP, RC0402FR-0710KL and 19-217/GHC-YR1S2/3T. 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 PrecursorLoRa KiCad files?

From the tbcolby/PrecursorLoRa repository on GitHub, at the commit this page was made from: the board is hardware/precursor-lora.kicad_pcb and its schematic hardware/precursor-lora.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PrecursorLoRa design in my own project?

Its repository states no licence, so its author keeps all rights: ask tbcolby before reusing the design.

Similar boards

  • 4 layers63.5 × 26.1 mmBwlr1f, the printed circuit board in 3D

    Bwlr1f

    teapotlaboratories/bwlr1f

    69 parts
  • 4 layers96 × 70 mmTradewind, the printed circuit board in 3D

    Tradewind

    binaryBeachLLC/tradewind

    Tradewind TW-1: solar LoRaWAN field sensor. KiCad 9 board, CadQuery enclosure, RUI3 firmware, simulations, test data, report and datasheet.

    85 parts
  • 4 layers60 × 120 mmTheoros, the printed circuit board in 3D

    Theoros

    Majorwhiskey/gps-lora

    Theoros is a USB-C GPS logger and LoRa tracker built on the ESP32-S3. It logs 1 Hz u-blox M10 fixes to microSD, shows status on an OLED and sends AES-128-CCM encrypted position over 868 MHz LoRa.

    88 partsCERN-OHL-P-2.0
  • 4 layers83 × 109 mmD4 small pcb panel, the printed circuit board in 3D

    D4 small pcb panel

    unsurv/unsurv-offline

    Offline portable GNSS device based on the ESP32

    522 parts72
  • 2 layers26 × 32 mmSerial bread, the printed circuit board in 3D

    Serial bread

    testudor/serial-bread

    USB-to-UART module

    24 parts3CC-BY-SA-4.0
  • 4 layers60 × 31 mmGarageDoor pro, the printed circuit board in 3D

    GarageDoor pro

    nikolaus018/garageDoor-pro

    ESP32-C3 + GPS board that opens the garage door when you leave and arrive: firmware, KiCad PCB and perfboard build

    46 parts1MIT
  • 2 layers56 × 75 mmSurvivornode, the printed circuit board in 3D

    Survivornode

    aneeshlingala/FirstResponderSystem

    reverie hacks submission

    16 parts