Cheap USB Host Microcontroller [CH559, ESP32, HID] @bitluni
Cheap USB Host Microcontroller [CH559, ESP32, HID]  @bitluni
Uploaded January 2020 | Updated September 2026, 1 week ago
This video shows an affordable way to add USB support to maker projects.
$2 for 10 PCBs (Any Color): jlcpcb.com (sponsor)

The CH559 is a 8051 architecture based microcontroller that has built in dual USB Hosts. This allows to interface generic Keyboards, Mice, MIDI devices and in my case gamepads. I added this chip as an add on to my ESP32 based game console to replace the SNES controllers by cheap generic ones. The communications is handled over UART which can be done by both ends in hardware. There still is some work to do but you can try it out already. Have fun!

CH559 firmware sources & compiler:
github.com/atc1441/CH559sdccUSBHost
Aarons video:
youtu.be/Th88RiSmj2w
Links to my game using the USB:
github.com/bitluni/GameWing2USB
CH559:
link.bitluni.net/ch559

Links to the parts (affiliate links):
USB SNES Gamepad ($2.70 shipped):
USB Fake PS3 Controller ($3.30 shipped):
aliexpress.bitluni.net/usbPs3
aliexpress.bitluni.net/usbSnes
Set of Tweezers ($3):
aliexpress.bitluni.net/tweezers
Flux ($3 for two):
aliexpress.bitluni.net/flux
Ultrasonic Cleaner(~$50):
aliexpress.bitluni.net/cleaner
Soldering Mat ($9):
aliexpress.bitluni.net/mat

My camera and lens (4k 60fps):
amazon.bitluni.net/gh5

plz share :-)

Check out my Tindie store to get some of my creations:
tindie.com/stores/bitluni

Consider supporting my lab for some extras and frequent updates:
github.com/sponsors/bitluni
patreon.com/bitluni
paypal.me/bitluni

Twitter: @bitluni
reddit: u/bitluni

#electronics #diy #maker
Cheap USB Host Microcontroller [CH559, ESP32, HID]PCB Design - Getting Started & Design RulesESP32 VGA Beginner Tutorial [Arduino Library ESP32Lib]Home made GPU escalated quicklybitluni Q&A & ESP32 game dev streamArduino audio sampling tutorial (part 1)Esp32-C3 pre-production RISC-V #ShortsHow to Make a Simple Mini Game [WeMos, ESP8266, Arduino]Solar optimizers with some neat features #Huawei FusionSolarMaker Cast S01E07ESP32 with Camera and TFT Display (OV7670, FIFO)The Cheapest and Worst DIY 3D-Scanner in the World [ESP8266, ToF, WiFi, WebGL]
bitluni |

Cheap USB Host Microcontroller [CH559, ESP32, HID]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER