The handle made of ESP32 has four buttons on the left and right sides, and two buttons on the front side of the handle with two joysticks.
Optional lithium battery or AA battery power supply.
Optional 1.3-inch, 240*240 resolution, ST7789 driven display module (7-pin SPI communication).
The IIC interface is reserved for plugging in the 8-pin MPU6050 module purchased on TB.
Integrated CH340 automatic download circuit and lithium battery charge and discharge management circuit.
The shells can be purchased at a fish shop for 8 yuan each (the seller does not include free shipping).
Provides the basic Arduino IDE-based driver code for the joystick, including:
a button scanner program that can directly call the driver function to obtain the status of the 10 buttons, and obtain whether the handle button status has changed;
a joystick ADC value acquisition program that can directly call the driver function To obtain the values after four ADC filters,
the power acquisition program can directly call the driver function to obtain the two filtered power values.
The MPU6050 acquisition program (requires the MPU6050 module to be installed) can directly call the driver function to obtain the filtered acceleration angular velocity value and temperature value of the XYZ axis.
The above filtering all adopts IIR filtering method.
You need to install the TFT_eSPI library and MPU6050 library provided in the file yourself.
You can use the ESP32-BLE-Gamepad library in the folder to make a Bluetooth gamepad.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet