Skip to content

USB host to Arduino Interface with the Cheap CH559 uC

License

Notifications You must be signed in to change notification settings

pastudan/CH559sdccUSBHost

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.4%
  • Emacs Lisp 3.6%
  • Assembly 1.2%
  • Other 0.8%