Skip to the content
2 layers96.8 × 56.4 mmOOK48 PICO, the printed circuit board in 3D

Experimental Synchronous On Off Keying Encoder and Decoder with LCD Touch Display

Size
96.8 × 56.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
43
Pads
110
Tracks, vias
239, 31
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 May 2025
Updated
28 Sep 2026

Overview

OOK48 PICO is an open-source printed circuit board by g4eml, from the g4eml/RP2040_OOK48_LCD repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 96.8 × 56.4 mm with 26 parts on 43 nets, routed with 239 tracks and 31 vias.

It is built around the LTC4054ES5-4.2#PBF and DMN3404L. Its parts include 6 connectors, 5 capacitors, 5 resistors, 2 diodes and 2 transistors. It belongs with the lEDs and displays boards and the RP2040 boards of this library.

Main components

2

README

README.md

RP2040 OOK48 LCD

Description

This Project is an experimental test for a new Synchronous On Off Keying mode for use with weak signal microwave contacts. The protocol is based on an idea from Andy G4JNT with input from several other UK Microwave Group Members. It is described in the document https://github.com/g4eml/RP2040_OOK48_LCD/blob/main/Documents/OOK48%20Protocol.pdf.

Features

  • Uses On/Off keying which is easier to implement than Frequency Shift keying on the higher microwave bands.

  • The data rate is similar to Morse code, so the module can be connected directly to the CW key input of any radio.

  • Real time visual confirmation of the message, character by character. No need to wait 30 seconds to see if the reception has succeeded.

  • Uses the GPS 1 Pulse per second signal for accurate character synchronisation.

  • Optional 2 Seconds per character mode which increases the decode sensitiviy slightly.

  • Stand alone Device with LCD touch screen display.

  • No special programming hardware or software required.

  • Programming using the RP2040s built in standard boot loader.

  • 10 Preset Messages are saved to EEPROM for automatic load on power on.

  • Automatic calculation of QTH Lacator. Selectable for 6, 8 or 10 character accuracy. This locator can be inserted in any of the 10 Preset Messages.

  • Recording of messages to SD card for later viewing on a PC.

  • USB Drive mode to allow downloading of SD card files to a PC.

  • Also now includes encode/decode mode for Morse Code and decode only mode for JT4G and PI4 beacon signals.

Operation Description

Display

The display is split into 4 main areas. On the left are the Spectrum display and Waterfall. These are used to tune the reciever to the correct frequency.

In OOK48 and Morse modes the Spectrum and Waterfall span from 500 Hz to 1100 Hz. Underneath the spectrum display there is an orange band which indicates the correct frequency range for decoding (centred on 800 Hz) . The receiver needs to be tuned such that the received tone falls withing this orange band.

Received messages will appear at one character per second on the right hand side of the display.

When Transmitting the Spectrum display is replaced with a RED box and the Text 'TX'. The transmitted message appears on the right hand side in red as it is sent.

In JT4G mode the spectrum and waterfall span 500Hz to 2 KHz. In PI4 mode the span is 500Hz to 1500 Hz. There are 4 orange bands indicating the 4 data tone frequencies. The receiver needs to be tuned such that the received tones fall withing these orange bands.

Controls

At the bottom of the screen there are 6 touch buttons.

Clear. Clears the Message display.

Config. Displays a config page which allows settings to be changed.

Record Button (Red Circle). Displayed when a FAT formatted SD card is fitted. Click to start recording of text to the SD card. (GPS must be active). The filename will be based on the current date and time DDMMYY-HHMMSS.txt.

Stop Button (White Square). Displayed when recording is in progress. Click to stop recording.

App Selecting this shows a new screen with three buttons which are used to select the required mode of operation. OOK48, JT4G Decoder or PI4 Decoder. When selected the system will reboot into the new mode.

Set Tx. This shows a menu of the 10 stored messages to be used for transmit. Selecting a messsage allows it to be edited on the next screen. Pressing the Enter Button saves the message.

Tx / Rx Starts and stops the transmission of the currently selected Message.

