felis / USB_Host_Shield_2.0

Revision 2.0 of USB Host Library for Arduino.
https://chome.nerpa.tech
1.79k stars 780 forks source link

Is possible connect a simple serial device, like a 3D printer or an arduino echoing Serial? #819

Open cesaralcaide opened 1 month ago

cesaralcaide commented 1 month ago

I see that it is ready to connect a multitude of devices to the usb-host-shield, but something as simple as an arduino echoing its Serial input?, like any device that, when plugged into the USB connector of a laptop, generates a /dev/ttyUSB0 in Linux, such as a 3D printer, a CNC, etc.

I want to connect a 3D printer, or an arduino with echo of its Serial input, to the female-usb-connector of the usb-host-shield p.e.: Bus 001 Device 015: ID 1a86:7523 QinHeng Electronics CH340 serial converter

Sorry, the problem is CH340, not planned to build library for CH340? Thanks

esp32beans commented 1 month ago

I found this USB serial bridge/MITM works with a mega clone with CH340. TinyUSB is not related to this project.

https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/examples/DualRole/CDC/serial_host_bridge/serial_host_bridge.ino