Skip to main content

Get Started with XIAO ESP32-S3 & Wio-SX1262 Kit

Meshtastic® is an open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices. Seeed Studio provides a comprehensive range of ready-to-go Meshtastic devices for hobbyists and industrial users. XIAO ESP32S3 & Wio-SX1262 Kit is flexible solution for meshtastic developer and maker.

Overview​

hero

Features​

  • Versatile Microcontroller: ESP32-S3R8 dual-core Xtensa LX7 up to 240 MHz, 8 MB Flash + 8 MB PSRAM; Wi-Fi 2.4 GHz + BLE 5.0; Arduino / MicroPython.
  • Powerful LoRa: Semtech SX1262, 862–930 MHz, connected via B2B (SPI).
  • Dual Wireless: Wi-Fi + BLE + LoRa.
  • Compact: XIAO form factor, 21 × 17.8 mm footprint.
  • Power: USB-C 5 V; on-board 3.7 V Li-ion charging management.

Specification​

ItemValue
MCUESP32-S3R8, dual-core Xtensa LX7, up to 240 MHz
LoRaSemtech SX1262, 862–930 MHz
WirelessWi-Fi 2.4 GHz + Bluetooth 5.0
InterfaceESP32-S3: UART/I2C/SPI/GPIO + B2B; Wio-SX1262: SPI
PowerType-C 5 V; BAT 3.7 V nominal Li-ion (4.2 V full-charge); charging current see XIAO ESP32-S3 wiki
Operating Temp-20 °C ~ 65 °C
Dimensions21 × 17.8 mm (XIAO footprint)

Pinout​

See the interactive pinout, the B2B pin map in "Connected to SX-1262", and the pinout sheet in Resource.

Flash Firmware​

note

Please flash the firmware onto your device if you purchased the XIAO ESP32S3 & Wio-SX1262 Kit before October 24, 2024 by following this step-by-step tutorial. Kits purchased on or after October 24, 2024 ship pre-flashed with Meshtastic firmware and work out of the box. OTA (over-the-air) updates are not supported on this kit. Please update firmware via the Meshtastic Web Flasher or serial flashing.

Step 1: Firstly, open a browser and visit https://flasher.meshtastic.org/# requires Chrome or Edge browser.

Step 2: Then, use a suitable USB cable to connect the device to the PC. If the device is not detected, unplug the USB cable, press and hold the BOOT button, then plug the USB cable back in while holding BOOT.

Step 3: Follow the following instruction provided to perform the subsequent flashing operations. Select the Device as "Seeed Xiao ESP32-S3", Firmware as the latest one, and then click "Flash". Don't forget to tick "Full Erase and Install" if you want to cover previous firmware.

caution

"Full Erase and Install" wipes all node settings (channels, keys, region). Export your configuration first if you want to keep it; use full erase only for a clean install or troubleshooting.

Software Overview​

Meshtastic provides multiple platform softwares for users to choose from, including Android app, Apple app, web client. It also provides Python CLI, Linux Native and integration methods for developers to use.

For specific information, please refer to the official website of Meshtastic.

  • Android App: Android application is available on F-Droid repo and Google Play Store. This allows you to connect to your Meshtastic device from your Android phone via Bluetooth, Wi-Fi (if on the same network) or USB On-The-Go (OTG).
  • Apple App: It is available on app store. By default, the Meshtastic app for iOS supports the use of native offline Apple Maps.
  • Web Client: Meshtastic Web is a Meshtastic client that runs directly in your browser.
  • Python CLI: The python pip package installs a "meshtastic" command line executable, which displays packets sent over the network as JSON and lets you see serial debugging information from the meshtastic devices.
  • Linux Native: The device software can also run on a native Linux machine thanks to the Portduino framework.
  • Meshtastic Integrations: The Meshtastic ecosystem is highly extensible and allows easy integration with a number of existing software products and projects.

Device Connection​

Before using Meshtastic, the device needs to be connected first. There are two connection methods. The first one is to use an expansion board, and the corresponding information will be displayed on the display. Then, the configuration can be carried out on the corresponding platform according to the reflected information. The second one is to connect the XIAO and the Wio-SX1262 module, and use a serial port tool to obtain the node ID and password.

Connect via Bluetooth (no expansion board)​

Step 1: Power the device via USB or a battery.

Step 2: Open the Meshtastic app and tap "+" to scan for nearby devices.

Step 3: Select the device named Meshtastic_xxxx (the last 4 digits of nodenum).

Step 4: Enter the Bluetooth pairing PIN (default 123456).

Step 5: Set the LoRa region; the device reboots and joins the mesh.

Set the LoRa Region​

