Ep.7 Creating a USB to Bluetooth Keyboard Dongle.

Опубликовано: 29 Май 2026
на канале: Tech-Relief
4,689
64

Ep.7 Creating a USB to Bluetooth Keyboard Dongle.

In previous episodes we saw how to make the ESP32 boards act as a Keyboard via USB or Bluetooth and how to make the ESP32-S3 controller act as a USB Host to accept keyboard input. In this video we put this knowledge together and create a Bluetooth Keyboard Dongle, in other words we take keyboard input via the USB Host port and transmit it as a Bluetooth keyboard.
We also show how to intercept a keystroke like the Insert key and output several keystrokes to create a simple insert/over-type mode.

Devices tested:
Espressif ESP32-S3-USB-OTG
Seeed Studio Xiao ESP32-S3

The code used for this video can be found on the Github Code Repository: https://github.com/TechRelief

This is part of the ESP32 Adventures series.

Previous Episodes to date:
Ep.1 - Intro & Getting Started:    • ESP32 Adventures Ep.1 Getting Started  
Ep.2 - Getting Started with TFT Displays:    • Episode 2: Getting Started with TFT Displays.  
Ep.3 - Getting the SD Card Interface Working:    • Episode 3: Getting the SD Card Interface W...  
Ep.4 - ESP32 USB HID Device Mode.   • Episode 4: ESP32 USB HID Device Mode.  
Ep.5 - Bluetooth Keyboard HID Device Emulation:    • Episode 5: Bluetooth Keyboard HID Device E...  
Ep.6 - Attaching a Keyboard to an ESP32-S3 Board:    • Ep.6 Attaching a Keyboard to an ESP32-S3 B...  
Ep6B - Further analyzing HID USB Traffic using a logic analyzer:    • Analyzing the HID Keyboard protocol using ...  

If you subscribe and click the notification icon you will be notified when new episodes are published.

Reference Links:
https://www.usb.org/hid
https://en.wikipedia.org/wiki/USB_hum...
https://www.silabs.com/documents/publ...
https://www.totalphase.com/blog/2020/...
https://learn.microsoft.com/en-us/win...
https://www.usb.org/document-library/...
https://www.silabs.com/documents/publ...
https://gist.github.com/manuelbl
https://usb.org/sites/default/files/h...
https://www.usb.org/sites/default/fil...
https://www.usb.org/document-library/...
Ben Eater - "How does a USB Keyboard Work?:    • How does a USB keyboard work?  

Chapters:
0:00 Intro
5:09 ESP32-S3-USB-OTG Code Review
15:15 ESP32-S3-USB-OTG Test Run
24:18 Seeed Studio Xiao ESP32-S3 Information
25:09 Xiao ESP32-S3 Code Review
31:59 Xiao ESP32-S3 Test Run
39:30 What's Next?