Hello, welcome back. In this tutorial, we will learn how to make a multi-functional robot car using Arduino. Also, this robot car includes three functions. That is, line-following, recognizing obstacles, and controlling the robotic arm. For that, it uses two IR infrared sensors, one ultrasonic sensor, and one robotic arm.
The process of this robot car
When this robot car is activated, it starts to move forward on the black line. Two IR infrared sensors were used for this purpose. Going forward in this way, the ultrasonic sensor calculates the distance ahead. In this case, when there is an obstacle in front of 9 cm, the robot stops. Then, the obstacle is removed using the robotic arm. After, the robot will move forward freely again. This process continues. Also, all of these components are controlled by the Arduino Uno board and the l293d motor driver shield.
Step 1Firstly, identify these components.
Secondly, cut a piece of foam board according to the size below.
Thirdly, attach the gear motors to the foam board.
Then, attach the robot wheels as follows.
Next, cut a 10 cm long piece of foam board and attach the two IR sensors and the ultrasonic sensor to it.
Then, cut out the following sizes and glue them as shown below.
Now, glue these parts to the front of the robot.
Next, attach the robot arm to the robot car chassis. For that, you can use a robot arm kit.
Step 9After, connect the motor driver shield to the Arduino UNO board. After, glue it to the robot and connect the gear motors to it.
Next, attach the PWM servo motor driver and connect the servo motors to it. For that, use the circuit diagram below.
Then, connect the two IR sensors and the ultrasonic sensor to the motor driver shield. To do this, use the circuit diagram above.
Step 12Next, attach the li-ion battery holder to this robot car.
Step 13Now, connect this robot car to the computer and upload the program for this robot. It is as follows.
Comments
Please log in or sign up to comment.