题 目 基于单片机的道路车流量计设计 学生姓名 李婷婷 学号 1113014169 所在学院 物理与电信工程学院 专业班级 电子信息工程 1105 班 指导老师 梁芳 完成地点 物理与电信工程学院实验室 2025 年 5 月 20 日基于单片机的道路车流量计设计作者:李婷婷(陕西理工学院 物理与电信工程学院 电子信息工程专业 11 级 5 班,陕西 723000)指导老师:梁芳 [摘要]论文提出基于单片机和地磁检测实现道路车流量计设计方案,并给出了由地磁传感器 MAG3110 的系统实现方案,MAG3110 地磁传感器具有检测有无带磁性物体、且传输效率高等特点。该系统通过比较 MAG3110 地磁脚产生的变化,猎取车流量信息,并启动、停止计数,该系统的控制中心是由 STM32 微处理器承担以实现地磁脚的求取。同时,有 STM32 与 PL2303 相结合实现的通信。该系统经实验调试结果表明文中提出的设计方案可行。 [关键词]STM32 系列单片机;MAG3110 地磁传感器;PL2303 串口Design of a vehicle flux system based on GeomagneticAuthor:LiTingting(Grade 11,Class 05,Major in Electronics & Information engineering ,Physics & Telecommunications engineering Dept., Shaanxi University of Technology,Hanzhong 723003,Shaanxi)Tutor: Liang Fang Abstract: The proposed based on geomagnetic detection achieve flowmeter design of road vehicle system scheme, and gives the geomagnetic sensor MAG3110 system realization scheme. MAG3110 geomagnetic sensors with detection with magnetic objects, and the transmission efficiency is high. The system through comparing the changes in MAG3110 geomagnetic feet, obtain traffic information, and start and stop counting. The control center of the system is by microprocessor STM32 bear in order to achieve for the geomagnetic feet. At the same time, the communication between PL2303 and STM32 is realized.The system through the experimental debugging results show that the proposed design scheme is feasible. Keywords:STM32 microcontroller series; MAG3110 geomagnetic sensor; PL2303 serial por...