"景先生毕设|www.jxszl.com

基于stm32的智能酒精浓度测试仪(附件)【字数:9408】

2024-01-25 16:05编辑: www.jxszl.com景先生毕设
摘 要目前我国小汽车的使用已经遍布于每一个家庭,人均汽车使用量已经大幅度上升,为此也带来了许多问题,其中最为严重的就是酒后驾车给人身安全和社会带来的危害,在众多事故中惨痛的教训,人们逐渐意识到酒驾的危害性,轻则进医院,重则丧失生命,所以进行酒驾检测和控制就显得愈发重要,酒精浓度检测报警系统应运而生,迅速检测车内酒精含量是酒精浓度自动报警系统的重要功能,当酒精浓度超标时,使用者的车子将无法启动,酒精浓度自动报警系统能够对酒驾实时监控和报警,拥有这种设备可以有效控制酒驾带来巨大危害,能够有效避免出现车毁人亡的事故,有效保障生命安全,维持社会秩序的稳定。本设计以STM32F103C8T6单片机为核心,采用酒精浓度传感器,OLED显示模块,Wi-Fi模块ESP8266,LED灯,蜂鸣器,继电器模块以及电源模块。通过各个传感器对其相应数据检测,再将检测得到的数据通过Wi-Fi模块发送给手机APP,而且会将检测到的各项数据显示在OLED屏上,当检测到空气中酒精含量度不在正常阈值,单片机将会发出指令让LED灯闪烁,蜂鸣器报警并启动继电器,继电器会对车子进行断电处理,使车子无法点火成功,并且LED灯和蜂鸣器可以达到警报效果。实现了对车内酒精度检测与警报。该设计经过前期的不断调试与改进,已经可以对酒精度度进行准确的测量,而且跟APP通讯连接状况良好,而且其成本低,性能稳定,使用者完全可以享受到它带来的方便,而且该设备使用简单,只需APP即可很方便的看到车内的酒精含量数据,性价比很高,设备维护也方便。是一种非常智能的酒精含量检测设备,虽然是模型,但是很值得发展和研究。
目录
一、绪论 7
(一)本课题的研究背景和意义 7
(二)酒精浓度测试仪总体设计框图 8
(三)智能酒精浓度测试仪的主控制模块 8
(四)本设计的主要工作 9
(五)本章小结 9
二、系统设计总体方案 9
(一)系统需求分析 9
(二)功能需求分析 10
(三)性能和其他需求分析 10
三、系统硬件设计介绍 10
(一)ARM处理器 10
(二)酒精浓度传感器MQ3 11
(三)OLED显示模块 14< *51今日免费论文网|www.jxszl.com +Q: *351916072
br /> (四)WiFi通信模块ESP8266 15
(五)继电器模块 16
(六)蜂鸣器报警电路 17
四、软件系统设计 18
(一)酒精浓度检测程序框架 18
(二)酒精浓度数据获取 19
(三)报警电路启动与关闭 20
(四)通信模块 21
(五)显示模块 22
(六)继电器控制 23
五、 实物调试 24
(一)实物制作 24
(二)实物调试 25
六、总结与展望 27
(一)总结 27
(二)展望 28
致谢 28
参考文献 29
附录一 原理图 30
附录二 主程序 31
Summary
At present, the use of small cars in China has been spread throughout every family, per capita car use has increased significantly, for this reason has also brought many problems, the most serious of which is the harm caused by drink driving to personal safety and society, in many accidents tragic lessons, people gradually realize the dangers of drink driving, light into the hospital, heavy loss of life, so drink driving testing and control is more important, alcohol concentration detection alarm system came into being, Rapid detection of alcohol content in the car is an important function of the automatic alarm system of alcohol concentration, when the alcohol concentration exceeds the standard, the users car will not be able to start, the automatic alarm system of alcohol concentration can be realtime monitoring and alarm of drink driving, with this equipment can effectively control drink driving bring great harm, can effectively avoid accidents of car crashes, effectively protect life safety, maintain the stability of social order. The design is based on the STM32F103C8T6 tablet, using an alcohol concentration sensor, OLED display module, WiFi module ESP8266, LED light, buzzer, relay module and power module. Through each sensor to its corresponding data detection, and then the detected data through the WiFi module sent to the mobile phone APP, and will detect the data on the OLED screen, when detected in the air alcohol content is not at the normal threshold, the tablet will issue instructions to let the LED lights flash, buzzer alarm and start relay, relay will be the car power off processing, so that the car can not ignite successfully, and LED lights and buzzers can achieve the alarm effect. The incar alcohol level detection and alarm are realized. The design after the previous continuous debugging and improvement, has been able to accurately measure the degree of alcohol, and with the APP communication is in good condition, and its cost is low, stable performance, users can fully enjoy the convenience it brings, and the device is simple to use, just APP can be very convenient to see the alcohol content data in the car, costeffective, equipment maintenance is also convenient. It is a very intelligent alcohol content detection device, although it is a model, but it is worth developing and researching

原文链接:http://www.jxszl.com/dzxx/txgc/559740.html