Optimized control and implementation of an Arduino-based smart logistics vehicle
Abstract
Aiming at the issues of unstable visual recognition and insufficient positioning accuracy of robots in low-cost logistics automation scenarios, this paper designs and implements an Arduino-based smart logistics transport vehicle. The system adopts a dual-controller architecture comprising Arduino UNO R3 and Mega, integrated with an OpenMV vision module and a Mecanum wheel omnidirectional chassis. Mechanically, a highly integrated turntable-based grasping mechanism is designed, which efficiently completes the entire material handling process through a single rotational movement. For the perception system, a lightweight YOLOv5s model is introduced for cargo identification and initial positioning, combined with an OpenCV contour detection algorithm for secondary fine positioning, there-by establishing a fused visual positioning scheme of "YOLO coarse positioning + contour fine positioning." At the control level, an adaptive obstacle avoidance algorithm (LQRobs) integrating a T-S fuzzy model and a Linear Quadratic Regulator (LQR) is proposed. Coupled with gyroscope feedback correction, this ensures precise navigation and stable obstacle avoidance for the vehicle in complex environments. Experiments demonstrate that the vehicle achieves millimeter-level positioning accuracy (error < ±5mm) and a task completion rate exceeding 95%, validating the effective-ness of the proposed solution in achieving intelligent and reliable transportation under low-cost.