Region CodeFrequency Range (MHz)Duty Cycle (%)Power Limit (dBm)
US902.0–928.010030
EU_868869.4–869.651027

Refer to LoRa Region by Country for a more comprehensive list.

note

EU_868 obeys a 10% hourly duty cycle (rolling 1-hour); the device stops transmitting when reached.

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.

note

The XIAO ESP32-S3 has no GPIO on the battery sense line, so Meshtastic cannot measure battery voltage/level on this kit. On USB it reports "Plugged in"; on battery the level may be unknown or inaccurate. (The nRF52840 kit can read battery voltage.)

Connected to Expansion board​

After flashing firmware and downloading Meshtastic app, Expansion board would be a good tool for connection and additional application such as adding grove sensors and modules easily.

Step 1: Ensure that the device to be connected is turned on and in a discoverable state. And open the Meshtastic app on your mobile phone.

Step 2: In the Meshtastic app, there is an "+" icon on bottom right. Click it to let the app start scanning for nearby connectable devices. Then select the corresponding device ID showing on OLED display.

Step 3: Once selected correctly, enter the code showing on OLED display. Press the button to switch display.

Button Functions:

  • Press once to switch the screen.
  • Press twice to broadcast.
  • Press three times to switch the GPS mode.

Step 4: Set the LoRa region, then the device will reboot.

Step 5: Finish reboot, the device status can be checked on Meshtastic app and OLED display.

Serial port tool​

Select a serial port debugging tool you like. The example below uses Comtool on macOS; any serial terminal works. Select the serial connection, choose the corresponding port, configure the baud rate as 115200, and turn on RTS and DTR. Open the connection and you can see the connection data. Search for "nodenum" to find the corresponding node ID. The default Bluetooth pairing PIN is 123456.

tip

The last four digits of nodenum are the device number ID discovered by the meshtastic app. For example, "nodenum 0x9e20d02c" is "Meshtastic_d02c" in meshtastic.

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

Connect the included IPEX FPC LoRa antenna to the Wio-SX1262 IPEX connector before first use. Do not transmit without an antenna connected.

warning

The ESP32-S3-compatible Wio-SX1262 is only sold within this kit. The separately sold Wio-SX1262 for XIAO uses the nRF52840 pin configuration and is not compatible with ESP32-S3 Meshtastic/MeshCore firmware.

Communicate with Wio Tracker T1000-E​

Step 1. Connect Wio Tracker T1000-E following wiki.

Step 2. Make sure the following setting is same as your configuration on XIAO ESP32S3 for Meshtastic.

  1. Device activation and setup
  • Ensure that both devices are turned on and in normal working condition.
  • The wireless communication function of the device (such as Bluetooth, LoRa, etc.) should be enabled. Check the relevant settings to ensure that it is not accidentally turned off or restricted.
  1. Distance and signal strength
  • The distance between the two devices cannot be too far. With the included 2 dBi IPEX antenna, typical LoRa range is 2–5 km under open, line-of-sight conditions. Actual range varies with environment, antenna placement and radio settings.
  1. Network Settings
  • Ensure that the devices are in the same network mode or channel setting. Easily set to same 'lora region' and 'Modem preset' using Meshtastic APP.
  • Same channel: both devices must share the same channel (the default LongFast, or an identical channel name and PSK).

Step 3. Communicate with Wio Tracker T1000-E

Once connected, you can start sending and receiving messages through the Meshtastic network. Messages can be text-based or may support additional features depending on the capabilities of the devices and the app. You can also monitor the network activity and see which devices are currently connected and active.

Sensor Connection​

In the meshtastic application, the Wio-SX1262 with XIAO esp32s3 kit is capable of supporting a wide range of sensors. When used in conjunction with the XIAO expansion board, it can support numerous grove sensors, please check here. Additionally, when combined with the GNSS add on module, it forms one of the smallest Meshtastic modules with GPS functionality.

Temperature and Humidity Sensor​

DHT20 Temperature & Humidity Sensor

Step 1: Connect the Grove DHT20 sensor of the XIAO Expansion Board

Step 2: In the Meshtastic app, open Module Configuration → Telemetry and enable Environment Metrics. The Grove DHT20 (AHT20-compatible, I²C address 0x38) is detected automatically at startup.

GNSS Sensor (L76K)​

The L76K GNSS Module for XIAO adds GPS / BeiDou / GLONASS / QZSS positioning.

stack

Hardware preparation

  1. Solder the female header sockets onto the L76K module (if not pre-soldered).
  2. Plug the included active GNSS antenna onto the L76K U.FL connector.
  3. Stack the L76K with the XIAO ESP32-S3 + Wio-SX1262 kit, aligning pin-1 / USB orientation.
caution

