1. Project Introduction
> A game console based on the Liangshan School, which can transplant and run the Aircraft War game. Following Wu Gong, he wrote a Snake program that can be successfully run. The game can be started and returned to the initial interface by pressing the left and right buttons.
2. Hardware function description
> a. Power circuit
>> Use Lichuang's 5v power supply to power the charging module
![1.png]
> b. Audio output circuit
>> Note that the size of the terminal must match the terminal port of the speaker strap
![2.png]

> c. eeprom
> > AT24C02 chip, using iic communication
! [Picture.png]
> d. Screen circuit
>> Refer to its data sheet, and be careful to read the reviews when buying. Some power supplies are very dim at 3.3V, adjust to 5V power supply
> ![Picture.png] ]
> e. Motor circuit
>> Adjust vibration through PWM
> ![Picture.png]
> f. Button circuit
> I added an LED light myself, but it is recommended to remove it. The added button is not sensitive, maybe the driving voltage is too small
> ![Picture.png]

3. Process and function
Power module error
> The first version should use a long press to charge and supply power, but it is designed as a sliding switch, causing the electric cold smoke
> First version
> ![Picture.png]

> Second version: The power supply of Lichuang has been slightly modified. The components are a bit dense, so it is heated directly on the heating table.
> ![WeChat picture_20230518133100.jpg]

> ![Picture.png]

> The terminals of the power supply are also set a bit wrong. Wrong, it's wrong. I used a 14500 for power supply, but it is more stable to use the typec terminal directly for power supply
> ![Picture.png]
The screen voltage is wrong
> Experience: Remember to read the reviews when buying, the description says the power supply is 3.3V, the result is super dark , there are also many times of desoldering that you need to pay attention to, the pins are easy to break, and pay attention to the isolation of the screen
> ![Picture.png]
Missing components and over-purchased components
> Flying wires solve the problem, but it doesn’t look good, but it still works For use, the pcb and schematic diagram have been modified~~~~
4.
See video 5 for function demonstration. See attachment
for program code.