DEVELOPMENT OF A SMALL ROBOTIC ARM CONTROLLED BY EDGE AI TO RECOGNIZE THE PATH FROM THE OBJECT TRACKING CAMERA
Main Article Content
Abstract
This article presents real-time object detection on an Edge AI device using a camera as input. A machine learning model was developed using the OpenCV and TensorFlow libraries to detect objects in an image and control a robotic arm to follow the object's movement. While the camera is tracking the object, the Edge AI device simultaneously memorizes the movement path, saving it as a CSV data file. This allows the robotic arm to be trained to repeat the same path using the saved CSV file. The project developed a program using the machine learning model on a Raspberry Pi, which created a robotic arm with stepper motors and electronic motion drivers. A program was developed on an Arduino Uno board to control the robotic arm, receiving commands from the Raspberry Pi via the serial port. Experimental results indicate that the robotic arm successfully achieves real-time object tracking at an average speed of 6 centimeters per second. The robotic arm can memorize the movement path and repeat the movement with an average error of 0.5 centimeters. In the future, real-time image recognition technology can be applied to other applications such as smart agriculture and smart factories.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The published articles are copyright of the Engineering Journal of Research and Development, The Engineering Institute of Thailand Under H.M. The King's Patronage (EIT).
References
T. Barabas, H. Silaghi, D. Spoială and M. Gamcova, "Control System of an Autonomous Object Tracking Robot," 2023 17th International Conference on Engineering of Modern Electric Systems (EMES), Oradea, Romania, 2023, pp. 1-4, doi: 10.1109/EMES58375.2023.10171684.
J. Li et al., "A Human-Robot Skill Transfer Framework of Mobile Medical Robots for Autonomous Motion with Teaching by Demonstration," 2020 5th International Conference on Advanced Robotics and Mechatronics (ICARM), Shenzhen, China, 2020, pp. 209-213, doi: 10.1109/ICARM49381.2020.9195398.
P. Pillai, S. Chonkar and P. Kharote, "RoboPaint-The proposed Wall Painting Robot: A Unified Control System Integrating Hardware and Software for Efficient Operation," 2024 IEEE 9th International Conference for Convergence in Technology (I2CT), Pune, India, 2024, pp. 1-5, doi: 10.1109/I2CT61223.2024.10544181.
G. Du, G. Yao, C. Li and P. X. Liu, "An Offline-Merge-Online Robot Teaching Method Based on Natural Human-Robot Interaction and Visual-Aid Algorithm," in IEEE/ASME Transactions on Mechatronics, vol. 27, no. 5, pp. 2752-2763, Oct. 2022, doi: 10.1109/TMECH.2021.3112722.
ดำรงเกียรติ แซ่ลิ้ม ชนภัทร จิรจักรชัย ชัยอนันต์ จันคลี และ สมพร เตียเจริญ, “การระบุตำแหน่งหุ่นยนต์โดยการประมวลผลภาพ”, การประชุมวิชาการทางวิศวกรรมไฟฟ้า ครั้งที่ 47, วันที่ 13-15 พฤศจิกายน 2567 ณ โรงแรมเซ็นทาราและคอนเวนชันเซ็นเตอร์ จังหวัดอุดรธานี
สมพร เตียเจริญ วาสนา เปรมปราโมทย์ และ จิรายุ จันทร์ดวง, “หุ่นยนต์นำทางอัตโนมัติ”, การประชุมวิชาการเครือข่ายวิศวกรรมไฟฟ้า ครั้งที่ 15, วันที่ 1 – 3 พฤษภาคม พ.ศ. 2566 โรงแรมฟอร์จูน ริเวอร์วิว นครพนม จังหวัดนครพนม