Skip to main content

Get Started with ESP32 MeshCore

pir

MeshCore is an open sourced system for enabling secure text based communications utilising LoRa Mes hardware. You can use MeshCore repeater and MeshCore companion node to build your MeshCore network. XIAO ESP32S3 & Wio-SX1262 Kit is flexible solution to develop a MeshCore node.


Firmware Flashing

Connect your device with a USB cable to the computer. Please make sure the cable supports data transmission.

warning

Please keep the USB cable connected while the data transmission, or else the device can be damaged.

Go to the Meshcore Web Flasher.

Choose Seeed Studio Xiao S3 Wio in the Community Firmware group.

pir

Choose Repeater. If you want to flash other firmware, please click here to see the tutorial.

pir

Select the firmware version.

pir

While pressing the Boot(B) button, press the Reset(R) button to enter flashing mode.

pir

Choose Erase device , then click Flash and choose the serial port named Xiao xxx or debug unit xxx

pir

When the progress bar is completely filled, it indicates that Flash has completed. Then the device will automatically reboot.

pir

Click the Reset(R) button to reboot the device.

Device Connection

Connected to SX-1262

The SX-1262 can be connected to the Xiao ESP32-S3 via the B2B interface. The SX-1262 uses SPI to communicate with Xiao ESP32-S3.

The following diagram shows the B2B pin mapping between XIAO ESP32S3 and Wio-SX1262.

B2B pin mapping between XIAO ESP32S3 and Wio-SX1262
warning

The compatible SX-1262 can only be bought within the kit.

(Optional) Connected to battery

The XIAO ESP32S3 has a built-in power management chip that allows the XIAO ESP32S3 to be powered independently by using a battery or to charge the battery through the XIAO ESP32S3's USB port.

If you want to connect the battery for XIAO, we recommend you to purchase qualified rechargeable 3.7V lithium battery with protection circuit. When soldering the battery, please be careful to distinguish between the positive and negative terminals. The negative terminal of the power supply should be the side closest to the USB port, and the positive terminal of the power supply is the side away from the USB port.

(Optional) Connected to Expansion board

Expansion board would be a good tool for connection and additional application such as adding grove sensors and modules easily.

XIAO ESP32S3 & Wio-SX1262 Kit for Meshtastic & LoRa(Optional) L76K GNSS Module

Configuration

Initial Configuration

When MeshCore repeater firmware is flashed onto a MeshCore device for the first time, it is necessary to set the device's frequency to make it utilize the frequency that is legal in your country or region.

Click here to configure the repeater.

Change the LoRa region and save setting. Then the device will automatically Reboot.

pir

Region List

Region CodeDescriptionFrequency Range (MHz)Duty Cycle (%)Power Limit (dBm)
UNSETUnsetN/AN/AN/A
USUnited States902.0 - 928.010030
EU_868European Union 868MHz869.4 - 869.651027
info

EU_868 has to adhere to an hourly duty cycle limitation of 10%, calculated every minute on a rolling 1-hour basis. Your device will stop transmitting if you reach it, until it is allowed again.

Then you can start testing your own Mesh network.

Send Advert

Click "send advert" to enable other Meshcore devices to see this repeater. Then the repeater can be seen in the device list.

pir

Admin Log in

The default admin password for a repeater is password.

pir

After logging in, you can see the configuration page. You can now adjust the configuration for the repeater on the hone APP.

Set Path

Before adding the repeater to your route, you may need to use the repeater to send advert first. Repeater will automatically send advert at regular intervals. This interval can be multiple hours (default 3 hours). So you need to manually send advert or else you need to wait.

pir

You can manually set the message sending path. Connect you Bluetooth companion device to your phone APP. Open a private message window. Then you can choose the discovered repeater to form your path.

pir

After setting the path, the transmission method will be changed to "n hop". For example, if you add 1 repeater in your route, it will change to 1 hop.

pir

(Optional) Other Setting

If you want to show the position of the repeater on a MeshCore node map, you need to first install a GPS module for the kit.

XIAO ESP32S3 & Wio-SX1262 Kit for Meshtastic & LoRa(Optional) L76K GNSS Module

Then log in the admin to enable the GPS.

pir

Also, you can adjust the advert broadcast interval. The interval range of auto zero hop advert is 60-240 mins. The interval range of auto flood advert is 3-168 hours.

pir

Resource

Course Resources

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...