2xQgL33

【LiChuang Development Board】 Liangshan School Greedy Snake

 
Overview

## Project hardware

![project cover.jpg]
### Screen

1.69 inch LCD display 240x280 st7789 driver serial port ips display
Taobao: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6fb12e8d3YlgTu&id=635773427645&_u=l1rfcsn5308
![image.png]
### Joystick

PSP joystick ultra-thin potentiometer
Taobao: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6fb12e8d3YlgTu&id=642782754225&_u=l1rfcsn15fb
![image.png]
### Joystick cap

psp1000 joystick cap. It is not recommended to buy it because it does not match completely. I fixed it with hot melt glue. Buy
it on Pinduoduo
! [image.png]
### The

A and B keys use the blue axis of the mechanical keyboard, and I am going to
match them with a better-looking keyboard cap. Buy it on Pinduoduo
! [image.png] The left and right keys and the reset key use ordinary light-touch keys, and they are matched with key caps
! [image.png] Taobao: https://detail.tmall.com/item.htm?_u=l1rfcsnaf0b&id=649425394080&spm=a1z09.2.0.0.6fb12e8d3YlgTu

#### The vibration motor

chooses this motor with a large welding area
! [image.png] LiChuang Mall: https://item.szlcsc.com/3130478.html

### The audio

uses 3020 4 ohm speaker
![image.png] Taobao: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6fb12e8d3YlgTu&id=672684930497&_u=l1rfcsn7128

## PCB circuit principle

### The power supply circuit

adopts the 5v charging and discharging integrated module of LiChuang open source, with very high integration. ~~~~
![image.png] ![image.png]
### Screen interface

![image.png]
### Amplifier speaker circuit

![image.png]
### Joystick circuit

![image.png]
## Key learning content

* Transplantation of ips display st7789 driver code
* Working principle and debugging of directional joystick
* Logical thinking of snake game
* Output of audio file

## Content to be improved

* Screen flashing, realization of C language buffer
* Making game menu
* Reading files from SD card
* Using font library
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-20 02:12:01

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号