sHWYX9

[Lichuang Development Board] Liangshan School Game Console

 
Overview

Game console introduction:
Make a multimedia game console based on the Liangshan School development board. Functions include: NES game console, listening to music, electronic photo album, radio, flashlight, watching movies, and electronic calendar.
1. Hardware design
. Most of the IOs refer to the official game expansion board circuit IO ports, so that you can quickly verify whether the circuit is working properly through routine programs.
(1) Power management circuit
! [Power management circuit.png] Press the SW9 button, pin 3 of the SPX3819 chip is enabled, the 3.3V output supplies power to the Liangshan School, the program starts, the KEY_PWOER IO port detects that the input is high voltage, and sets the power_IO port 1. Keep pin 3 of the chip enabled. The game console starts. Q3 selects the circuit for battery and USB power supply. Q4 is a switching circuit. When the power is turned off, the battery will not consume power through the resistor.
![Charging circuit.png] Lithium battery charging circuit, when powered by USB, can charge the lithium battery.
(2) Display circuit
! [Display circuit.png] The display uses a 2.4-inch IPS 320X240 screen. It also incorporates a screen, which is a backup solution. It is an official 1.69-inch screen with a 240*280 IPS screen. The 2.4-inch screen cannot be driven, so you can use the 1.69-inch screen directly.
(3) Vibration motor circuit
! [Vibration motor circuit.png] Use the PWM function of the IO port to control the vibration intensity of the vibration motor and increase the experience of the game console.
(4) 2P mobile phone connection circuit (wifi connection)
! [wifi circuit diagram.png] Add a WIFI 2P handle connection function to Liangshan. Data is exchanged through the serial port communication of Liangshan School. The chip uses ESP8285. It can also expand many functions.
(5) Sound circuit
! [Audio circuit.png] Complete the audio output of the game console through the DAC function of the Liangshan School IO port.
(6) EEPROM read and write circuit
! [EEPROM.png] Store basic parameters through EEPROM
(7) Buttons and joysticks
! [Joystick and key circuit.png] Added on the official basis, the cross direction key
(8) 3D printing
! [3D printing.jpg] The 3D printing is designed through Lichuang EDA, including buttons and cross-keys, which is very fast.
The fourth version of the game console (the 3D print has been updated four times)
! [Main image.jpg] 2. Software design
(1) Menu design
! [GUI menu.jpg] Game console menu, select each application through the red box, ready Developed using LVGL, but was not successfully transplanted. The menu uses a combination of pictures and Chinese characters. Xiangjian program.
(2) Snake game
written through video tutorials
(3) NES game
! [NES game 1.jpg] Open the NES game through the official routine. NES transplantation study
3. Summary:
Use the Liangshan School development board to design a game console and understand the function of each pin and its application in the circuit. I did not pay attention when designing the cross button. The pins are used on the pins of the SD card. There are upper The resistor is unusable and has been corrected in the circuit. The power supply circuit is connected to the 5V power supply of the development board, but the boot function cannot be realized. However, the power supply circuit can be connected to 3.3V, and the circuit has been corrected. For the 3D print, the screen window was too big, so I had to make three revisions before correcting it. The 3D print has been corrected. In the process of making my own game console, I learned the PWM, DAC, ADC, GPIO input and output of the development board, and the driver writing for the IPS screen. The functions of the Liangshan School development board are still very powerful. If you have time, improve the various functions of the multimedia game console, and do not let the Liangshan School eat ashes and squeeze out all the functions of the Liangshan School.
Circuit board picture display
![Game picture 2.jpg] ![Game picture 3.jpg] P2 wifi controller
![Game controller.jpg] ** Version description: (continuously updated)**
** V1.0 preliminary design UI You can enter the game of Snake. **
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 18:39:11

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号