Repository navigation
Mod ESP32 C3 Wireless Module
Tip
Full remote control over Wi-Fi with no galvanic connection to the computer.
Wireless SCPI accepts the same command set as USB SCPI. You can control the oscilloscope, multimeter, signal generator and Bode analyzer and read their data, as described in USB and Remote Mode. The web admin adds a browser file manager for the instrument's SPI flash.
Run the instrument on battery with every USB cable unplugged, including the charger. The radio link then has no conductive path to the computer. The probe ground can sit at the potential of the circuit under test without forming a ground loop through the PC. The input voltage ratings still apply.
Warning
This hardware modification is optional.
Do not use the Wireless Module if you think its 2.4 GHz Wi-Fi or Bluetooth LE transmissions could interfere with your measurements.
The ESP32-C3 SuperMini adds Wi-Fi, Bluetooth LE SCPI, a browser file manager and clock synchronization to the ZT703S and ZT706S. Both models use the same ESP32-C3 image. Hardware tests used the ZT703S. Support for the ZT706S was verified by building its firmware.
When the instrument runs on battery power with its USB cable unplugged, Wi-Fi or Bluetooth LE eliminates the ground connection to the PC through the instrument's non-isolated USB port. This removes the USB ground-loop path and lets you move the instrument around your work area while staying connected to the PC.
We chose the ESP32-C3 for its lower cost and standby current compared with the ESP32-S3. Espressif specifies a typical deep-sleep current of 5 µA for the ESP32-C3 and 7–8 µA for the ESP32-S3 with RTC memory retained, depending on whether its RTC peripherals stay powered. These figures describe the chips. Components such as the SuperMini's power LED can add to the current drawn from the instrument. ESP32-C3 datasheet · ESP32-S3 datasheet
While the instrument is on, turning Power off in Wireless Module or reaching the idle timeout puts the add-on into deep sleep. Switching off the instrument cuts power to its VDD pad. The ESP32-C3 then draws no current from the battery.
- A ZT703S or ZT706S and an ESP32-C3 SuperMini with at least 4 MB of flash.
- A USB data cable for the SuperMini.
- An OpenOSC release that includes
esp32c3-addon-vX.Y.Z.bin. Install your model's.OSCfrom the same release using OpenOSC Recovery.
-
Download
esp32c3-addon-vX.Y.Z.binfrom the release. It contains the ESP bootloader, partition table, application and Recovery. Use this file for the first USB installation. -
Before wiring the SuperMini to the instrument, connect the module to the computer by USB. Hold BOOT (GPIO9), press and release RESET, then release BOOT. Find the board's serial port, such as
/dev/ttyACM0on Linux orCOM3on Windows. -
With Python 3.10 or newer, run the commands for your OS from the folder containing the downloaded image. Replace the example serial port and
esp32c3-addon-vX.Y.Z.binwith your SuperMini's port and the release file name.write-flashwrites the complete USB image at address0x0.Linux
python3 -m venv .venv .venv/bin/python -m pip install "esptool>=5,<6" .venv/bin/python -m esptool --chip esp32c3 --port /dev/ttyACM0 --before no-reset write-flash 0x0 "esp32c3-addon-vX.Y.Z.bin"
Windows (PowerShell)
py -3 -m venv .venv .\.venv\Scripts\python.exe -m pip install "esptool>=5,<6" .\.venv\Scripts\python.exe -m esptool --chip esp32c3 --port COM3 --before no-reset write-flash 0x0 "esp32c3-addon-vX.Y.Z.bin"
-
After esptool finishes verification, release BOOT if held and briefly press RESET. The module can go to sleep and disappear from USB until the instrument wakes it.
Espressif ESP32-C3 boot-mode guide · esptool command reference
Disconnect power before wiring. The instrument powers the SuperMini from its VDD pad at about 3.0 V. Connect it directly to the SuperMini pad marked 3.3 or 3V3 and use a common ground. The ESP32-C3 supply range is 3.0–3.6 V. Espressif hardware design guidelines
| ESP32-C3 SuperMini | ZT703S / ZT706S pad | Purpose |
|---|---|---|
| 3V3 (marked 3.3) | VDD (about 3.0 V) | Add-on power |
| GPIO4 | SWCLK / TCK (PA14) | Instrument TX and module wake |
| GPIO3 | SWDIO / TMS (PA13) | Module TX |
| GND | GND | Signal ground |
Keep any external SWD programmer disconnected while using the module. The photo shows a ZT703S installation. Use the signal names in the table to find the pads on your board. STM32H7B0 datasheet
- Hold MENU, open Wireless Module, then select Power to wake the add-on.
- Select Wi-Fi mode → Access point. Connect to the
OpenOSC-xxxxxxnetwork shown by the instrument. Its suffix comes from the board's Wi-Fi MAC address. The default AP password is12345678. Open 192.168.4.1 if the captive portal does not open. - To join an existing 2.4 GHz Wi-Fi network, use Find Wi-Fi networks on the instrument or Join a network in the web admin. Select Station to reconnect to the saved network. Open the station IP shown on the instrument.
Wi-Fi TX power sets the radio's output limit. Sleep when idle defaults to 15 minutes. Turn Power off in the menu when you are finished. For FAT file timestamps, set the module clock from the web admin or via network time, then select Sync time on the instrument.
The web admin opens without a separate login. Wi-Fi configures AP and Station modes, the AP password and transmit power. Services controls SCPI, idle sleep and browser time synchronization.
Files browses the instrument's SPI flash under /openosc. Select a folder in the Folders tree to see its contents. You can download, upload, rename and delete files, and create or remove folders. If the scope is continuously rolling or waiting for a trigger, put it in HOLD before transferring files or sending wireless commands.
| Transport | How to connect |
|---|---|
| Raw TCP | Enable Wi-Fi SCPI and connect to TCP port 5025 on the displayed IP. A VISA socket resource is TCPIP0::<address>::5025::SOCKET. |
| WebSocket | Enable Wi-Fi SCPI and connect to ws://192.168.4.1:5026/scpi in AP mode. In Station mode, use ws://openosc.local:5026/scpi or the station IP. Commands end in a newline and replies arrive as a binary SCPI byte stream. |
| Bluetooth LE | Enable Bluetooth LE, pair using the BLE PIN shown on the instrument and connect to the Nordic UART Service. |
The three transports share one wireless SCPI session and use the same command parser as USB. An open USB serial session takes priority, so close it before connecting wirelessly. Wireless transfers are slower than USB, which matters most for large waveform reads. Ordinary wireless functions work with STM32 readout protection enabled (RDP1). Wireless SWD is intended for RDP0 development units.
The link between the instrument and the module starts at 500 kbaud after each wake. From 0.22.7, both sides negotiate up to 4 Mbaud and step down when replies are missed. Update the instrument firmware and the module app together to use the faster link. In the 0.22.10 pre-release, a single-channel live preview of up to 320 min/max pairs can fit in one link transfer at 4 Mbaud.
From 0.22.8, the module app includes OpenOSC Panel by Fyfar. Enable Wi-Fi SCPI and open OpenOSC Panel in the web admin. It runs from the module in Access point and Station modes, so it needs no internet access.
For Bluetooth LE, enable Bluetooth LE, open the panel and select Download for Bluetooth. Open the saved HTML file in a browser with Web Bluetooth support and pair with the BLE PIN shown on the instrument. The downloaded panel can connect over Bluetooth with Wi-Fi off. Wi-Fi and Bluetooth share one wireless SCPI session, so use one transport at a time. If the instrument loses the link after a module update, select Power in Wireless Module to reconnect.
Open ESP32-C3 Update in the web admin and choose the file for the action you want. Use OpenOSC Recovery on the instrument to update the instrument firmware.
| File | Action |
|---|---|
esp32c3-addon-app-vX.Y.Z.bin |
Update module app |
esp32c3-addon-recovery-vX.Y.Z.bin |
Update Recovery |
esp32c3-addon-vX.Y.Z.bin |
Full USB installation with esptool at 0x0
|
Keep the tab open during an application update. The module restarts in ESP Recovery and the browser resumes the upload on the same Wi-Fi network. If the instrument shows Companion link timed out after the web admin returns, select Power in Wireless Module to reconnect. If the ESP application cannot start, hold GPIO7 to GND while resetting the SuperMini to enter its Recovery.
On my ZT703S, I found no noticeable difference in signal quality with the Wireless Module off, connected to Wi-Fi at idle, or exchanging traffic. Both probes were connected to the built-in generator's 1 kHz square-wave output. I compared captures at 6.25 and 100 MS/s with Wi-Fi transmit power set to 11 dBm. The USB cable stayed connected to read the raw samples.
OpenOSC is licensed under the GPL-3.0. Found a mistake on this page? Tell us in Discussions.
Getting started
Instruments
Device
- Menu Map
- Settings Menu
- Calibration
- Screenshots and Captures
- Files on the Device
- Performance Profiles
Hardware Mods
PC connection
Help
Contributors