Touching the Waterfall display area of the screen will cycle through a selection of Tone detection ranges indicated by the width of the orange band. Available ranges are +-50 Hz, +_ 100Hz and the full width 500-1100 Hz. Wider ranges require less accurate tuning but have a slightly higher chance of errors with weak signals.

A 'Factory Reset' can be done by holding your finger on the display while powering on. This will clear the EEPROM to its default values and run the screen calibration routine.

USB Drive Mode.

If an SD card is present there will be an additonal line visible on the Config Page. 'Activate USB Drive Mode" . Clicking on this button will activate the USB Memory stick emulation mode. You can then connect the HMI module to a PC and the contents of its SD card will appear as a USB drive. This allows the download and deletion of the saved text files without removing the SD card.

This mode can pnly be exited by powering off the module.

Config page settings

  • Set Locator Length. Allows selection of 6, 8 or 10 digit locators.

  • Character Period. Selects the normal 1S per character or the optional 2 Seconds per character. Both ends of the link need to have the same settings.

  • GPS Baud Rate. Selects 9600 Baud for the older GPS modules or 38400 for more recent modules.

  • GPS Test Mode. If selected the right hand side of the main scree will show the status of the GPS 1PPS signal and NMEA messages, these can be used to confirm the correct operation of the GPS module.

  • Decode Mode. Selects Normal or Alternate mode. Normal mode is tolerant of frequency drift and chirping. Alternate mode needs a very stable drift free tone but is slightly more sensitive.

  • Tx Timing Advance. Allows a fixed delay to be added to compensate for signal processing delays in the Tx chain. (such as DSP audio processing)

  • Rx Timing Retard. Allows a fixed delay to be added to compensate for any signal processing delays in the Rx chain. (such as noise reduction)

  • Default Morse WPM. This is the Morse code speed set at power on. This speed can be adjusted during Morse Reception using the two buttons on the Text Display.

  • Activate USB Drive Mode. Allows the module to be connected to a PC where it will appear as a USB drive allowing the contents of the SD card to be read or deleted. The module must be powered off to exit this mode.

  • Exit. Return to the previous screen.

  • Version Number.

  • Voltage Display. This shows the current battery voltage. This reading may need calibrating for each module. Measure the true battery voltage with a multimeter. Touch the Displayed voltage and enter the measured value. Exit the calibration screen to save the new calibration value.

Hardware Requirements

This code was originally designed to work with the Elecrow CrowPanel Pico-3.5 inch 480x320 TFT LCD HMI Module. https://www.aliexpress.com/item/1005007250778536.html

hmi

Note:- similar HMI Panels are available using the ESP32 processor chip. Make sure that you are purchasing the RP2040 version.

However the correct module now appears to be difficult to obtain. A new interface board has been designed to allow a Raspberry Pi Pico to be fitted to a more easily available 3.5" TFT touch panel.

0

3D View

The LCD screen, controller chip and Touch Screen controller appear to be exactly the same as the original module.

If you are searching for these online the critical points are that it needs to be a 3.5" display 320 x 480 resolution with an ILI9488 controller and touch screen. There are lots of similar displays out there but the correct ones are usually Red and have 14 connections at one end of the board and 4 connections at the other. Be careful as these are also available without the touch screen. Full schematic and PCB designs are in the PCB V2 folder. Note that these alternative displays come in at least two different versions.The functionality is the same but the 3D printed enclosure has to be slightly different. The displays can be identified by the position of the flex cable to the touch screen. On the 'Type A' display the flex cable is nearest to the 14 pin connector. On the 'Type B' display the flex cable is nearest to the 4 pin connector. The picture above shows the 'Type A' display.

A GPS module is also essential and must have a 1 Pulse per second output. This pulse is used to synchronise the start of each character.

gps

Connecting

Elecrow module

The receiver is connected to the HMI module via a simple level shifting interface. Details are shown in this document Connections

