Read serial data from an external device using USB port

khayamgondal
Posts: 3
Joined: Fri Nov 17, 2023 4:59 pm

Read serial data from an external device using USB port

Postby khayamgondal » Mon Dec 18, 2023 2:16 am

I have a 3D printer that exposes serial via a USB-C port to send & receive data. Can I connect it to an ESP32 and read the printer's messages? The goal is to run a small program on ESP32 that communicates with the printer via serial / USB and publishes it via MTTQ or HTTP.

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: Read serial data from an external device using USB port

Postby tommeyers » Tue Dec 19, 2023 12:53 am

I believe you want the esp32 to be a host. Correct?
IT Professional, Maker
Santiago, Dominican Republic

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Majestic-12 [Bot] and 292 guests