# CH559sdccUSBHost **Repository Path**: Kono2019/CH559sdccUSBHost ## Basic Information - **Project Name**: CH559sdccUSBHost - **Description**: https://github.com/atc1441/CH559sdccUSBHost Arduino上的USB鼠标和键盘,CH559廉价的USB主机芯片 - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-10-30 - **Last Updated**: 2025-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Arduino ## README # 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. 将WCH的CH559芯片作为USB主机,您可以连接鼠标或键盘到它,它将通过串行端口1输出一个简单的协议。 you can edit the files and compile it via the compile.bat on windows, sdcc is included, so no extra tools needed. 您可以编辑和通过编译文件和编译它。bat在窗口上,sdcc是包括在内的,所以不需要额外的工具。 This repo is made together with this explanation video:(click on it) [bilibili搬运视频](https://www.bilibili.com/video/BV1Yv4y1o7nA/?vd_source=b1b652fbdb398625c6d1bf45fa26f662) [![YoutubeVideo](https://img.youtube.com/vi/Th88RiSmj2w/0.jpg)](https://www.youtube.com/watch?v=Th88RiSmj2w) 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. chflasher.exe可以用来上传一个bin固件到ch55x芯片,它将在编译后直接上传,不再需要WCH工具。 请安装libusb-win32驱动程序与zadig工具( https://zadig.akeo.ie/ )来启用访问usb的工具。 Including Arduino Example code to either output the data to serial or onto an st7789 display. 包括Arduino示例代码输出数据串行或到st7789显示器。