Pay special attention to the installation direction. Do NOT plug the L76K in backwards, otherwise it is likely to burn the module or the XIAO.

Enable GPS

  1. In the Meshtastic app / web client: Device configuration → Position → set GPS Mode = ENABLED (optionally set Update Interval).

position

Verify position

  1. Place the device outdoors or near a window with a clear sky view; allow ~30 s for a cold start; keep the ceramic antenna facing up.
  2. Check the reported position in the app or web client (Nodes → node → Position, or the Map view).

node

nodes

map

note

On the ESP32-S3 kit the L76K uses UART (RX GPIO44 / TX GPIO43).

Initial Configuration​

note

For more details, please refer to Meshtastic.

Radio Configuration​

There are several config sections in the Meshtastic firmware, these are broken out so they can be sent as small admin messages over the mesh.

NameDescription
BluetoothBluetooth config options are: Enabled, Pairing Mode and Fixed PIN.
ChannelsChannels config options are: Index, Role and Settings.
DeviceDevice config options are: Device Role, Serial Output, Debug Log and Factory Reset.
DisplayDisplay config options are: Screen On Duration, Auto Carousel Interval, Always Point North, and GPS Format.
LoRaThe LoRa config options are: Region, Modem Preset, Max Hops, Transmit Power, Bandwidth, Spread Factor, Coding Rate, Frequency Offset, Transmit Disabled and Ignore Incoming Array.
NetworkNetwork config options are: WiFi Enabled, WiFi SSID, WiFi PSK, WiFi Mode and NTP Server.
PositionPosition config options are: GPS Enabled, GPS Update Interval, GPS Attempt Time, Fixed Position, Smart Broadcast, Broadcast Interval and Position Packet Flags.
PowerPower config options are: Charge Current, Power Saving, Shutdown after losing power, ADC Multiplier Override, Wait Bluetooth Interval, Light Sleep Interval and Minimum Wake Interval.
UserUser config options are: Long Name, Short Name, and Is Licensed.

Module Configuration​

Modules are included in the firmware and allow users to extend the functionality of their mesh or device.

NameDescription
Ambient LightingAdjust the brightness of NCP5623 I2C RGB LEDs.
AudioEnable Support for Codec2 Voice Comms on certain devices.
Canned MessageSet a number of predefined messages to send out directly from the device with the use of an input device like a rotary encoder.
Detection SensorConfigure a GPIO pin to be monitored for specified high/low status and send text alerts.
External NotificationIncoming messages are able to alert you using circuits you attach to the device (LEDs, Buzzers, etc).
MQTTForward packets along to an MQTT server. This allows users on the local mesh to communicate with users on another mesh over the internet.
Neighbor InfoSend info on 0-hop neighbors to the mesh.
PaxcounterCount the number of BLE and Wifi devices passing by a node.
Range TestSend messages with GPS location at an interval to test the distance your devices can communicate. Requires (at least) one device set up as a sender and one as a receiver. The receiver(s) will log all incoming messages to a CSV.
Remote HardwareSet and read a GPIO status remotely over the mesh.
Serial ModuleSend messages across the mesh by sending strings over a serial port.
Store & ForwardStores messages on a device for delivery after disconnected clients rejoin the mesh.
TelemetryAttach sensors to the device and transmit readings on a regular interval to the mesh.
TracerouteTrack which nodes are used to hop a message to a certain destination.

FAQ & Troubleshooting​

Device not detected / can't enter flash mode?​

ESP32-S3: unplug USB, hold BOOT, plug back in. nRF52840: double-click RST to mount the XIAO-xxx UF2 drive.

Bluetooth won't pair / asks for a PIN?​

Default pairing PIN is 123456; ensure BLE is on, forget the device and re-pair.

No GPS fix / position missing?​

Confirm the GNSS antenna is attached and the module is not plugged backwards; set GPS Mode = ENABLED; go outdoors with sky view; allow ~30 s cold start.

Battery shows "Plugged in" or a wrong level?​

On USB the app reports "Plugged in". The ESP32-S3 has no battery ADC, so on-battery level is unknown/inaccurate; the nRF52840 kit can read battery voltage.

Device won't transmit / can't reach peers?​

Set the LoRa region first; use the same channel + modem preset as peers; keep the LoRa antenna connected.

Settings/channels gone after flashing?​

"Full Erase and Install" wipes all node config; export before flashing and re-import afterwards.

How to update firmware?​

ESP32-S3: Web Flasher / serial (no OTA). nRF52840: UF2 drag-and-drop / Web Flasher; recover a non-booting device by double-click RST and dragging a fresh .uf2.

Resource​

Course Resources​

Tech Support & Product Discussion​

Loading Comments...