推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

基于单片机的酒驾检测系统设计

更新时间:2020-11-17 17:15:23 大小:2M 上传用户:gsy幸运查看TA发布的资源 标签:单片机 下载积分:1分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

为增加酒精传感器测量点数,同时监测传感器是否损坏,基于UCOS操作系统和STM32F4单片机,设计实现了多通道实时酒精测量与数据存储系统。传感序列共可连接10个MQ-3酒精传感器,并为每个传感器预留了DS18B20温度检测接口,实时监测传感器温度变化。传感序列任务设置相同优先级为10,采用时间片轮转调度实现序列任务间的切换。配置LCD触摸屏实现人机交互,基于STemWin设计制作了系统图形化界面,设置启动与停止按钮实现系统的启停,定义任务标志寄存器TASK_FLAG记录序列任务的运行状态。配置SD卡与FATFS文件系统实时存储酒精与温度数据,预留串口总线可与车载上位机进行通讯,提高系统扩展性。通过开发板试验可知,系统功能良好、运行稳定,可应用于多种酒精检测场合。

In order to increase the number of alcohol sensor measurement points and monitor the sensor damage, based on UCOS operating system and STM32F4 microcontroller,multi-channel real-time alcohol measurement and data storage system is designed.A total of 10 MQ- 3 alcohol sensors can be connected to the sensing sequence, and the DS18B20 temperature detection interface is reserved for each sensor to monitor the sensor temperature change in real sensing sequence task has the same priority level of 10,and uses time slice rotation scheduling to realize switching between sequence LCD touch screen is configured to realize human- computer system graphical interface is designed based on start and stop buttons are set to realize the start and stop of the system,and the running status of the task flag register TASK_FLAG record sequence task is SD card and the FATFS file system are configured to store alcohol and temperature data in real time,and the serial port bus can be reserved for communication with the vehicle host computer to improve system ough the development board test,the function of the system is stable and can be applied to a variety of alcohol detection occasions.

部分文件列表

文件名 大小
基于单片机的酒驾检测系统设计.pdf 2M

【关注B站账户领20积分】

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载