The GPS module can be connected the Connector on the top of the module as per the schematic. Alternatively it can be connected to the UART1 connector on the lower edge of the MHI Module. However the 1PPS signal will still need to be connected to the top connector.

The power is provided by the USB-C connector marked 'USB' on the end of the HMI module, or optionally by a 3.7V lithium cell connected to the BAT connector.

New PCB

All of the interfacing components are included on the new PCB. Connect the radio and GPS modules to the marked connectors. A Single Cell Lithium battery can be connected to the BAT connector and an ON/OFF switch to the SW connector.

Programming or updating the HMI Module (quick method)

  1. Locate the latest compiled firmware file 'RP2040_OOK48_LCD.uf2' which will be found here https://github.com/g4eml/RP2040_OOK48_LCD/releases and save it to your desktop.

  2. Connect the Module to your PC using the USB-C port.

  3. If using the Elecraft module hold down the BOOT button on the back of the HMI module and briefly press the Reset button. If using the New PCB remove the power and hold down the BOOT button on the Pico while re-applying the power. The RP2040 should appear as a USB disk drive on your PC.

  4. Copy the .uf2 file onto the USB drive. The RP2040 will recognise the file and immediately update its firmware and reboot.

Building your own version of the firmware (longer method and not normally required unless you need to make changes)

The RP2040 is programmed using the Arduino IDE with the Earl F. Philhower, III RP2040 core.

Installing the Arduino IDE
  1. Download and Install the Arduino IDE 2.3.0 from here https://www.arduino.cc/en/software

  2. Open the Arduino IDE and go to File/Preferences.

  3. in the dialog enter the following URL in the 'Additional Boards Manager URLs' field: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

  4. Hit OK to close the Dialog.

  5. Go to Tools->Board->Board Manager in the IDE.

  6. Type “RP2040” in the search box.

  7. Locate the entry for 'Raspberry Pi Pico/RP2040 by Earle F. Philhower, III' and click 'Install'

Installing the required libraries

  1. From the Arduino IDE select (Tools > Manage Libraries)
  2. Search for 'arduinoFFT' Scroll down to find the arduinoFFT library by Enrique Condes.
  3. Click Install
  4. Now search for 'TFT_eSPI' and find the TFT graphics library by Bodmer.
  5. Click Install
  6. Now search for 'SdFat - Adafruit Fork" and find the library by Bill Greiman.
  7. Click Install
Downloading the Software.
  1. Download the latest released source code .zip file from https://github.com/g4eml/RP2040_OOK48_LCD/releases

  2. Save it to a convenient location and then unzip it.

The TFT_eSPI Library is unusual in that it needs to be configured to the TFT display in use by modifying library files. The required modified versions of the files are located in the 'LCD-eSPI Settings' folder of this repository. Copy the files 'Setup_Elecraft_HMI.h' and 'User_Setup_Select.h' from the downloaded 'LCD-eSPI Settings' folder to your Arduino libraries directory. This will normaly be found at 'Documents/Arduino/libraries/TFT_eSPI'

Programming the RP2040
  1. Open the Arduino IDE and click File/Open

  2. Navigate to the File RP2404Synth/RP2040_OOK48_LCD.ino (downloaded in the previous step) and click Open.

  3. Select Tools and make the following settings.

    Board: "Raspberry Pi Pico"

    Port: "UF2 Board"

    Debug Level: "None"

    Debug Port: "Disabled"

    C++ Exceptions: "Disabled"

    Flash Size: "2Mb (no FS)"

    CPU Speed: "200MHz"

    IP/Bluetooth Stack: "IPV4 Only"

    Optimise: "Small (-Os)(standard)"

    RTTI: "Disabled"

    Stack Protection: "Disabled"

    Upload Method: "Default (UF2)"

    USB Stack: "Adafruit TinyUSB"

  4. Connect the Module to the USB port, hold down the BOOT button while powering on.

  5. Click Sketch/Upload.

The Sketch should compile and upload automatically to the Pico. If the upload fails you may need to disconnect the module and then hold down the BOOT button while reconnecting.

Connections

