
IONPAK2
m-labs/ionpak
A modern, low-cost universal controller for hot-cathode ionization vacuum gauges. (WIP)

Experimental Synchronous On Off Keying Encoder and Decoder with LCD Touch Display
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
Connect the Module to your PC using the USB-C port.
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.
Copy the .uf2 file onto the USB drive. The RP2040 will recognise the file and immediately update its firmware and reboot.
The RP2040 is programmed using the Arduino IDE with the Earl F. Philhower, III RP2040 core.
Download and Install the Arduino IDE 2.3.0 from here https://www.arduino.cc/en/software
Open the Arduino IDE and go to File/Preferences.
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
Hit OK to close the Dialog.
Go to Tools->Board->Board Manager in the IDE.
Type “RP2040” in the search box.
Locate the entry for 'Raspberry Pi Pico/RP2040 by Earle F. Philhower, III' and click 'Install'
Download the latest released source code .zip file from https://github.com/g4eml/RP2040_OOK48_LCD/releases
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'
Open the Arduino IDE and click File/Open
Navigate to the File RP2404Synth/RP2040_OOK48_LCD.ino (downloaded in the previous step) and click Open.
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"
Connect the Module to the USB port, hold down the BOOT button while powering on.
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.
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.
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.
Files for 3D printable enclosures for the each of the display variants are included in the Enclosure directory.
Additional parts required.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | MountingHole | MountingHole:MountingHole_3.2mm_M3_ISO14580_Pad | H1, H2, H3 |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3 |
| 2 | 22uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4, C5 |
| 2 | 47K | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | R2, R3 |
| 2 | Conn_01x02_Pin | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J5, J6 |
| 2 | DMN3404L | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2 |
| 1 | 1K5 | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | R1 |
| 1 | 2K | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | R4 |
| 1 | 4K7 | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | R5 |
| 1 | Conn_01x04_Pin | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J3 |
| 1 | Conn_01x04_Socket | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J2 |
| 1 | Conn_01x05_Pin | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J4 |
| 1 | Conn_01x14_Socket | Connector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_Vertical | J1 |
| 1 | D_Schottky | Diode_SMD:D_SOD-123F | D1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D2 |
| 1 | LTC4054ES5-4.2 | Package_TO_SOT_SMD:TSOT-23-5 | U1 |
| 1 | MountingHoles | MountingHole:MountingHole_3.2mm_M3_ISO14580_Pad | H4 |
| 1 | RaspberryPi_Pico | Module:RaspberryPi_Pico_Common_THT | A1 |

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

Xasin/TapBadgeV2
The second, far more ambitious version of the TapBadge wearable


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.

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



It measures 96.8 × 56.4 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).