Table of Contents

MeshCore Zero: Bringing Standalone MeshCore Messaging to Cardputer Zero

We developed MeshCore Zero to turn the M5Stack Cardputer Zero into a standalone MeshCore messenger. With an SX1262 LoRa CAP attached, you can join channels, discover nodes, and send messages directly from the Cardputer’s keyboard.

Once it’s installed and configured, you don’t need a phone, a separate companion radio, or an internet connection to chat. The Cardputer provides the interface, and the LoRa CAP handles the radio connection.

The project is open source and available on GitHub.

How we built it

MeshCore Zero brings together the Cardputer’s keyboard and display, the SX1262 radio hardware, and a protocol engine capable of communicating with other MeshCore nodes.

We built the application in Python around openHop Core, which provides the underlying protocol engine. Our work connects that engine to the Cardputer’s hardware and adds the interface, conversation storage, radio settings, installation package, and update process.

MeshCore Zero is an independent client, released under the MIT license. It builds on the work of the MeshCore and openHop communities.

Getting the basics right

Early development focused on the things a messenger needs to do consistently: read the keyboard correctly, refresh the screen reliably, configure the radio, and retain conversations between sessions.

That included fixing keyboard symbol mapping, radio sync-word programming, and LCD refresh behavior. We also added hardware detection for the current Cap LoRa-1262 and the legacy Cap LoRa868, which use different antenna-control arrangements.

Automated tests cover both CAP detection paths and several failure cases. Physical testing of the legacy CAP remains pending.

Making it comfortable to use

A small screen needs an interface that makes good use of the space. We combined channels and direct messages into one inbox, with message previews and unread counts. Conversations use a compact layout, and the main interface has four sections: Chats, Join, Nodes, and Settings.

We also worked on typing responsiveness. Cached text measurements, partial screen updates, and faster pixel conversion reduce unnecessary rendering work. Battery checks run separately from keyboard handling to keep input responsive.

Other additions include offline color emoji, clearer message indicators, regional radio presets, and an updater accessible from Settings. The changelog records the development work.

What you need

To run MeshCore Zero, you’ll need:

  • An M5Stack Cardputer Zero.
  • An SX1262 LoRa CAP and a suitable antenna.
  • The Debian 13 ARM64 image, with Python 3.13 and APPLaunch.
  • Internet access to download and install the application.
  • Matching radio settings on the MeshCore nodes you want to communicate with.

These instructions apply to the Linux-based Cardputer Zero.

MeshCore Zero is still early-access software. US peer messaging has been tested; other regional profiles need further field testing.

Install through the Cardputer app store

The easiest installation method is through the store on your Cardputer Zero:

  1. Open Store.
  2. Search for MeshCore, or enter share code MCZR.
  3. Install the application.
  4. Open MeshCore from APPLaunch.

You can also visit the MeshCore app-store listing.

If the icon doesn’t appear immediately after installation, refresh or restart APPLaunch. Check the store listing for its available version, since GitHub releases may be newer.

Install directly from GitHub

You can also install the Debian package manually.

SSH into your Cardputer Zero, then run these commands on the Cardputer:

curl -fL https://github.com/unagisan69/meshcore-zero/releases/latest/download/meshcore-zero_arm64.deb -o /tmp/meshcore-zero.deb
sudo apt install /tmp/meshcore-zero.deb

If you prefer wget, use:

wget -O /tmp/meshcore-zero.deb https://github.com/unagisan69/meshcore-zero/releases/latest/download/meshcore-zero_arm64.deb
sudo apt install /tmp/meshcore-zero.deb

Choose either download method. After installation, open MeshCore from APPLaunch.

The latest packages are available on the releases page.

Configure your node

Open Settings, choose a recognizable node name, and select the appropriate region.

For Asheville and Western North Carolina, start with the USA profile. Confirm that the settings match the local nodes you want to reach, then restart the application after changing the region.

The documented US preset uses:

  • Frequency: 910.525 MHz
  • Bandwidth: 62.5 kHz
  • Spreading factor: 7
  • Coding rate: 4/5

Selecting a regional profile is a starting point. If you can’t communicate with another node, compare the actual radio settings on both devices. The project’s radio documentation lists the available profiles.

Join #meshavl and #ncmesh

Open Join to add a channel. The entry field already includes #, so type meshavl to join #meshavl, then repeat for #ncmesh.

Joining a hashtag channel selects its shared key. It does not change your radio frequency, so your radio settings still need to match the surrounding mesh.

Public and hashtag channels are shared spaces. Anyone with the same channel name/key can read their messages, and a displayed name isn’t a verified identity.

Using the keyboard

The main controls are straightforward:

  • Tab cycles through Chats, Join, Nodes, and Settings.
  • Enter opens the selected item.
  • Up/Down selects conversations or scrolls message history. Use the keyboard’s Fn arrow combinations where needed.
  • Type in a conversation and press Enter to send.
  • Escape returns to Chats. Press it again to exit to the launcher.

To start a direct message, open Nodes, select a discovered chat node, and press Enter.

For your first test, coordinate with someone nearby whose node uses matching radio settings. Send a short introduction on #meshavl and check that you can receive a reply.

What the message dots mean

A small green circle means the app received a matching radio echo or a direct-message acknowledgement. A grey circle means confirmation hasn’t returned yet.

For channel messages, an echo doesn’t confirm that every member received the message. Likewise, a message can reach another device without an echo returning to yours. Direct messages can receive an explicit delivery acknowledgement.

If you also use MeshZero

MeshZero can leave its background radio service running after its window closes. That can keep the LoRa CAP busy when MeshCore Zero tries to use it.

In MeshZero, open Setup, find Run in background, and switch it Off. Close MeshZero and allow time for it to release the radio.

If MeshCore still displays a service warning, stop MeshZero’s service through SSH or the Cardputer CLI:

sudo systemctl stop meshzero.service

Then select Okay in MeshCore to check again.

This stops the service for the current session without uninstalling MeshZero. In v0.1.13–v0.1.14, MeshCore checks whether that service is active, which can cause the warning to persist even after MeshZero’s background radio option is turned off.

Exit MeshCore before restarting MeshZero or opening another application that uses the CAP. More options are documented in the troubleshooting guide.

Updating and backing up

Open Settings → Update app to check GitHub for a newer release. Press Enter to download it, then enter your device’s sudo password when prompted. Keep power connected during installation; the app restarts afterward.

Updates preserve your identity, channels, and message history.

For a separate backup, save this directory:

~/.local/share/meshcore-zero/

If you’ve customized XDG_DATA_HOME, your data will be under that location instead. The directory contains private key material, so keep backups private and never attach them to a public bug report.

Unsent drafts currently remain only while the app is running.

Try it and help us improve it

MeshCore Zero currently focuses on text chat. Attachments, room-server login, GPS, and a custom frequency editor aren’t included.

We’d like feedback from people putting it to use: installation issues, keyboard quirks, confusing screens, and radio behavior that needs investigation. When reporting a problem, include your app version, OS image, CAP revision, and what happened.

Install MeshCore Zero, browse the source, or report an issue.

Then come say hello on #meshavl.