It's been a while since I wanted to work on something with the CH32V003 MCU, and I finally found some time. The CH32V003, being a 10-cent RISC-V MCU, actually has USB HID examples! So, why not create a simple, easy-to-use HID keyboard?
Files
Schematic_PikoKey_2024-10-22.pdf
Adobe Portable Document Format -
228.25 kB -
10/22/2024 at 19:13
The firmware is based on this USB HID examples. I will post the code within a few days, just need to clean it a little bit.
It's nothing super fancy, just code for handling the keyboard matrix. Just don't forget to disable the PD7 NRST functionality using the './minichlink -D' command.
Another interesting thing I encountered is that each USB device should have a unique combination of Vendor ID and Product ID. So, I invested a couple of bucks to buy it for PikoKey from MCS electronics (VID=16D0, PID=13B9).