WjrlV

Walnut shake table ornaments

 
Overview

I drew this board in the 48th week of 2021. At that time, Hutao Yao was very popular. I made such a thing as soon as I got excited, and then it fell into disuse. I suddenly saw it when I was packing up my things today, so I packed up and uploaded the PCB.
 
The chip selected is STM32F103RET6:
 
        This chip is selected because it is a classic model and can be seen on many electronic wastes. It can be disassembled and is relatively cheap. The 64-pin package is used here because in order to refresh the screen, the screen needs 16 Parallel port driver.
 
        The principle is to store 48 pictures into the W25Q, and then the microcontroller reads them through SPI, and the DMA transfers the data to the screen at high speed. Because of the fast refresh speed and the persistence of human vision, the pictures start to move when you look at them.
        Why 48 pictures, because 48 pictures can just complete a set of actions, and can also be stuffed into the W25Q. Of course, the more pictures, the more delicate they are. I think the detailed effect of 48 pictures is enough, and I am too lazy to get more pictures. .
 
 
 
 
So according to the manual, we need to set all IM0 and IM1 of the screen to 0, and use 16-bit parallel port mode to drive the LCD screen:
 
 
In order to pursue the ultimate refresh speed, we use register operation here instead of using library functions to write LCD IO function:
 
 
In order to pursue a more extreme screen refresh speed, the microcontroller is overclocked here:
12*9, overclocked to 108MHz, and the CPU main frequency should be 72MHz. Because we do not use peripherals such as USB here, it can be overclocked.
 
 
Then after configuring SPI and DMA, you can turn on DMA:
 
 
Back view of the board:
 
 
Front view of the board:
 
 
The actual effect is like this:
The firmware is in the attachment
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 09:13:33

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号