Skip to the content
2 layers59.6 × 59.6 mmPCB 4, the printed circuit board in 3D

A soda-can-sized satellite designed to achieve autonomous, guided descent using a parafoil and real-time GNSS-based navigation. It collects atmospheric and flight data during descent and transmits telemetry live to enable precise tracking and targeted landing.

Size
59.6 × 59.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
9
Pads
37
Tracks, vias
53, 6
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 Jan 2026
Updated
28 Feb 2026

Overview

PCB 4 is an open-source printed circuit board by kubbd, from the kubbd/AeroTrackNow repository on GitHub. It is a 2-layer board of 59.6 × 59.6 mm with 12 parts on 9 nets, routed with 53 tracks and 6 vias.

Its parts include 6 capacitors, 4 connectors and 2 ICs. It belongs with the radio and wireless boards of this library.

README

README.md

AeroTrackNow CanSat (Teensy 4.0)

Project overview

This repo holds the flight and ground code for a guided CanSat with parafoil steering. It’s built around a Teensy 4.0 and a LoRa link, with a simple Python ground station on the PC.

Flight system

The flight stack runs on a Teensy 4.0 and includes:

  • Predictive landing guidance (steers to make predicted landing converge to target)
  • GNSS (ZED-X20P) with RTK passthrough (Teensy forwards RTCM bytes to GNSS)
  • LoRa (SX1262) bidirectional:
    • receive TARGET once
    • receive RTK continuously
    • send telemetry @ 1 Hz
  • BMP280: pressure + temperature (and sink-rate estimate)
  • BNO085: accelerometer + rotation vector (drop detection + heading)
  • Dual-servo differential steering
  • No buzzer

Ground station

The ground station has two pieces that work together:

  • Ground radio node (Teensy + SX1262): a USB-to-LoRa bridge.
  • PC ground station (Python): reads telemetry, validates CRC, and shows the key numbers.

A Teensy is used on the ground because the SX1262 is an SPI radio that needs tight timing and interrupt handling. The Teensy handles those hardware details and exposes a simple USB serial link to the PC.

USB serial ports (Teensy + optional RTK source)

Both the Teensy ground radio node and the RTK correction source plug into your laptop over USB. They show up as two separate serial ports, and you tell the ground station which is which with CLI flags.

  • --port is always the Teensy ground radio node.
  • --rtk-port is optional and is only for RTK correction input.
  • RTK is optional — the system runs fine without it.

USB device → CLI argument

USB deviceCLI argument
Teensy ground radio node--port
RTK correction source (optional)--rtk-port

Examples

Without RTK:

text
python3 ground_station_advanced.py --port /dev/ttyACM0 --target-lat 39.1234567 --target-lon -104.9876543 --target-alt 1850.0

With RTK:

text
python3 ground_station_advanced.py --port /dev/ttyACM0 --rtk-port /dev/ttyUSB0 --target-lat 39.1234567 --target-lon -104.9876543 --target-alt 1850.0

Radio architecture

The ground radio node is intentionally “transparent.” It just moves bytes and doesn’t care about packet formats.

What the firmware does:

  • Initialize SX1262 via RadioLib with the same pin mapping as flight hardware.
  • Forward any USB serial bytes to LoRa (transparent transmit).
  • Forward any LoRa packet bytes to USB (transparent receive).
  • Operate non-blocking so serial and radio remain responsive.

What the firmware does not do:

  • Parse packets or enforce application formats.
  • Add CRC or message framing.
  • Buffer or reorder payloads beyond RadioLib’s receive buffer.

Data Flow Diagram (textual): PC (Python) ⇄ USB ⇄ Teensy 4.0 ⇄ SPI ⇄ SX1262 ⇄ Air ⇄ CanSat

Folder structure

  • firmware/ – Teensy Arduino sketch
  • docs/ – pinout, telemetry, state machine docs
  • hardware/ – put KiCad files/netlists here

How to get started

  1. Skim docs/TELEMETRY.md, docs/PINOUT.md, and docs/STATE_MACHINE.md to understand the data formats and wiring.
  2. Build and upload the flight firmware from firmware/cansat_flight.ino.
  3. Build and upload the ground radio firmware from firmware/ground_radio_teensy.ino.
  4. Run the Python ground station (ground_station.py) on your PC and point it at the Teensy USB port.

Build instructions

  1. Install required Arduino libraries:
    • RadioLib
    • SparkFun u-blox GNSS Arduino Library
    • Adafruit BMP280 Library
    • Adafruit BNO08x
  2. Open firmware/cansat_flight.ino in Arduino IDE.
  3. Select board: Teensy 4.0, then upload.

Tuning parameters

Inside firmware/cansat_flight.ino:

  • RANGE_US (servo throw) – start small, increase carefully
  • KP_TURN, MAX_TURN
  • TERMINAL_HEIGHT_M, CAPTURE_RADIUS_M
  • SERVO_TRIM (parafoil trim) – change in steps of 0.01..0.02

Inside cansat_flight_PRODUCTION_v2.ino:

  • MAG_DECLINATION_DEG – magnetic declination for the launch site (true-north alignment)
  • IMU_YAW_OFFSET_DEG – IMU mounting yaw offset (0° if aligned to CanSat X-axis)
  • SINK_GNSS_BLEND_ALPHA – blend factor for GNSS vertical velocity into sink rate
  • SERVO_RANGE_US, SERVO_MAX_RATE, SERVO_DEADBAND – steering authority and responsiveness
  • FINAL_APPROACH_HEIGHT_M, FLARE_HEIGHT_M, TERMINAL_HEIGHT_M – terminal guidance gates

Why trim exists and how to tune it: Parafoils usually fly with a slight built-in bias. SERVO_TRIM lets you offset the neutral command so the canopy flies straight. Start at 0.0, do a short test glide, and nudge the trim by 0.01–0.02 until it tracks straight with neutral steering.

How to disable guidance for testing: If you want to fly with no steering, set the guidance gains to zero (KP_TURN = 0 and MAX_TURN = 0). The servos will stay neutral and the system will still log and transmit telemetry.

Parts

12
QtyValueFootprintReferences
30.1uFCapacitor_SMD:C_0805_2012MetricC2, C4, C6
210uFCapacitor_SMD:C_0805_2012MetricC1, C3
147uFCapacitor_SMD:CP_Elec_5x5.4C5
1D24V10F3D24V10F3:Pololu D24V10F3U2
1D24V22F5D24V22F5:D24V22F5U1
1JST-PH 1x2Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ1
1JST-PH 1x4Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ2
1Servo 1Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1Servo 2Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4

More from kubbd/AeroTrackNow

3
  • 2 layers59 × 59 mmPCB 2, the printed circuit board in 3D

    PCB 2

    kubbd/AeroTrackNow

    A soda-can-sized satellite designed to achieve autonomous, guided descent using a parafoil and real-time GNSS-based navigation.

    5 parts
  • 2 layers59 × 59 mmPCB 1, the printed circuit board in 3D

    PCB 1

    kubbd/AeroTrackNow

    A soda-can-sized satellite designed to achieve autonomous, guided descent using a parafoil and real-time GNSS-based navigation.

    4 parts
  • 2 layers53.7 × 59.6 mmPCB 3, the printed circuit board in 3D

    PCB 3

    kubbd/AeroTrackNow

    A soda-can-sized satellite designed to achieve autonomous, guided descent using a parafoil and real-time GNSS-based navigation.

    4 parts

Similar boards

  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0
  • 2 layers42.7 × 56.5 mmTle6240 driver, the printed circuit board in 3D

    Tle6240 driver

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 2 layers49 × 25 mm5v boost regulator, the printed circuit board in 3D

    5v boost regulator

    hackclub/OnBoard

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

    12 parts915
  • 2 layers28.3 × 10.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    12 parts716GPL-3.0
  • 2 layers25.4 × 70.4 mmTpmsniffer, the printed circuit board in 3D

    Tpmsniffer

    stacksmashing/pico-tpmsniffer

    A simple, very experimental TPM sniffer for LPC bus

    12 parts696

Questions

How big is the PCB 4 PCB?

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

What parts does the PCB 4 use?

12 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 PCB 4 KiCad files?

From the kubbd/AeroTrackNow repository on GitHub, at the commit this page was made from: the board is hardware/KiCad/PCB 4/PCB 4.kicad_pcb and its schematic hardware/KiCad/CanSat Schematic/CanSat Schematic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB 4 design in my own project?

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