摘要
为更加安全地检测可燃气体,设计了一款基于STM32的循迹、避障智能检测小车。系统具有循迹检测、距离检测、可燃气体检测及电机控制功能。系统通过红外模块,对白色地板上的黑色轨迹进行探测,从而实现循迹功能,通过超声波模块对小车到障碍物距离进行检测,加上PS2遥控模块控制小车,实现手动自动切换避障功能,并能实时检测可燃气体。
In order to achieve safer detection of combustible gas,an intelligent detection car based on STM32 for tracking and obstacle avoidance is designed in this paper.The system structure consists of tracking detection function,distance detection function,combustible gas detection function and motor control function.The system detects the black track on the white floor through the infrared module,so as to realize the tracking function.The ultrasonic module detects the distance between the car and the obstacle,and the PS2 remote control module controls the car to realize manual and automatic switchable obstacle avoidance function,and can detect combustible gas in real time.
出处
《工业控制计算机》
2023年第4期158-159,共2页
Industrial Control Computer
关键词
STM32单片机
传感器
循迹
避障
气体检测
STM32 microcontroller
sensor
tracking
obstacle avoidance
gas detection