项目编号:mcuclub-jk-004

仿真连接:点击跳转

51实物链接:点击跳转

32实物链接:点击跳转

51设计说明书链接:点击跳转

总字数:13000+

摘 要

本文设计了一个客车超载监控系统,以STC89C52单片机为核心,利用红外对射管电路、按键电路、声光报警电路,能够通过按键手动设置核载人数上限值,并用显示屏显示车内的核载人数、实时实载人数。当客车内人数超载时,系统发出声光报警,并通过继电器切断客车的电子启动装置,从而将汽车锁定,使之无法行驶。当超载解除后,声光报警也相应的解除,客车锁定解除,可以正常运行。

本设计共分两部分,硬件系统设计和软件系统设计。硬件部分利用两对分离式红外对射管模拟前后门计数,将乘客的上、下车情况进行检测和判断并输入单片机系统。经过单片机系统将处理的数据送到显示屏显示,声光报警电路由蜂鸣器和发光二极管组成,用继电器实现对客车启动装置的锁定。软件部分用汇编语言进行编程,采用模块化设计思想。该系统通过调试后,能够较好的完成客车超载的预警提示,并对超载情况进行相关控制。

关键词:客车;超载;监控;单片机

Abstract

In this paper, a bus overload monitoring system is designed, which takes STC89C52 single chip microcomputer as the core, uses infrared radiation tube circuit, key circuit, acousto-optic alarm circuit, can manually set the upper limit value of the number of people who check the load by pressing the key, and displays the number of people who check the load in the car and the real-time number of people who actually load by using the display screen. When the number of people in the bus is overloaded, the system will give an audible and visual alarm, and cut off the electronic starting device of the bus through the relay, so as to lock the car and make it unable to drive. When the overload is relieved, the audible and visual alarm will be relieved accordingly, and the passenger car will be unlocked and can operate normally.

This design is divided into two parts, hardware system design and software system design. In the hardware part, two pairs of separate infrared tubes are used to simulate the front and rear door counting, and the boarding and alighting conditions of passengers are detected and judged and input into the microcontroller system. The processed data is sent to the display screen for display by the single-chip microcomputer system. The audible and visual alarm circuit is composed of a buzzer and a light-emitting diode. The relay is used to lock the bus starting device. The software part is programmed with assembly language and adopts modular design idea. After debugging, the system can well complete the warning prompt of passenger car overload and control the overload situation.

Key words: passenger cars; Overload; monitor; singlechip

目  录

摘 要

Abstract

1 绪论

1.1选题背景及其意义

1.2 国内外研究现状

1.3 本论文研究任务及目标

2 系统方案设计

2.1 总体框架设计

2.2 主要器件方案选择

2.2.1主控芯片选择

2.2.2显示方案选择

2.2.3 按键模块方案选择

3 硬件设计

3.1  单片机最小系统

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.1.5下载电路

3.2 红外对射模块(测速/计数)电路

3.3 LCD1602显示电路模块

3.4 报警提醒电路模块

3.5 独立按键电路模块

3.6 蓝牙模块电路

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 LCD1602液晶显示子流程

4.5 蓝牙模块子流程

5 仿真测试

5.1 整体仿真测试图

5.2 车辆超载仿真测试

5.3蓝牙模块仿真测试

6 实物调试

6.1 实物制作与调试

6.2 车辆超载实物测试

6.3蓝牙模块实物测试

7 总结

致谢

参考文献

附录

附录一: 原理图

附录二:PCB

附录三:主程序:

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源