基于单机片的客车超载警报系统的设计与实现 (2)

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于单机片的客车超载警报系统的设计与实现

摘要

在本文中设计了一种应用于客车中超载报警系统,本系统以单片机为核心,同时摆包含反射式红外传感器、HX711重量检测芯片、报警电路、锁定电路以及键盘模块等等,司机在开车之前可手动设置人数上限以及车辆的最大重量,通过传感器模块可将当前车辆人数以及总重量在显示模块中进行显示。当客车上的人数或总重量超过设定的阈值时则系统发出报警,此时单片机对信息进行处理后会发出信号控制继电器动作,客车电子起动器工作,此时车辆处于制动状态,不能正常发动和行驶。

本文所设计的基于单机片的客车超载警报系统分为两大部分,其一为软件部分,其二为硬件部分。其中硬件部分包含红外传感器、方向识别电路等,可实现对上下车人数的检测和判断、HX711重量检测芯片和AD转换电路把重量变化的模拟量转换为数字信号并输入单片机系统。单片机将传感器检测的数据发送到单片机进行处理后会将当前车辆人数和总重在显示模块中予以显示,若超过设定阈值,则报警模块中蜂鸣器发出报警声且发光二极管发出红光,提示超员或超载。在最后对本文设计的基于单机片的客车超载警报系统进行了调试,调试结果表明本系统可实现预期功能,且具有一定的功能扩展性,本文的设计对相似系统的设计提供了一定理论借鉴。

关键词:客车超载系统检测,单片机,光电传感器,重量传感器

Design and Implementation of Passenger Car Overload Alarm System Based on Single Chip

ABSTRACT

In this paper, an overload warning system for passenger cars is designed. The system is based on single-chip microcomputer. At the same time, it includes reflective infrared sensor, HX711 weight detection chip, alarm circuit, locking circuit and keyboard module. The driver is driving. The upper limit of the number of people and the maximum amount of the vehicle can be manually set, and the current number of vehicles and the total weight can be displayed in the display module by the sensor module. When the number of people on the bus or the total weight exceeds the set threshold, the system will issue an alarm. At this time, the MCU will send a signal to control the relay action after the information is processed. The bus electronic starter works. At this time, the vehicle is in the braking state and cannot be normal. Start and drive.

The single-chip-based passenger car overload warning system designed in this paper is divided into two parts, one is the software part, and the other is the hardware part. The hardware part includes an infrared sensor, a direction recognition circuit, etc., which can realize the detection and judgment of the number of people getting on and off, the HX711 weight detection chip and the AD conversion circuit convert the analog quantity of the weight change into a digital signal and input it into the single chip system. After transmitting the data detected by the sensor to the MCU for processing, the MCU will display the current vehicle number and total weight in the display module. If the set threshold is exceeded, the buzzer in the alarm module will sound an alarm and the LED will emit red light. Prompt over or overloaded. At the end of this paper, the single-chip-based passenger car overload warning system designed in this paper is debugged. The debugging results show that the system can achieve the expected function and has certain function expansion. The design of this paper provides a certain theoretical reference for the design of similar systems.

相关文档
最新文档