atc1441 / CH559sdccUSBHost

USB host to Arduino Interface with the Cheap CH559 uC
GNU General Public License v3.0
222 stars 53 forks source link

Support USB-to-serial adapters #9

Open probonopd opened 3 years ago

probonopd commented 3 years ago

Would it be possible to add support for USB-to-serial adapters such as CDC, FTDI FT232xx, CH340, SiLabs CP210x, etc.?

This would be very useful e.g., to connect USB printers via USB to the ESP8266.

Example: https://github.com/probonopd/WirelessPrinting/issues/157#issuecomment-703004262

atc1441 commented 3 years ago

Yes that can be added. There is even an example from WCH that does exactly that.

probonopd commented 3 years ago

That would be huge. cc @TheAssassin

probonopd commented 3 years ago

@atc1441 any chance you might get around to implementing this at some time?

atc1441 commented 3 years ago

Will most likely not add something in the near future, with the new ESP32 ( and even software usb host for the current esp32) and other devices that support usb host this chip is kinda obsolete. Also because it is not as cheap as the CH552

MirkoUgoliniDev commented 3 years ago

Hi, could you point the example in

Yes that can be added. There is even an example from WCH that does exactly that.

could you point the right code sample or attach it here?

Regards

Mirko

atc1441 commented 3 years ago

Here it should be http://www.wch.cn/products/CH559.html

MirkoUgoliniDev commented 3 years ago

Aaron,

I'm sorry, but I couldn't find the code example. Could you please tell me which is the correct one?

A repository I found: https://bitbucket.org/e_dragon/wch_ch55x/src/master/SDK/Official%20Examples/