![]() In this case, both the sensors are on top of the line and they can detect the black line simultaneously, the microcontroller is fed to consider this situation as a process for halt. To turn the robot towards the right direction, the left motor rotates forward and the right motor rotates backwards and as a result, the robot turns towards the right direction. This case is similar to the left case, but in this situation only the right sensor detects the line which means that the robot should turn in the right direction. Therefore, the left motor rotates backwards and the right motor rotates in forward direction. Since, signal comes from the left sensor, the robot should turn to the left direction. In this case, the left sensor is on top of the dark line, whereas the right sensor is on the white part, hence the left sensor detects the black line and gives a signal, to the microcontroller. But for the sake of simplicity, we will call the motors rotating forward.) In this case, when both the sensors are on a white surface and the line is between the two sensors, the robot should move forward, i.e., both the motors should rotate such that the robot moves in forward direction (actually both the motors should rotate in the opposite direction due to the placement of motors in our setup. The description about the cases are given below. The robot needs to perform 4 sets of motion which includes moving forward, turning left, turning right and coming to a halt. Both motors rotate on the basis of the signal received from the left and the right sensors respectively. How does a Line Follower Robot Navigates?Ī typical line follower robot has two sets of motors, let's call them left motor and right motor. Using the stated principle, we control the movement of the robot by driving the wheels attached to the motors, the motors are controlled by a microcontroller. The IR sensors emits the infrared light on an object, the light hitting the black part gets absorbed thus giving a low output but the light hitting the white part reflects back to the transmitter which is then detected by the infrared receiver, thereby giving an analog output. The transmitter is basically an IR LED, which produces the signal and the IR receiver is a photodiode, which senses the signal produced by the transmitter. Infrared sensors consist of two elements, a transmitter and a receiver. We have covered a detailed Arduino IR sensor tutorial which you can check to learn more about the working of IR sensors with Arduino Uno. We then place the robot on the line such that the line lies in the middle of both sensors. ![]() To detect the line, we place two IR sensors one on the left and other on the right side of the robot as marked in the diagram below. For this project, we are going with the IR sensor because of its higher accuracy. To detect light, either LDR (light-dependent resistor) or an IR sensor can be used. ![]() So, we are going to use this property of light to detect the line. We all know that the reflection of light on the white surface is maximum and minimum on the black surface because the black surface absorbs maximum amount of light. Now the question is how to implement the line sensing mechanism in a LFR. You can see the demonstration video of the Arduino Line Following robot-Īs stated earlier, line follower robot (LFR) follows a line, and in order to follow a line, robot must detect the line first. The LFR is quite an interesting project to work on! In this tutorial, we will learn how to build a black line follower robot using Arduino Uno and some easily accessible components. Line Follower Robot ( LFR) is a simple autonomously guided robot that follows a line drawn on the ground to either detect a dark line on a white surface or a white line on a dark.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |