Skip to content

Cemu0/ESP32_USBHOST_TO_BLE_KEYBOARD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 USBHOST TO BLE KEYBOARD

DIY your ESP32 BLE KEYBOARD with USB HOST SHIELD:
alt text

Ferture:

  • Pair with as many Device as u want ... just look the code (but it cost 4-5 seconds to switch (unable to connect ESP32 with multy device))
  • High power consumption (>90mah+your keyboard)

Todo:

  • forget ESP32 for ble keyboard and use a nRFxxx instead !!! due to high power consumption problem (maybe solve in the future)

How to:

  • I use platformio so just download and open by visual code with platformio extension installed (if not visual code usually ask u to install it).
  • not a schematic:
    USB Host Mini v2 to ESP32
    GPIO5 : SS
    GPIO16 : RESET
    GPIO17 : INT
    GPIO18 : SCK
    GPIO19 : MISO
    GPIO23 : MOSI

note: from https://create.arduino.cc/projecthub/139994/plug-any-usb-device-on-an-esp8266-e0ca8a u have to cut the track inorder to use 5v USB devices

  • Other pin is not important:
    GPIO2: Statusled
    GPIO0: connect it with some key on your keyboard so you can update ESP32 & wake it up from deep-sleep mode GPIO34: Baterry vol (with 30k & 100k resistor more info here)
  • u should add a swith or PNP transistor for turn Keyboard off (it cost >100 mah LOL)

Thanks to:

About

DIY your ESP32 BLE KEYBOARD with USB HOST SHIELD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages