ESP32-Based Dual Joystick Controller with Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an ESP32 microcontroller connected to two analog joysticks. The joysticks provide analog input to the ESP32, which can be used for various applications such as controlling a robot or navigating a menu. The ESP32 reads the horizontal and vertical positions of the joysticks and can also detect button presses.
Component List
ESP32-WROOM-32UE
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: 3v3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, GND, 13, D2, D3, 5V, 23, 22, TX, RX, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15, D1, D0, CKL
Analog Joystick (Wokwi Compatible)
- Description: An analog joystick with vertical and horizontal axes and a select button.
- Pins: VCC, VERT, HORZ, SEL, GND
Analog Joystick (Wokwi Compatible)
- Description: An analog joystick with vertical and horizontal axes and a select button.
- Pins: VCC, VERT, HORZ, SEL, GND
Wiring Details
ESP32-WROOM-32UE
- VN is connected to HORZ of the first Analog Joystick.
- 34 is connected to VERT of the first Analog Joystick.
- 35 is connected to HORZ of the second Analog Joystick.
- 32 is connected to VERT of the second Analog Joystick.
- GND is connected to GND of both Analog Joysticks.
- 5V is connected to SEL of both Analog Joysticks.
- 17 is connected to VCC of the first Analog Joystick.
- 16 is connected to VCC of the second Analog Joystick.
Analog Joystick (Wokwi Compatible) - First Joystick
- HORZ is connected to VN of the ESP32.
- VERT is connected to 34 of the ESP32.
- GND is connected to GND of the ESP32.
- SEL is connected to 5V of the ESP32.
- VCC is connected to 17 of the ESP32.
Analog Joystick (Wokwi Compatible) - Second Joystick
- HORZ is connected to 35 of the ESP32.
- VERT is connected to 32 of the ESP32.
- GND is connected to GND of the ESP32.
- SEL is connected to 5V of the ESP32.
- VCC is connected to 16 of the ESP32.
Code
No code is provided for this circuit.
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code section. The ESP32 microcontroller is interfaced with two analog joysticks, allowing for analog input readings.