基于STM32的自行车POV LED显示控制与设计 摘要:基于STM32微处理器的开发平台,实现了自行车POV LED的设计。借助微处理器128K的flash,存储屏幕旋转时的图片数据;通过高灰度LED的驱动芯片LPD1109,带动96个RGB LED灯高亮显示;应用3144E霍尔传感器的电磁效应,产生中断信号用以切换图片;利用人眼的视觉暂留效应,实现自行车行驶过程中画面高速旋转的视觉效果。 关键词:POV LED;STM32;显示控制;RGB LED 中图分类号: TM 文献标识码: A Display Control and Design the POV LED of Bicycle Based on STM32 ZHOU Fu-qin ,ZHANG Jing-jing, ZHANG Xian-lei (College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China) Abstract:Based on development platform of STM32,the design of the bicycle POV LED is realized. With its 128K flash, the data of rotation picture can be stored; through the driving chip LPD1109, 96 RGB LED can be droved and displayed brightly; with implicating electromagnetic effects of 3144E, we can generate an interrupt signal for switching pictures; using visual persistence effect of people, the bicycle can be seen the beautiful rotation picture in the running process of high-speed. Key words:POV LED;STM32;screen controller;RGB LED 系统设计方案 设计基于32位微处理器STM32F103RBT6的最小系统[1,2],实现了POV LED的图像数据存储、画面切换、LED分时控制、画面高亮显示等功能,设计框架如图1所示: RGB LED驱动 32 位 微 处 理 器 晶振 复位 电源 画面切换 JTAG LED分时控制 画面高亮显示 图1 系统设计框架 系统设计的原理及模块划分 根据系统的设计方案,POV LED系统的模块可分为:STM32F103RBT6的最小系统,画面切换模块,RGB LED的分时控制模块,POV LED的级联驱动、显示模块四个部分。 STM32F103RBT6的最小系统 STM32系列32位闪存微控制器基于突破性的ARM Cortex™-M3