However, the download page for the drivers is so simple that even non-Chinese speakers will find the right download link. Winchiphead (WCH) maintains its website only in Chinese.
Silicon Labs maintains a page in English that lists downloadable driver binaries that also contains installation instructions.
Note that there is no harm done if you install both drivers even if you currently just use one! If you are not sure which adapter your ESP8266/ESP32 module uses then just install both. There are two commonly used adapters in the wild these days:Įxamples of modules that use the CH340G chip are: This in turn requires your system to detect the USB-to-Serial (aka USB-to-TTL, aka USB-to-UART) adapter on the ESP8266 or ESP32 module. This library is open-source and licensed under the MIT license.A prerequisite to program ESP*-based modules usually is to establish a communications channel from your development platform (PC, Mac, Linux) to the device over USB. So if you have more instances the last created instance will handle the capturing. It provides an easy path to connecting to a remote computer using the TCP/IP protocol, and supports the RFC 2217 Telnet extensions allowing COM port control.
On default, TelnetSpy has the capturing of OS_print calls enabled. Serial Port Redirector is a software application that offers a Windows 10 telnet server alternative.
Usage of void setDebugOutput(bool) to enable / disable of capturing of os_print calls when you have more than one TelnetSpy instance: That TelnetSpy object will handle this functionality where you used setDebugOutput at last. If you have problems with low memory, you may reduce the value of the define TELNETSPY_BUFFER_LEN for a smaller ring buffer on initialisation. But it's possible to use more than one instance of TelnetSpy. It is not possible to establish more than one Telnet connection at the same time. So time critical things may be influenced. But remember: Transfering data also via Telnet will need more performance than the serial port only.
It is also possible to use more than one instance of TelnetSpy.Data sent from Telnet terminal to ESP8266 / ESP32 will be handled as data received by serial port. It's also possible to create a Telnet session only if it is neccessary: then you will get the already collected data as far as it is still stored in the circular buffer.So it's possible to collect data even when the WiFi and Telnet connections are not yet established. There is a circular buffer which allows to store the data while the Telnet connection is not established.Use TelnetSpy instead of Serial to send data to the serial port and a copy to a Telnet connection. However, when I plugged in my ESP8266 D1 mini in the USB port via a micro-B USD jack, nothing appears in the tools > port options. I have an arduino uno and when I plugged this into the USB port of my mac, I could see it in the tools > port. So if you already use ArduinoOTA, this is a helpful extension for wireless development. I know enough programming to be dangerous, but know limited about hardware or electronics.
This module allows you to do "debugging over the air".