设计说明书
总字数:11000+
公共自行车作为一种低碳环保的交通工具,在城市公共交通系统中发挥着不可替代的作用。此次设计一款基于STM32F103C8T6为核心模块的自行车安全,通过光敏电阻检测光照值,当光照值小于设置最小值,则打开照明灯;通过三轴加速度计监测车辆左转或右转,并通过两组左右灯进行指示;通过红外测速管,配合MX1508电机驱动进行测速,速度超过设置最大值,则声光报警;当速度为0时,并且30s没有锁车,则自动锁车;通过震动传感器,当锁车时(继电器模拟),发生震动,则声光报警,并通过GPS定位,将数据发送到手机端;通过按键可设置各阈值、手动调速模拟车速改变;通过OLED显示各数据;通过4G模块可手机端获取GPS定位,一键开锁,该设计可以解决当前自行车只能白天骑行,超速提醒,被盗等问题,方便人们随时安全使用。
关键词:自行车安全 智能照明 速度测控 防盗 远程测控
As a low-carbon and environment-friendly means of transportation, public bicycle plays an irreplaceable role in the urban public transport system. This design is a bicycle safety based on STM32F103C8T6 as the core module. The light value is detected through the photosensitive resistance. When the light value is less than the set minimum value, the light will be turned on. The left or right turn of the vehicle is monitored by the triaxial accelerometer and indicated by two sets of left and right lights; Through the infrared klystron, with MX1508 motor drive speed measurement, speed exceeds the maximum value, sound and light alarm; When the speed is 0 and the car is not locked in 30s, the car will be automatically locked. Through the vibration sensor, when the car is locked (relay simulation), there is a vibration, sound and light alarm, and through GPS positioning, the data is sent to the mobile phone; Through the key can set the threshold, manual speed control to simulate the speed change; Display data through OLED; GPS positioning can be obtained by the mobile phone through 4G module, and the lock can be unlocked with one click. This design can solve the problems of bicycle riding only during the day, speeding reminder, theft and so on, so that people can use it safely at any time.
Keywords:bicycle safety intelligent lighting speed measurement and control anti-theft remote measurement and control
目 录
摘要
Abstract
第1章 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 论文的主要内容及结构
第2章 系统总体设计方案
2.1系统总体设计
2.2主要模块方案选择
2.2.1 主控模块方案选择
2.2.2 光照强度模块方案选择
2.2.3 显示模块方案选择
第三章 硬件设计
3.1主控模块电路设计
3.2 震动模块电路设计
3.3 光照强度检测模块电路设计
3.4 三轴加速度检测模块电路设计
3.5 红外测速管模块电路设计
3.6继电器模块电路设计
3.7 显示模块电路设计
3.8 4G模块电路设计
第4章 软件设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
第5章 实物测试
5.1 整体实物测试图
5.2 自行车光照强度监测实物测试
5.3 自行车测速监测实物测试
5.4 自行车左右转实物测试
5.5 自行车受到震动实物测试
5.6 远程开关锁实物测试
第6章 总结展望
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!