设计说明书
总字数:11000+
本课题设计STC12C5A60S2单片机的计步器设计,主要对用户当前行驶的步数进行计数。该系统主要由八部分组成,第一部分是主控模块,第二部分是显示模块、第三部分步数检测模块、第四部分是蓝牙模块、第五部分是按键模块、第六部分是存储模块、第七部分是供电模块、第八部分是存储模块,该设计采用KEIL5进行编程,编程语言选择C语言,经过实物调试,该设计的实物可以实现对当前步数进行实时监测,经可以将监测的步数存储在存储模块中,并可以获取当前的时间,用户可以通过显示模块查看当前的步数,并将监测的步数通过蓝牙发送到用户的手机上。经过测试,此次设计的实物进行计步操作简单、使用便捷、且成本较低的优势。
关键词:STC12C5A60S2;计步器;存储模块;时钟模块;蓝牙
The design and Realization of the system of non – contact type liquid level measurement of bottled container
Abstract:This topic design STC12C5A60S2 microcontroller pedometer design, mainly on the user’s current driving step count. The system is mainly composed of eight parts, the first part is the main control module, the second part is the display module, the third part is the step detection module, the fourth part is the Bluetooth module, the fifth part is the key module, the sixth part is the storage module, the seventh part is the power supply module, the eighth part is the storage module, the design uses KEIL5 programming, programming language C language. After physical debugging, the design of the physical object can realize real-time monitoring of the current number of steps, the number of monitored steps can be stored in the storage module, and can obtain the current time, the user can view the current number of steps through the display module, and the number of monitored steps sent to the user’s mobile phone through Bluetooth. After testing, the design of the physical step operation is simple, convenient to use, and the advantages of low cost.
Key words: STC12C5A60S2; A pedometer; Storage module; Clock module; bluetooth
目 次
摘 要
Abstract
1 引言
1.1 课题研究的意义和背景
1.2 系统总体设计思路
1.3 课题研究的主要内容和工作
2 整体硬件的设计与实现
2.1 系统整体结构
2.2 方案论证与比较
2.2.1 主控芯片选择
2.2.2 步数检测模块方案
2.2.3 显示模块电路方案
2.2.4无线传输模块方案
2.3 具体硬件设计
2.3.1 主控模块电路
2.3.2 步数监测模块电路
2.3.3 时钟模块电路
2.3.4 存储模块电路
2.3.5 显示模块电路
2.3.6 蓝牙模块电路
2.3.7 按键模块电路
3 软件设计
3.1 编程软件介绍
3.2 系统主流程设计
3.3独立按键
3.4蓝牙模块子流程
3.5 LCD1602液晶显示子流程
3.6 时钟模块子流程
4 实物制作过程
4.1 PCB板的制作流程
4.2 调试过程
4.2.1硬件调试
4.2.2软件调试
4.3实物功能测试
4.3.1 计步器监测实物测试
4.4 检测结果
5 结论
致 谢
参考文献
附录1 :硬件原理图
附录2 :硬件PCB图
附录3 :实物图
附录4 :部分源程序
购买后可查看具体内容!