Wireless ESP32
Connects DUELink Modules Wirelessly
- Overview
- Commands
- Samples
- On-Module Code
A Wi-Fi + Bluetooth wireless module built around an ESP32. Two ways to use it:
- As a wireless host — program and command DUELink modules over BLE or Wi-Fi from a phone, laptop, or remote PC.
- As wireless access inside a Daisylink — drop it into a chain to give your existing wired host a wireless reach to remote modules.
Either way, your host keeps sending simple text commands over any supported interface — the wireless link is transparent. See the Wireless interface page for the full picture.
Common uses: untethered prototypes, mobile-app control of physical projects, classroom labs where the host PC isn't next to the hardware, and IoT projects that need to bridge the JST world to the network.
Key features • Bluetooth or WiFi Connectivity | Resources 📄 Schematics PID: 0x090007 |
Modules ship without cables to reduce waste. Some specialty boards include a USB cable; for the rest, see Cables to add cables to your order.
Commands this module accepts. See Samples for runnable code in popular host languages.
| Function | Description |
|---|---|
DVer() | Returns the driver version. |
Init() | Initializes and resets the ESP32. |
ATCmd([cmd]) | Sends the AT command cmd to the ESP. |
ATWaitResp(t) | Parses the AT command response with a timeout of t milliseconds. Returns 1: OK, 0: Error (or no response - timeout). The response is stored in b0. |
ReadLine(g,t) | Reads a line from g: direction — 1: from ESP, 0: from Downlink (used only in bridge projects). t: timeout. The response is stored in b0. |
EnterLder() | Enters ESP loader mode. |
WlWrite(d) | Writes data d to the ESP32. |
WlRead() | Returns data from the FIFO buffer. Returns -1 if no data is available. |
WlReadCnt() | Returns the number of bytes available in the FIFO buffer. |
StartWiFi(b1, b2, b3, a, b, t) | Starts WiFi with b1: SSID, b2: password, b3: mDNS (Multicast Domain Name System) host name, a: 0/1 enable/disable AT mode, b: 0/1 enable/disable bridge, t: timeout in milliseconds. |
StartBT(b1,a, b) | Starts Bluetooth with b1: Bluetooth name, a: 0/1 enable/disable AT mode, b: 0/1 enable/disable bridge. |
Peek under the hood
The script below is this module's driver — it teaches the hardware how to respond to the commands listed above. It ships pre-loaded from the factory; most users never need to open it.
loading...
Example code that calls this module's commands from popular host languages.
New here? See Get Started to connect a module and send your first command.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample runs in MicroBlocks on a any host board that's connected/tethered to this module, or a chain of modules. This module keeps its official DUELink firmware and module driver and responds to commands from the connected MicroBlocks-running host. New here? See the MicroBlocks page.
There are two ways to use it:
Open the full sample — the complete project (the module's library plus a ready-to-run example) opens directly on the MicroBlocks website.
Add just the libraries to your own project — copy the link, then in your MicroBlocks project click Add Library → Cloud and paste it. This loads this module's libraries into your project without replacing your current work.
Copy Library LinkCode that runs directly on this module's MCU. See how On-Module Code allows modules to run standalone.
- Script
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the module's driver to be loaded first, see the Commands Tab.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Wireless ESP32 | GDL-WLESP32-A | $19.95 |