# 1. Design ideas
## 1. Simple and lightweight1
. ### One-handed control of balancing cars, four-wheelers, etc.2
. ### Five buttons to complete some simple parameter adjustments and mode settings3
. ### TYPE-C port for program download, serial port debugging and battery charging
## 2. Gameplay expansion1
. ### Integrated 1.14-inch IPS color screen (if you really want to make a picture transmission remote control, it is not impossible)
2. ### Integrated gyroscope MPU6050, somatosensory control (simple control can be completed by waving your hand)
3. ### Some advanced gameplay of ESP32 Bluetooth/WIFI (such as holding a one-handed remote control in each hand)
## 3. A little bit of ergonomic design1
. ### A 18650 battery is integrated on the back of the circuit board, which also serves as a palm rest2
. ### Some design sense of the PCB frame3
. ### Layout of the joystick and mute button
# 2. Schematic design
## 1. Power supply part
### 1 TPS7333 linear power
supply1. #### 200mv low voltage difference, can directly reduce the voltage of 3.7V lithium battery to 3.3V to power the microcontroller, etc.2
. #### 500mA output current
![image.png]

### 2 TP4065 lithium battery charging1
. #### Single-cell lithium battery charging chip2
. #### Charge through TYPE-C port3
. #### A charging indicator light, the light goes out when fully charged
![image.png]

## 2. Joystick button part1
. ### 16×16mm joystick with buttons, the unit price is about 2 yuan, it is a carbon film joystick, XY is equivalent to two independent potentiometers, and the microcontroller ADC is used to collect its potential to calculate the joystick position2
. ### 4 6×6×5 mute buttons
![image.png]

## 3. LCD part1
. ### Use Zhongjingyuan Electronics' 1.14-inch IPS display2
. ### The backlight is turned on by default, and the CS pin is pulled
low3. ### Software SPI control
![image.png]

## 4. Microcontroller part1
. ### Use ESP32-WROOM-32E
2. ### Serial port automatic download circuit based on CP21043
. ### Lead out the reset button and BOOT button
![image.png]

![image.png]

## 5. Gyroscope1
. ### Use MPU6050
2. ### Lead out the INT interrupt pin and support DMP reading angle
![image.png]

# III. PCB design1
. ## Two-layer board design2
. ## Pay attention to the integrity of the ground plane and make ground vias3
. ## The density of components is uniform