The receiver audio is connected using a simple CR network to GPIO Pins GND, 3V3 and 28 on the top edge of the HMI Module. Details of this interface are in this file. Interface

IO Pin 6 is connected to to gate of an N channel Mosfet. The drain of this Mosfet is connected to the PTT input of the radio. IO Pin 7 is connected to to gate of an N channel Mosfet. The drain of this Mosfet is connected to the Key input of the radio.

The firmware requires the connection of a GPS module. This is used to accurately set the time and to generate the 1 Pulse per second signal used to synchromise the satrt of each character. Any GPS module with a 3V3 output and a 1PPS output can be used. It needs to output NMEA data at 9600 Baud or 38400 Baud. One of the G10A-F30 modules was used for development. GPS data to the HMI module is connected to IO pin 5. GPS data from the HMI module is connected to IO pin 4. 1 PPS pulse from the GPS module is conneced to IO pin 3.

3D Printed Enclosure

Files for 3D printable enclosures for the each of the display variants are included in the Enclosure directory.

Additional parts required.

  • 3 Phono Sockets for Audio Input, Key Output and PTT Output
  • PAM8403 amplifier module with volume control. Wired in parallel with input audio to allow monitoring of the signal
  • 28mm Speaker
  • 18650 Lithium Cell. (can be switched with the audio amp voulme control on/off switch)

Pam2303 Speaker

Parts

26
QtyValueFootprintReferences
3MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO14580_PadH1, H2, H3
2100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C3
222uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4, C5
247KCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR2, R3
2Conn_01x02_PinConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ5, J6
2DMN3404LPackage_TO_SOT_SMD:SOT-23Q1, Q2
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
11K5Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR1
12KCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR4
14K7Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderR5
1Conn_01x04_PinConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ3
1Conn_01x04_SocketConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ2
1Conn_01x05_PinConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ4
1Conn_01x14_SocketConnector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_VerticalJ1
1D_SchottkyDiode_SMD:D_SOD-123FD1
1LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
1LTC4054ES5-4.2Package_TO_SOT_SMD:TSOT-23-5U1
1MountingHolesMountingHole:MountingHole_3.2mm_M3_ISO14580_PadH4
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_THTA1

Similar boards

  • 4 layersIONPAK2, the printed circuit board in 3D

    IONPAK2

    m-labs/ionpak

    A modern, low-cost universal controller for hot-cathode ionization vacuum gauges. (WIP)

    259 parts23
  • 4 layers135.8 × 149.3 mmTapBadgeV2, the printed circuit board in 3D

    TapBadgeV2

    Xasin/TapBadgeV2

    The second, far more ambitious version of the TapBadge wearable

    110 parts6GPL-3.0
  • 4 layers50 × 100 mmStDevboard, the printed circuit board in 3D

    StDevboard

    teletype7/IRIS

    166 parts3MIT
  • 2 layers64.9 × 63.5 mmMotherboard, the printed circuit board in 3D

    Motherboard

    CuriousAvenger/PhantomGambit

    Phantom Gambit: Where Chess Comes to Life. The Phantom Gambit is a smart chessboard that can move pieces on its own, letting you play chess hands-free.

    75 parts1GPL-3.0
  • 4 layers86 × 29.9 mmGeiger probe, the printed circuit board in 3D

    Geiger probe

    bartkepl/CanGeigerProbe

    Polowa sonda promieniowania jonizującego z miniaturową lampą Geigera-Müllera, komunikująca się cyfrowo przez CAN 2.0B.

    116 partsMIT
  • 4 layers100 × 84 mmColumn Controller, the printed circuit board in 3D

    Column Controller

    demeter-hydroponics/demeter-boards

    All EE related files will be here

    204 parts

Questions

How big is the OOK48 PICO PCB?

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

What parts does the OOK48 PICO use?

26 parts, built around the LTC4054ES5-4.2#PBF and DMN3404L. 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 OOK48 PICO KiCad files?

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

Can I use the OOK48 PICO design in my own project?

Its repository publishes it under the GPL-3.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).