Beta 3 · LilyGO T-Display K230 Kit (LR2021 main unit) · Cairn 140. A pre-release: not offered by any online update. Replaces beta 2; install it the same way.
New in beta 3
- Listen: an FM voice receiver from the LoRa radio itself. NOAA weather (WX1-7), FRS/GMRS (1-22), MURS (1-5), marine VHF and the 70 cm band, or any frequency from 150 to 960 MHz. A signal meter, Scan, squelch and volume. Receive only; the mesh pauses while it is open. (The 2 m ham band is below the radio's range.)
- Camera: photos (JPEG) and 30 fps video (H.264 MP4) to the card, with pro controls (exposure, ISO, white balance, focus, and more), and a Gallery behind the last-shot thumbnail. The camera-marked power key opens it and is its shutter.
- Keys: the camera-marked power key is now the camera key; BOOT0 on the top edge is the user button (wake, screen off, lock).
- Apps: double-tap the LilyGO key, or swipe left on Home, for the Apps page (four color-coded groups).
- Chats: every joined channel is listed; long-press one to rename or leave it. A filter (All · Unread · People · Channels) and a compact + New. With the keyboard base on, type straight into the chat.
- Nodes: the list is a one-line table (hops, heard, distance); Cards shows three across with a compass arrow.
- Look and feel: a comet glide on the sidebar, pages that zoom out of the tile you tap, bigger toggles (Spectrum, Battery, Send advert), a number pad for frequencies.
- Fixes: the board starts on USB power alone again; the camera closes when the screen goes dark; Ping tries a repeater's saved route before giving up.
Cairn's own interface and MeshCore as one Linux program on the K230 kit's AMOLED, with the keyboard base.
It runs on one kit on the bench. Its radio is the LR2021: this build is not for other K230 boards.
Files (all named MeshCore-TDisplayK230-Cairn140-2026-11-29-...):
...-cairn-bin the program
...-S99zz_cairn the boot script (Cairn at boot, LilyGO's launcher one switch away)
...-cairn-switch the helper that brings Cairn back from the launcher (three quick power-key presses)
...-nrf52840-bridge.uf2 OPTIONAL, untested: Cairn's Bluetooth bridge for the base's nRF52840 (see BLUETOOTH)
...-nrf52840-bridge.zip the same as a DFU package, for bases whose LilyGO firmware accepts AT+DFU
SHA256SUMS.txt
NEW IN BETA 3
- Listen (Apps > Radio): an FM voice receiver from the LR2021's own signal, demodulated by Cairn. NOAA weather WX1-7,
FRS/GMRS 1-22, MURS 1-5, marine VHF (16, 9, 22A, 13, 6, 68, 72), the 70 cm band, or any frequency 150-960 MHz
(tap the frequency). A signal meter with RECEIVING / QUIET, +-12.5 kHz, Scan, squelch, volume. Receive only. The
mesh pauses while the page is open; listening stops when the screen goes dark and starts again on return.
Tested on NOAA WX2 (162.400 MHz). The 2 m ham band (144-148 MHz) is below the radio's range.
- Camera (Apps > Media, or the camera-marked power key): photos and 30 fps H.264 video to the card's /Camera, pro
controls, a Gallery (tap the last-shot thumbnail). The power key is the shutter on the Camera page.
- Keys: the camera-marked power key opens the Camera; BOOT0 on the top edge is the user button (wake, screen off,
lock). Locked, the camera key only wakes the screen.
- Apps: double-tap the LilyGO key, or swipe left on Home.
- Chats: every joined channel listed (long-press: Rename, Leave); a filter (All, Unread, People, Channels) and
+ New (New message or Join channel); with the keyboard base, type straight into the chat.
- Nodes: a one-line table (hops, heard, distance); Cards three across with a compass arrow to each node.
- Map: Set my position from a long press on the map.
- Look and feel: the sidebar glides with a comet tail; a page opened from a tile zooms out of it; bigger toggles
(Spectrum, Battery, Send advert); a number pad for typing a frequency (Settings > Radio too).
- Fixes: the board starts on USB power alone again (beta 2 could open the Camera at power-on); the camera closes
when the screen goes dark or locks; Ping retries a repeater on its saved route before "Ping timeout".
WHAT WORKS
- LoRa send and receive (LR2021), Wi-Fi, online maps (OpenFreeMap), the Spectrum page with its Live view, Listen.
- The keyboard base: typing; F1-F6 pick the six side tabs; the Mic key opens the Recorder; the LilyGO key goes Home
(twice: Apps; hold it to open LilyGO's launcher); the key light; the three LEDs (Caps Lock, unread, LoRa activity).
- The base's batteries: percent, charging, and a Battery page.
- Sound: alert tones, the music player, Listen, through the base's speaker or the headphone jack (Settings > Sound >
Output); the Recorder uses the board's mic.
- The camera: photos, video, the Gallery.
- The Bluetooth scanner (Radios > Bluetooth) through the base's nRF52840, with LilyGO's own firmware on it.
- GNSS from the base's nRF9151: connect the kit's antennas (without them it hears almost nothing).
BEFORE YOU START
- It needs a Linux shell on the board: the kit's USB console (the CH342 port, 115200 baud, user root).
- Set the radio preset for your region on first start, before you send anything.
- LilyGO's launcher is not removed; Cairn switches to it and back (see SWITCHING).
INSTALL IT
The kit's root filesystem is on its microSD card (ext4).
1. Copy the files to the board (put the card in a Linux computer, or any way you like):
...-cairn-bin -> /root/cairn-bin
...-cairn-switch -> /root/cairn-switch
...-S99zz_cairn -> /etc/init.d/S99zz_cairn
2. On the board's console:
chmod +x /root/cairn-bin /root/cairn-switch /etc/init.d/S99zz_cairn
/etc/init.d/S99zz_k230_phone_ui stop
mv /etc/init.d/S99zz_k230_phone_ui /root/S99zz_k230_phone_ui.off
/etc/init.d/S99zz_cairn start
Cairn now starts at every boot. Its log: /tmp/cairn.log
From beta 2: only the program changed. Stop Cairn (/etc/init.d/S99zz_cairn stop), replace /root/cairn-bin,
start it again.
3. To undo: /etc/init.d/S99zz_cairn stop; rm /etc/init.d/S99zz_cairn;
mv /root/S99zz_k230_phone_ui.off /etc/init.d/S99zz_k230_phone_ui
SWITCHING
- Cairn -> LilyGO launcher: hold the LilyGO key about a second and choose Open, or Settings > Maintenance >
LilyGO launcher.
- Launcher -> Cairn: press the power key three times quickly.
- The board boots into whichever of the two you used last.
BLUETOOTH (optional, untested)
The phone link (MeshCore and Cairn OS apps, PIN pairing) needs Cairn's bridge on the base's nRF52840. It has not
been run on a unit yet. LilyGO's firmware on our base does not accept AT+DFU, so the way in is the nRF52840's own
USB-C port: connect it to a computer, double-tap its reset button, and copy the .uf2 onto the drive that appears.
LilyGO's original firmware goes back on the same way (their repository's firmware/*.uf2). With LilyGO's firmware
on the chip, the scanner still works; the phone link stays off.
WHAT TO TRY
1. Listen: Apps > Radio > Listen on Weather; does a NOAA station near you come in? Try Scan.
2. Camera: a photo and a short video; open them in the Gallery.
3. Keys: the camera key from any page; BOOT0 to turn the screen off and on.
4. Chats: rename a channel; type a message with the keyboard base.
5. Radio: send a message to another MeshCore node, and have it send one back.
6. Send /tmp/cairn.log (a GitHub issue, Bug report, with the build's tag), saying what happened at each step.
Don't use grep or cat on all of /tmp: /tmp/cairn.in is a pipe and the shell will wait on it.
NOT IN THIS BUILD
Online updates, the data USB port (MTP), Bluetooth without the bridge, listening with the screen off.