Hello,
I try to make ES8266 communicate with PC via USB, with textual command lines (max 20 characters)
I use Arduino IDE on ESP.
I tried with VBA and with Visual Studio (VS).
ESP8266 used CP1202 and ESP-01 used CH340 interface. Same for both cases.
I use Rx and Tx for communication and it is not possible to use the serial.monitor as debug.
If I activate PORTX with IDE Arduino I can write and read on the USB port, both with VBA and VS,
but if I disconnect USB and ESP and then reconnect it,
the connection with USB is restored and the peripheral recognized by the PC,
the device is recognized by VBA and VS,
but the characters I convey are unrecognizable.
I cannot use serial.monitor for debugging and I have written results of the reading from PC to ESP on the EEPROM for to read it on the next boot.
I believe that the problem is due to the lack of the driver disactivated on the USB port on the PC, which IDE Arduino launches regularly,
I don't know what files they are and where I can find them. I would like to call them with shell command from VBA / VS. I close if anyone can help me.
Thanks for your attention.
Mauro
ESP8266 and serial USB communications by PC
-
- Posts: 1
- Joined: Sat Jan 23, 2021 10:55 pm
Who is online
Users browsing this forum: No registered users and 9 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.