Building a Game Joystick with ESP32 Chip

Every weekend, Lao Jin plays single-player games with his two kids. One day, a thought crossed his mind to use a chip to create a simulated joystick with his daughter.

He first gave his daughter a brief introduction to the names of the components: ESP32 chip, dual-axis XY sensor module, button module, breadboard.

Building a Game Joystick with ESP32 Chip

Popularizing the pin configuration of the ESP32 needed for this project.

Building a Game Joystick with ESP32 Chip

Building a Game Joystick with ESP32 Chip

Building a Game Joystick with ESP32 Chip

Connecting the XY dual-axis sensor module to the ESP32 for power supply.

Building a Game Joystick with ESP32 Chip

After initializing serial communication, use print to send numbers to the computer.

Effect of opening the serial port. (The dual-axis sensor contains two potentiometers that detect movement along the X and Y axes.)

Building a Game Joystick with ESP32 Chip

With the groundwork laid, the wiring of the three modules begins. Despite the tedious circuit assembly, his daughter managed to stay patient and listen attentively. The wiring process was filled with mistakes, but that’s okay. Learning is all about trial and error.

Building a Game Joystick with ESP32 Chip

Building a Game Joystick with ESP32 Chip

Building a Game Joystick with ESP32 Chip

A quick look at the progress.

Leave a Comment

×