Skip to content

MeshCore radio setup

Luke Switzer edited this page Nov 14, 2026 · 3 revisions

Beta and C5 firmware can use a Heltec V3 running MeshCore instead of Meshtastic. The node sends and reads only channel 0.

A node uses one radio type at a time. MeshCore and Meshtastic radios can't hear each other, so put every node in a group on the same type.

Flash the radio

  1. Plug in the Heltec's USB only, not the node's.
  2. Flash MeshCore with the node link turned on:
git clone https://github.com/meshcore-dev/MeshCore && cd MeshCore
PLATFORMIO_BUILD_FLAGS="-D SERIAL_RX=19 -D SERIAL_TX=20 -UENV_INCLUDE_GPS" \
  pio run -e Heltec_v3_companion_radio_usb -t upload

Set the radio

pip3 install meshcore-cli
meshcore-cli -s PORT -b 115200 set radio 910.525,62.5,7,5 set_channel 0 MyTeam KEY

set radio takes the frequency in MHz, the bandwidth in kHz, the spreading factor and the coding rate. The example is the US/Canada preset. KEY is 32 hex characters. A new MeshCore radio has the shared Public channel on channel 0, so replace it with your own.

Switch the node to MeshCore

Unplug the Heltec. Plug in the node's USB and type MESHCORE_ON at 115200 baud. The node replies MESHCORE_ACK:ON and keeps the setting after a reboot. On Full, Settings → Node & mesh → MeshCore radio does the same. MESHCORE_OFF switches back. Neither command works over the mesh.

Change radio settings later

Run meshcore-cli -s PORT:dtr=1,rts=1 -b 115200 infos on the node's USB port with MeshCore on. The node passes frames to the radio until the port is idle for 10 seconds.

Long replies

A reply longer than the radio's text limit goes out in parts. The limit is 160 bytes minus the radio name's length and 2, which is 150 for the default name, and 127 until the radio first answers. A part cut in the middle of a line ends with +, and the Command Center joins it to the next part.

If the flash tool gets no reply

Check that every Heltec header pin is soldered.

Clone this wiki locally