IAES International Journal of Robotics and Automation (IJRA) Vol. No. September 2025, pp. ISSN: 2722-2586. DOI: 10. 11591/ijra. IntelliDrive autonomous robot powered by large language Imran Ulla Khan1,2. Kumar Raja3 School of Computer Science. REVA University. Bangalore. India Department of CSE. Sri Krishna Institute of Technology. Bangalore. India School of Computer Science. REVA University. Bangalore. India Article Info ABSTRACT Article history: The rapid advancements in artificial intelligence (AI) and robotics have paved the way for innovative autonomous systems capable of performing complex tasks. This project integrates robotics with Large Language Models (LLM. to develop an intelligent, versatile and user-friendly robotic system. The robot is designed to interpret structured commands, make real-time decisions, and navigate autonomously in dynamic environments, addressing key challenges faced by traditional autonomous systems. Central to the system is a Raspberry Pi 4, which serves as the main processing unit, integrating components such as a webcam for visual data capture, an L298N motor driver for motor control, and a Bluetooth speaker for real-time The LLM API enables the robot to process natural language commands, providing context-aware task execution and adaptability to changing scenarios. Testing has demonstrated the systemAos ability to perform autonomous navigation, detect obstacles, and execute tasks effectively. This research offers a foundation for various industries, including logistics, healthcare, education, and hazardous environment operations. incorporating LLMs the robot overcomes limitations of traditional rulebased systems, enhancing dynamic decision-making and user interaction. With its modular design and scalability, it bridges the gap between humanlike intelligence and mechanical precision, setting the stage for future advancements in AI-driven robotics. Received Mar 15, 2025 Revised Jun 14, 2025 Accepted Jul 10, 2025 Keywords: Artificial intelligence Autonomous robot Deep learning Large language models Robotics This is an open access article under the CC BY-SA license. Corresponding Author: Imran Ulla Khan School of Computer Science. REVA University Bangalore. India Email: imran161984@gmail. INTRODUCTION The field of robotics has witnessed significant advancements over the years, transitioning from simple mechanical machines to highly sophisticated systems powered by artificial intelligence (AI). Autonomous robotics, in particular, has emerged as a crucial area of innovation, addressing challenges in automation, precision, and efficiency across various industries . , . These robots are designed to perform tasks independently, reducing human intervention and enhancing productivity. The integration of AI, specifically large language models (LLM. , has further expanded the scope of robotics by enabling natural language processing, adaptive decision-making, and improved human-robot interaction . , . Traditional robotics often relies on pre-defined algorithms and sensor-based systems, which limit their adaptability and effectiveness in dynamic environments. These systems are typically rigid, requiring extensive programming for each new task or environment. As a result, they struggle to handle real-world Journal homepage: http://ijra. ISSN: 2722-2586 scenarios that demand flexibility and quick decision- making. Moreover, the lack of real-time adaptability in these systems creates barriers for wider adoption in industries that require diverse and variable operations. this research we have addresses these limitations by integrating an LLM into the robotAos control system . Ae. The primary challenge is to design a robot capable of interpreting and processing natural language commands accurately . , . , making intelligent decisions in real-time based on environmental inputs . , and executing tasks autonomously with minimal human intervention . By bridging the gap between traditional robotics and artificial intelligence, this system aims to unlock the potential of autonomous machines in solving complex real-world problems. The development of such systems could lead to smarter, more versatile robots with widespread applications . , . Autonomous robotics stands at the crossroads of multidisciplinary fields, including engineering, computer science, and cognitive systems. The overarching goal is to create machines capable of responding to complex environments, adapting to new tasks, and collaborating with humans seamlessly. With the rise of LLMs, the intersection between natural language understanding and mechanical actuation has brought forth new dimensions of interaction . , . This study explores the integration of LLM-based control with computer vision and motor actuation to achieve robust real-time adaptability and human-like interaction. The proposed project leverages these advancements to create a system that combines hardware precision with AI-driven intelligence. This project aims to overcome the limitations of traditional sensorbased robots by incorporating real-time decision-making capabilities powered by LLMs. The key finding of this study is that integrating large language models (LLM. with autonomous robotics significantly enhances the robot's ability to interpret natural language commands and make real-time decisions. This approach improves adaptability, user interaction, and autonomous navigation compared to traditional rule-based The literature survey as shown in Table 1 explores advancements in robotics, including LLM-based decision-making, machine vision for navigation, and modular system architectures. The discussion highlights gaps such as the lack of hardware- software integration, limited scalability, and inadequate adaptability in dynamic environments. Research insights include studies on GPT models for natural language processing. YOLO-based object detection, and frameworks for autonomous decision- making, forming the foundation for the proposed system. Table 1. Comparative analysis Title IntelliDrive Autonomous Robot ChatGPT-Controlled Robot . Reinforcement Learning-based Robot . Deep Learning Autonomous Driving Robot . Command interpretation accuracy (%) Real-time decision latency . Navigation efficiency (%) Error rate in obstacle detection (%) This paper introduce an innovative approach that merges large language models (LLM. with behavior trees (BT. This method dynamically adapts robotic tasks to environmental changes by leveraging ChatGPT for real- time reasoning and a semantic mapping framework for task execution. The use of LLMs enhances the ability of BTs to handle unforeseen events, improving adaptability and robustness in task management . , . Bharathi et al. explored the transformative role of machine vision in robotic The study highlights key technologies such as convolutional neural networks (CNN. for real- time object detection and simultaneous localization and mapping (SLAM) for autonomous navigation. Applications include defect detection, quality assurance, and navigation in manufacturing and healthcare, emphasizing the precision and adaptability offered by machine vision. This research investigate the integration of LLMs and generative AI (Gen AI) in humanoid robots. This hybrid model significantly enhances natural language processing and emotional intelligence, enabling intuitive interactions with humans. The research focuses on ethical AI deployment to assist vulnerable populations such as the elderly and disabled . This framework automates complex robotic development tasks, including code generation and parameter tuning. The study demonstrates the framework's efficacy in simplifying robotics development for non-experts, validated through experiments on quadruped robots . PROPOSED METHOD Existing autonomous robotic systems are often limited by their reliance on predefined algorithms, sensor data, and rule-based mechanisms. These systems lack flexibility and adaptability in dynamic environments, as they depend heavily on pre-programmed instructions and specific sensor configurations. IAES Int J Rob & Autom. Vol. No. September 2025: 339-347 IAES Int J Rob & Autom ISSN: 2722-2586 The proposed system addresses the limitations of existing systems by integrating hardware precision with advanced AI capabilities. The system leverages large language models (LLM. to enable natural language command interpretation and adaptive decision-making. Below are the key features of the proposed system . The robot integrates LLM to understand and execute complex natural language commands. It processes environmental inputs to generate motor control commands dynamically, enabling real-time decision-making. Cost-effective hardware, including a Raspberry Pi. BO motors, and a basic webcam, ensures affordability without compromising functionality. Scalable, modular architecture allows for the integration of additional features like advanced sensors or navigation algorithms. A user-friendly interface enhances usability, making it accessible for non-technical users By combining advanced AI with efficient hardware, the proposed system aims to deliver a flexible, reliable, and scalable solution for autonomous robotics. Figure 1 Illustrates the architecture of an autonomous robot powered by natural language processing and real-time adaptability. The system is structured into three primary components: input, processing, and output. The Input Components consist of a webcam for capturing real-time visual data and a user interface for receiving natural language commands. The webcam encoder converts visual data into a Base64 format, which is transmitted to the processing unit. The Processing Unit comprises a Raspberry Pi that acts as the central controller . , . It processes visual inputs and user commands with the aid of an LLM API, which interprets and generates appropriate responses. These responses are then translated into actionable control signals. The Output Components include an L298N motor driver, which converts the control signals into precise instructions for BO motors, enabling movement. Figure 1. System architecture METHOD The development of the IntelliDrive LLM-powered autonomous rover involves integrating natural language processing, real-time decision-making, and modular robotics to create an intelligent, scalable The methodology starts with selecting cost-effective hardware such as a Raspberry Pi 4, a webcam. BO motors, and an L298N motor driver. The system architecture is designed around three primary Input for capturing visual and command data The input subsystem is responsible for capturing environmental and user data necessary for the robot's operation. It includes components like a webcam for visual input and a user command interface for IntelliDrive autonomous robot powered by large language model (Imran Ulla Kha. A ISSN: 2722-2586 natural language instructions. The visual input from the webcam is represented as a 2D image matrix ya. cu, y. , where each pixel ya. cu, y. contains RGB or grayscale intensity values. Processing for decision-making using an LLM API The processing subsystem is the computational core of the architecture, performing decision-making based on the input data. It includes the Raspberry Pi 4 and LLM API to interpret natural language commands. This API excel in processing natural language and converting it into structured actions, such as AuMove forward 5 metersAy into motor commands and make real-time decisions for navigation and task execution. The robot's linear velocity . and angular velocity (O) are calculated based on the rotational speeds of its wheels. Linear velocity represents the forward or backward movement speed, while angular velocity measures the rate of rotation around the robot's center. By controlling the individual speeds of the left and right wheels, the robot can achieve precise linear and angular motion, allowing it to move straight, turn in place, or follow curved trajectories as in . yua= yua= ycI ycI . uiya yuiycI ) . uiya Oe yuiycI ) . Where R is the wheel radius. L is the distance between the wheels and yuiya , yuiycI are the angular velocities of the left and right wheels. The robot relies on a webcam and algorithms like YOLO for object detection, which identifies obstacles, avoid them and navigates paths in real-time. Once YOLOv5 detects obstacles, vector-based algorithms compute a safe trajectory by balancing attraction toward the goal and repulsion from obstacles . , . as shown in . ycOycycayceyce = ycOyciycuycayco ycOycyceycyycycoycycnycuycu ycOycycayceyce A vector pointing toward the target/destination, ycOycyceycyycycoycycnycuycu A vector pointing away from detected obstacles to avoid collisions. Precise movements are achieved using PID controllers as in . , which dynamically adjust motor speed and direction to maintain stability and follow trajectories. The PID controller adjusts motor signals for accurate movement. ycI = yaycy . yce yaycn O yceyccyc yaycc yccyc where e is the error between the desired and actual position or speed. A* (A-Sta. algorithm is employed to calculate the shortest path as in . from the start to the goal while avoiding obstacles. This algorithm ensure that the robot navigates complex environments safely and . = yci. Ea. where yci. is the cost to reach the node, and Ea. is the heuristic estimate of the cost to the goal. Output for executing motor commands The output subsystem executes the actions decided by the processing unit. It includes the L298N motor driver and BO motors for movement, as well as any feedback mechanisms like a Bluetooth speaker for user interaction. The motor's rotational speed and direction are directly controlled by pulse width modulation (PWM) signals using . The preprocessing actions are executed with precise motor control and provides feedback for continuous refinement. PWM yaycycyc Cycle = yayceycycnyciycyceycc ycIycyyceyceycc ycAycaycu ycIycyyceyceycc Implementation The implementation phase involves translating the system design into a working model through coding, hardware integration, and software configuration. The proposed system is implemented using a modular approach, ensuring that individual components are developed and tested independently before IAES Int J Rob & Autom. Vol. No. September 2025: 339-347 IAES Int J Rob & Autom ISSN: 2722-2586 Hardware Implementation The hardware implementation of the IntelliDrive Autonomous Rover involved carefully assembling and integrating its physical components to ensure seamless interaction as shown in Figure 2. A sturdy four-wheeled chassis was used to house the components, with BO motors securely mounted to provide The L298N motor driver was connected to the Raspberry Pi GPIO pins and BO motors, with PWM signals configured for precise speed and direction control. As shown in Figure 2. a webcam was mounted at an optimal angle to capture the environment, enabling effective image processing for navigation. computer screen showing a live camera feed with code for controlling a robot, displaying a command The system was powered by a rechargeable lithium-ion battery pack, which supplied energy to the Raspberry Pi, motor driver, and motors. Figure 2. Hardware implementation . robot internal circuit and . camera capturing environment Software implementation The software implementation of the IntelliDrive autonomous rover centered on programming the system to process inputs, interact with the LLM API, and control the robot's movements. The Raspberry Pi was configured by installing Raspberry Pi OS along with essential libraries such as OpenCV for image processing. RPi. GPIO for hardware control, and the LLM API client for natural language processing. The LLM API was integrated to interpret user commands, with secure authentication tokens and endpoints established for seamless communication. OpenCV was utilized to process video feeds from the webcam, enabling real-time navigation and obstacle detection as shown in Figure 3. with YOLOv5 by capturing and analyzing frames to generate navigation inputs. Python scripts were developed to translate structured responses from the LLM API into motor driver commands, implementing functions for forward, backward, left, and right movements. This integrated software system ensured the robot's ability to understand commands, interpret environmental data, and execute precise movements effectively. As shown in Figure 3. there is another angle of the robot chassis, focusing on the wheels and motor connections avoiding the obstacle. Figure 3. Software implementation . detecting an object and . avoiding the obstacle IntelliDrive autonomous robot powered by large language model (Imran Ulla Kha. A ISSN: 2722-2586 Offline fallback mechanisms The robot faces processing delays during LLM-based command execution, which impacted realtime responsiveness. It relies on stable internet connectivity for cloud-based LLM APIs, making it vulnerable to network disruptions. System inaccurately interpreted commands, leading to erroneous actions and compromising operational safety. Network latency also disrupted real-time navigation. To address network latency and connectivity challenges, we have implemented several offline fallback mechanisms to ensure consistent performance. Command caching allows frequently used or critical commands . uch as Aumove forward,Ay Auturn left,Ay and AustopA. to be stored locally, enabling instant responses even during connectivity A hybrid processing approach leverages lightweight pre-trained models for essential commands while reserving cloud processing for more complex tasks, reducing latency without sacrificing advanced We have also incorporated preemptive command execution by predicting the next likely command during network instability and preparing it locally to minimize response time. RESULTS AND DISCUSSION Testing is a crucial phase in the development process that ensures the system performs as expected and meets the defined requirements. Our AuAutonomous Robot with LLM-Based ControlAy underwent rigorous testing to validate its functionality, reliability, and performance. Here we have discussed the various types of testing conducted, including unit testing, integration testing, functional testing and power consumption Unit test Unit testing as mentioned in Table 2 was conducted to verify the functionality of individual components in isolation and ensure their reliability. Motor control testing confirmed the BO motors responded accurately to PWM signals from the Raspberry Pi, with speed and direction control functioning as The webcam was tested to ensure it captured real-time video feeds without latency, with frame resolution and clarity suitable for image processing tasks. The LLM API was evaluated by sending sample natural language commands and verifying the responses, including testing edge cases with ambiguous or incomplete instructions. All components passed their respective unit tests with minimal errors, and issues such as frame delays were identified and promptly resolved, ensuring robust system performance. Table 2. Unit testing Test Case Attribute Description Input Expected Output Actual Result (Initia. Test Case Troubleshooting Actual Result (Fina. TC_U01_01 Motor Direction Testing PWM signals to motors Motors rotate in the correct direction. Motors rotated in the wrong direction. Fail Rewired motor connections to match polarity. Pass TC_U01_02 Motor Direction Testing PWM signals to motors Motors rotate in the correct direction. Motors rotated correctly. Pass None required. Pass Integration test Integration testing as shown in Table 3 was performed to ensure smooth interaction between the hardware and software components of the system. The synchronization of motor drivers with Raspberry Pi GPIO pins was verified, ensuring motor control commands were executed correctly based on LLM-generated The interaction between the LLM API and the Raspberry Pi was tested for accurate command interpretation and task execution. OpenCV was integrated with the webcam to process video feeds and identify obstacles, with real-time data transfer between the camera and processing scripts successfully All integrated systems functioned seamlessly after minor adjustments, and latency issues during command processing were optimized for improved performance. Table 3. Integration testing Test Case Attribute Description Input Expected Output Actual Result (Initia. Test Case Troubleshooting Actual Result (Fina. TC_U01_01 Command processing integration Motor control commands Motors respond to commands generated by LLM. Motors did not respond as expected. Fail Debugged GPIO control and LLM parsing. Pass TC_U01_02 Command processing Integration Motor control commands Motors respond to commands generated by LLM. Motors responded correctly. Pass None required. Pass IAES Int J Rob & Autom. Vol. No. September 2025: 339-347 IAES Int J Rob & Autom ISSN: 2722-2586 Functional test Functional testing as shown in Table 4 was conducted to validate that the system met its requirements and performed expected tasks in real-world scenarios. Navigation commands such as Aumove forward,Ay Auturn left,Ay and AustopAy were tested to confirm the robot's ability to follow user instructions Obstacle detection was evaluated by placing obstacles in the robotAos path and verifying its capability to avoid them, including adapting to dynamic changes in the environment. The systemAos ability to interpret and execute complex commands, such as Auturn right and move forward 3 steps,Ay was assessed, along with fallback mechanisms for ambiguous or invalid instructions. Results showed the system effectively navigated, interpreted commands, and avoided obstacles, while edge cases with incomplete commands were gracefully handled by providing appropriate error messages. Table 4. Functional testing Test Case Attribute Description Input Expected Output Actual Result (Initia. Test Case Troubleshooting Actual Result (Fina. TC_U01_01 Navigation Commands Execution Commands like Aumove leftAy Robot follows instructions accurately. Robot misinterpreted the commands. Fail Improved command parsing logic in LLM. Pass TC_U01_02 Navigation Commands Execution Commands like Aumove leftAy Robot follows instructions accurately. Robot followed commands perfectly. Pass None required. Pass Power consumption analysis We conducted a power consumption analysis by evaluating the energy usage of each component, including the Raspberry Pi, motors, camera, and LLM API requests shown in Table 5. We calculated the power draw during continuous and intermittent operation to estimate battery life accurately. This analysis helped us to identify energy-intensive components and optimize the system for prolonged autonomous operation. Table 5. Power consumption analysis Component Raspberry Pi 4 BO Motors . Webcam L298N Motor Driver LLM API Requests Power Consumption (W) 5 each Usage Type Continuous During movement Continuous During movement Intermittent We have incorporated power-saving mechanisms to enhance the energy efficiency of the autonomous robot. Low-power modes are configured to reduce the CPU clock speed during low computational demand and to deactivate the camera when not in use. Duty cycling is employed to alternate between active and sleep states for components that are not continuously required, such as activating the webcam only when an obstacle is suspected. CONCLUSION The proposed system showcases the seamless integration of advanced AI and robotics to address real-world challenges. Leveraging large language models (LLM. for command interpretation and decisionmaking, the system overcomes the limitations of traditional autonomous robots by enabling adaptability and dynamic responses. Its modular architecture, comprising components like the Raspberry Pi, webcam, and motor drivers, supports reliable navigation, obstacle detection, and user-friendly interaction. Rigorous testing validated the systemAos robustness, making it suitable for applications in logistics, healthcare, education, and hazardous operations. Looking ahead, the robotAos scalability allows for further enhancements. ACKNOWLEDGMENTS