Giter Club home page Giter Club logo

esp32-s3_touch_usb_joystick's Introduction

ESP32-S3 Capacitive Touch USB Joystick

ESP32 S3 Box Touch Joystick

The USB joystick can be used with the Xbox Adaptive Controller (XAC) as well as Windows, MacOS, Linux, and other devices that accept USB HID joysticks.

The LCD display is not used and the backlight is turned off to reduce power consumption. The XAC provides at most 100 mA on its USB host ports unless it is plugged into a 5V 2A power supply. Turning the backlight off ensures the ESP32 box draws less than 100 mA.

Tested using Arduino IDE 1.8.19 and Espressif ESP32-BOX-S3-3 and the original Espressif ESP32-BOX-S3

The original ESP32 S3 Box has been discontinued.

There is a similar project for the M5Stack Dial (also known as M5Dial) at https://github.com/esp32beans/M5Stack_Touch_USB_Joystick.

Dependencies

The install the following libraries using the Arduino IDE Library manager.

  • "ESP32_IO_Expander" by espressif

Install the following library by downloading a .ZIP file then install it using the Arduino IDE "Add .ZIP Library" option. This is the same as the "ESP32_Display_Panel" library by espressif but patched to default the backlight off. If the original "ESP32 Display Panel" library is used, the backlight defaults on so the ESP32 S3 Box will not work on the XAC because the backlight draws too much current.

Note the ESP_Display_Panel library must be configured to match the ESP32-S3 Box (original or -3). See https://github.com/esp-arduino-libs/ESP32_Display_Panel#for-supported-board for instructions.

The USB joystick library is from https://github.com/esp32beans/ESP32_flight_stick. Download the library as a ZIP file then install it using the Arduino IDE "Add .ZIP Library" option.

Arduino IDE Build options for ESP32-S3 Box and ESP32-S3 Box 3

Arduino IDE 1.8.19 build options

esp32-s3_touch_usb_joystick's People

Contributors

esp32beans avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.