Skip to content
SP8ESAPublic

About

Experimental SSB/CW transmitter for QO-100 satellite (Es'hail 2) using SX1280 module + Raspberry Pi Pico. USB Audio input, +27 dBm output, real-time DSP (filter, EQ, compressor), CDC serial control. πŸ“‘πŸ›°οΈ 73 de SP8ESA

Resources

Stars

78 stars

Watchers

3 watching

Forks

Repository files navigation

QOkka DSP

logo

SSB/CW/FM transmitter for QO-100 satellite (Es'hail 2) and 2.4 GHz band with SX1280 + Raspberry Pi Pico 2

License: CC BY-NC 4.0

Demo

πŸ“Ί Video test: YouTube Short - SSB TX Test

Waterfall signal from SX1280 with external PA SSB signal on QO-100 waterfall (with external amplifier)

Project Description

SSB (Single Sideband), CW and FM transmitter for the 2.4 GHz band, designed for communication via the narrowband transponder of the geostationary satellite QO-100 (Es'hail 2) and general 2.4 GHz amateur operation.

⚠️ WARNING: DO NOT transmit FM on the QO-100 narrowband transponder! The QO-100 NB transponder is for SSB/CW only. FM transmission will cause interference and is prohibited. Use FM mode only on appropriate amateur frequencies outside QO-100.

The system uses a dual-core architecture β€” Core0 handles USB audio input and real-time DSP processing, while Core1 handles Hilbert transform, I/Q modulation and SX1280 SPI transmission at 8 kHz rate.

Features

  • USB Audio β€” Pico acts as USB sound card, audio input directly from computer
  • Microphone input (ADC) β€” MAX4466 electret module on ADC0, standalone TX without computer
  • Audio source switching β€” PC (USB) or MIC (ADC) selectable via encoder menu or GUI
  • MIC DSP β€” Hardware timer ISR at 8 kHz, DC removal, AGC with noise gate
  • Real-time DSP β€” Bandpass filter, equalizer, compressor, power shaping
  • FM mode β€” Direct frequency modulation with adjustable deviation (200 Hz – 100 kHz) and CTCSS tones (⚠️ NOT for QO-100!)
  • Full Band operation β€” Extended frequency range 2300–2450 MHz (QO-100 range + general 2.4 GHz)
  • Sub-Hz frequency precision β€” Automatic PLL + DSP fine tuning (no 198 Hz quantization)
  • OLED display (SSD1306) β€” Real-time status: frequency, mode, TX state, audio source, parameters
  • Rotary encoder + buttons β€” Standalone operation without computer
  • PTT β€” Push-to-talk for SSB mode (GPIO5), OR with GUI TX enable
  • CW keying β€” Iambic-style keying with PTT/KEY button
  • Python GUI β€” Full control panel over CDC serial with live synchronization
  • Output power up to +27 dBm β€” Built-in PA in LoRa1280F27 module
  • PPM correction β€” Precise frequency calibration
  • Powerbank operation β€” Auto-detects missing USB host, switches to MIC input

Author

Kacper KidaΕ‚a SP8ESA

Code generated with assistance from Claude Opus 4 and GPT 5.2.

Hardware

Required Components

Component Description
Raspberry Pi Pico 2 RP2350 microcontroller (dual Cortex-M33)
LoRa1280F27-TCXO SX1280 module with PA (+27 dBm) and TCXO
MAX4466 microphone module Electret mic with amplifier (3.3V powered)
SSD1306 OLED 128Γ—64 I2C display (0.96")
Rotary encoder with push button KY-040 or similar (3-pin + SW)
PTT / CW key button Momentary pushbutton (normally open)
2.4 GHz Antenna SMA or u.FL connector

Prototype

Prototype transmitter

Prototype transmitter used for QO-100 tests β€” quick and dirty but it works!

OLED Display

OLED display SSD1306 OLED showing frequency, mode, TX state and current parameter

Wiring Diagram

See WIRING.txt for detailed visual diagrams.

Raspberry Pi Pico 2          LoRa1280F27-TCXO Module
===================          =======================
GPIO 16 (SPI0 RX)  ───────── MISO
GPIO 17            ───────── NSS (CS)
GPIO 18 (SPI0 SCK) ───────── SCK
GPIO 19 (SPI0 TX)  ───────── MOSI
GPIO 20            ───────── RESET
GPIO 21            ───────── BUSY
GPIO 22            ───────── TCXO_EN
GPIO 14            ───────── RX_EN
GPIO 15            ───────── TX_EN

SSD1306 OLED (I2C1)          Encoder + Buttons
================             ==================
GPIO 6  (I2C1 SDA) ── SDA   GPIO 2  ── Encoder A
GPIO 7  (I2C1 SCL) ── SCL   GPIO 3  ── Encoder B
3V3                 ── VCC   GPIO 4  ── Encoder push (SW)
GND                 ── GND   GPIO 5  ── PTT / CW key

MAX4466 Microphone
==================
GPIO 26 (ADC0)      ── OUT
3V3                 ── VCC
GND                 ── GND

VBUS (5V)          ───────── VCC (LoRa module)
GND                ───────── GND
USB                ───────── To computer (Audio + CDC)

All encoder/button inputs use internal pull-ups (active LOW).

Building

Requirements

Clone with submodules

git clone --recurse-submodules https://github.com/SP8ESA/SX1280_QO100_SSB_TX.git
cd SX1280_QO100_SSB_TX

Or if already cloned:

git submodule update --init

Build

mkdir build && cd build
cmake ..
make -j4

Flash

# Hold BOOTSEL and connect USB
cp SX1280SDR.uf2 /media/$USER/RPI-RP2/

Usage

USB Audio

  1. Connect Pico to computer
  2. Select "SX1280 QO-100 SSB TX" as audio output device
  3. Transmit using any software (SDR, WSJT-X, fldigi, etc.)

GUI Control Panel

GUI Control Panel Python GUI for real-time control of all TX parameters

Run the GUI:

pip install pyserial
python3 gui.py

Standalone Operation

The device operates fully without a computer using the MAX4466 microphone:

  • Rotary encoder adjusts frequency (Β±100 Hz per step)
  • Short press toggles TUNE carrier
  • Long press enters parameter edit mode (browse with encoder, press to select)
  • Audio source selectable: PC (USB) or MIC (ADC) via parameter menu
  • PTT/KEY button for CW keying or SSB push-to-talk
  • OLED shows all status in real-time
  • Powered from USB powerbank β€” auto-switches to MIC input if no USB host detected within 3 seconds

CDC Commands

After connecting USB, a serial port is available with the following commands:

Basic Commands

Command Description
help List commands
get Show current configuration
status Force status push to GUI (!S line)
diag SX1280 and buffer diagnostics
tx 0/1 Enable/disable TX (SSB modulation)
mode usb/cw/fm Set modulation mode (⚠️ FM NOT for QO-100!)
tune 0/1 Toggle TUNE carrier
cw Start CW test
stop Stop CW transmission
freq <Hz> Set frequency with sub-Hz precision (e.g. freq 2400100050.5)
ppm <value> Oscillator PPM correction (e.g. ppm -0.5)
enable bp 0/1 Enable/disable bandpass filter
enable eq 0/1 Enable/disable equalizer
enable comp 0/1 Enable/disable compressor
set bp_lo <Hz> Lower filter frequency (default 200 Hz)
set bp_hi <Hz> Upper filter frequency (default 2700 Hz)
set bp_stages <1-10> Filter steepness (12 dB/oct per stage)
set eq_low_hz <Hz> Low shelf frequency
set eq_low_db <dB> Low shelf gain
set eq_high_hz <Hz> High shelf frequency
set eq_high_db <dB> High shelf gain
set comp_thr <dB> Compressor threshold
set comp_ratio <n> Compression ratio
set comp_att <ms> Attack time
set comp_rel <ms> Release time
set comp_makeup <dB> Makeup gain
set comp_knee <dB> Knee width
set comp_outlim <0..1> Output limiter
set amp_gain <float> Final gain
set amp_min_a <float> Minimum amplitude
txpwr <-18..13> Max TX power on SX1280 chip in dBm
src pc Switch to PC (USB audio) input
src mic Switch to MIC (ADC0) input
set mic_agc_target <0..1> AGC target level (default 0.75)
set mic_agc_max_gain <1..200> AGC maximum gain (default 1.0)
set mic_agc_attack <float> AGC attack coefficient (default 0.01)
set mic_agc_release <float> AGC release coefficient (default 0.0001)
set mic_gate_thresh <float> Noise gate threshold (default 0.005)
set fm_dev <200..100000> FM deviation in Hz (default 2500, i.e. NBFM Β±2.5 kHz)
set ctcss <freq|0> CTCSS sub-audible tone in Hz (0 = off; e.g. set ctcss 88.5)

⚠️ FM mode is for general 2.4 GHz amateur use only β€” DO NOT use FM on QO-100! Standard CTCSS tones from 67.0 to 254.1 Hz are supported. The tone is mixed at ~15% of deviation (standard level).

Technical Specifications

Parameter Value
Frequency range 2300.000 – 2450.000 MHz (QO-100: 2400.000 – 2400.500 MHz)
Output power up to +27 dBm (adjustable -18…+13 dBm on chip)
Modulation SSB (USB), CW, FM (with CTCSS)
Audio input USB 48 kHz (PC) or ADC 8 kHz (MAX4466 microphone)
Audio sample rate 48 kHz (USB) β†’ 8 kHz (DSP); 8 kHz direct (MIC)
MIC processing Hardware timer ISR, DC removal, AGC with noise gate
SPI clock 18 MHz
OLED SSD1306 128Γ—64, I2C1 @ 1 MHz, DMA transfer
TCXO stability Β±0.5 ppm
Frequency resolution Sub-Hz (PLL steps + DSP fine offset)

QO-100 Uplink

QO-100 Narrowband Transponder:

  • Uplink: 2400.000 - 2400.500 MHz
  • Downlink: 10489.500 - 10490.000 MHz

What’s New

v2.1.1

  • FM mode β€” Direct frequency modulation via PLL, deviation adjustable 200 Hz – 100 kHz (set fm_dev <Hz>)
  • CTCSS tones β€” 42 standard sub-audible tones (67.0–254.1 Hz), mixed at ~15% deviation level (set ctcss <freq|0>)
  • Full Band operation β€” Extended frequency range 2300–2450 MHz; GUI "Full Band" checkbox toggles between QO-100 (2400.0–2400.5) and full range
  • GUI FM Settings panel β€” Deviation slider + CTCSS combobox with all standard tones
  • OLED downlink hidden β€” Downlink frequency row hidden when operating outside QO-100 range
  • Encoder 3-way mode cycle β€” USB β†’ CW β†’ FM β†’ USB (both directions)
  • Status push extended β€” fm_dev and ctcss fields for GUI synchronization

Warning

Transmission on 2.4 GHz requires appropriate radio license!

License

This project is licensed under CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial).

  • Non-commercial use (including amateur radio) - OK
  • Modifications allowed - OK
  • Commercial use requires author's permission

This project uses:


73 de SP8ESA

About

Experimental SSB/CW transmitter for QO-100 satellite (Es'hail 2) using SX1280 module + Raspberry Pi Pico. USB Audio input, +27 dBm output, real-time DSP (filter, EQ, compressor), CDC serial control. πŸ“‘πŸ›°οΈ 73 de SP8ESA

Resources

Stars

78 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages