Beaglebone Black, esp8266, serial communication virtual comport

Hi,
I would like to connect an esp8266 (WEMOS D1 mini) with an usb cable to BBB (onboard USB A).
I want to use a virtual comport (CH340) to send and receive data (text strings).
(python3)
Any ideas if it is possible?
Thank you in advance!
BR Peter

CH340 will work fine, you might have to load the driver (it is in mainline). You will also need to remove the braille keyboard driver because that is breaking CH340.

I don’t have a clue what the esp8266 board is or does, if it talks on uart / usb it will work fine with python3. Post what that boards does and if you know the api or comm protocol it uses.

yes it works,
Project: sprinkler_control_6x
Version: 2025032301

Connecting to rpitoy24

WiFi connected
IP address:
192.168.3.35
Attempting MQTT connection…connected
clientId: ESP8266Client-7be

BBB image
BeagleBoard.org Debian Bookworm IoT Image 2023-10-07

ssh debian@192.168.7.2
install “screen”
plug esp8266 into the BBB USB-A connector
/dev/ttyUSB0 should be there
sudo screen /dev/ttyUSB0 115200

press esp8266 reset button, watch it boot on ssh terminal that is running “screen”

Questions: