Close
0%
0%

ESP32 usb software host

Sofware usb host for connecting mouse , keyboard and joystick to ESP32

Public Chat
Similar projects worth following
ESP32 software USB host through general IO pins. We can connect up to 4 USB-LS HID (keyboard mouse joystick) devices simultaneously.

Pure software implementation of USB LS HOST stack for ESP32 chip. Now we can connect usb keyboard,mouse and joystick direct to ESP32 board

https://github.com/sdima1357/esp32_usb_soft_host

esp32 USB-LS pure software host thru general IO pins. Up to 4 HID devices simultaneously.

board ~$3 :https://www.aliexpress.com/premium/LOLIN32.html or any of https://www.aliexpress.com/premium/ESP32.html

usb connectors(for example): https://www.aliexpress.com/item/1005002027124387.html

//set right esp32 env for me it:

export IDF_PATH=$HOME/esp/esp-idf

source $HOME/esp/esp-idf/export.sh

//connect the board, build & flash

git clone https://github.com/sdima1357/esp32_usb_soft_host

cd esp32_usb_soft_host/usb_test/

make flash monitor

IMG_20210403_234328.jpg

zx spectrum wit 2 keyboards

JPEG Image - 394.55 kB - 04/03/2021 at 21:27

Preview

  • 1 × any esp32 board
  • 4 × usb type A female socket Connectors and Accessories / Telecom and Datacom (Modular) Connectors

View all 4 project logs

Enjoy this project?

Share

Discussions

waseemabas375 wrote 08/05/2024 at 12:38 point

ESP32 software USB host can be connected to a mouse, keyboard, and joystick using common IO pins. Up to four USB-LS HID (keyboard mouse joystick) devices can be connected at once. USB LS HOST stack implementation for ESP32 chip done entirely through software. We can now directly connect the USB joystick, keyboard, and mouse to the ESP32 board.

  Are you sure? yes | no

waseemabas375 wrote 07/27/2024 at 06:56 point

It's very amazing that I recently experimented with using the ESP32 as a USB software host! The ESP32 is versatile for a range of projects since it can communicate with USB devices with the correct libraries and firmware. This feature makes it possible to integrate with peripherals or create unique USB interfaces. In order to set up the ESP32 for USB connection, libraries such as USB Host Shield or a comparable one must be used. It's a fantastic method to increase the ESP32's capability and make the most of its power. If you enjoy working on hardware projects, you should look into this.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates