基于STM32的自行车转向刹车灯本科毕业论文.docVIP

  • 15
  • 0
  • 约2.71万字
  • 约 53页
  • 2019-05-17 发布于河南
  • 举报

基于STM32的自行车转向刹车灯本科毕业论文.doc

PAGE \* MERGEFORMAT PAGE \* MERGEFORMAT V 基于STM32的自行车转向刹车灯 基于STM32的自行车转向刹车灯 摘 要 本课题选用了STM32F103C8T6单片机和ADXL345三轴加速度传感器,来控制全彩灯珠和红外线激光灯,达到指示自行车的刹车或者转向的功能。 本文首先介绍了STM32系列芯片和ADXL345加速度芯片的功能和特点。之后详细介绍了刹车灯系统的硬件和软件设计。难点是硬件设计中的问题与思考,重点软件设计中运用模块化编程的方法组建代码的过程。经过调试运行结果分析,该设计实现了刹车时全彩灯珠自动亮起,转向前主动触发,使红外线激光灯产生显著的转向信号的功能,满足了设计的要求。论文最后总结了设计中出现的问题以及解决方法。 关键字:STM32,ADXL345,自行车刹车灯,转向灯 The Bicycle Break Light and Steering Lamp Based on STM32 Abstract This subject selects the STM32F103C8T6 micro-controller and ADXL345 three axis acceleration sensor, to control the RGBLED and infrared laser light, to indicate a bicycle braking or steering function. First this paper introduces some information and characteristics of STM32 series chip and ADXL345 acceleration chip. And then introduces the design of hardware and software of the system. The difficulty is the problem and thinking in the process of hardware design, using the method of modular programming key software design building code. Through the detailed analysis of the operation result, the design and implementation of the RGBLED automatically lights up when braking,active triggering makes the infrared laser light generated signal function significantly before steering,in accordance with the design requirements. The thesis finally summarizes the problems occurred in design and their solutions. Keywords:STM32,ADXL345,the bicycle break lights ,steering lamp 目 录 TOC \o 1-3 \h \z \u 基于STM32的自行车转向刹车灯 h I 摘 要 h I 前 言 h 1 1 . Cortex-M3与STM32简介 h 3 1.1Cortex-M3与STM32的关系 h 3 1.2 STM32的优越性 h 3 1.3 STM32的系统结构、内核及指令集示意图: h 4 1.4 STM32F103C8T6的基本参数、内设与引脚位 h 5 2. ADXL345与SPI简介 h 7 2.1 ADXL345简介 h 7 2.2 SPI介绍 h 8 3 硬件设计 h 10 3.1 硬件设计概述 h 10 3.2 电源部分的硬件设计 h 12 3.3 STM32和ADXL345硬件设计 h 13 3.4 全彩灯珠的设计 h 15 3.5转向按键与红外线激光灯的设计 h 16 3.6其它硬件设计 h 18 4 软件设计 h 21 4.1 STM32固件库开发概

文档评论(0)

1亿VIP精品文档

相关文档