tekezo / CH559sdccUSBHost

USB host to Arduino Interface with the Cheap CH559 uC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CH559sdccUSBHost

Code for the CH559 chip from WCH to use as a USB host, you can connect a mouse or keyboard to it and it will output a simple protocol via serial port 1.

you can edit the files and compile it via the compile.bat on windows, sdcc is included, so no extra tools needed.

This repo is made together with this explanation video:(click on it) YoutubeVideo

NEW: the chflasher.exe can be used to upload a bin firmware to ch55x chips, it will be uploaded directly after compile, no WCH tool needed anymore. Please install the libusb-win32 driver with the zadig tool ( https://zadig.akeo.ie/ ) to enable access to usb for the tool.

Including Arduino Example code to either output the data to serial or onto an st7789 display.

About

USB host to Arduino Interface with the Cheap CH559 uC

License:GNU General Public License v3.0


Languages

Language:C 90.6%Language:C++ 4.4%Language:Emacs Lisp 3.4%Language:Assembly 1.2%Language:Batchfile 0.4%