基于单片机的自行车风火轮设计及其制作
基于单片机的自行车风火轮设计与制作摘要本课题研究的对象是用单片机控制安装在自行车车轮辐条上的led动态显示,使其能呈现出各种有趣的风火轮发光图像。这会让我们的自行车在夜晚更加炫目有个性,而且提高夜晚骑
基于单片机的自行车风火轮设计与制作 摘要 本课题研究的对象是用单片机控制安装在自行车车轮辐条上的led动态显示,使其能呈 现出各种有趣的风火轮发光图像。这会让我们的自行车在夜晚更加炫目有个性,而且提高夜 晚骑车的安全性。电路系统以avr单片机为核心,霍尔开关产生的电平为信号源,测算出车 轮转动一圈所需时间,从而分时段控制led的发亮。本文首先介绍本系统所需要的两个芯片 atmega8和74hc595,阐述了其的功能结构及其应用。然后介绍本设计的总体方案并附上基 本原理图,并且对单片机和接口设计和各自工作原理进行详细说明。最后谈到该系统的软件 设计并附上程序。 关键词:风火轮,霍尔开关,74HC595,单片机 Design of Hot Wheels based on Avr MCU Abstract The object of this research is SCM so that it led to adynamic display showing avariety of common images, its application will enable us to more of a bike at night there are dazzling personality, but also to improve the safety of night riding. The system is single-chip microcomputer as the core avr Hall switch for the signal source of the response, measured around the time required for the rotation of the wheels, which led at times to control the display. This paper first introduces the system required two chips atmega8 and 74hc595, described the function of its structure and its application. And then introduce the design of the overall program with the basic principles of map, and single-chip microcomputer and interface design and principle of their work in detail. Finally, on the system with the software design process. Keyword: feng huo lun ,Hall switch ,74hc595 ,scm

