We have now entered a century in which large industries are focusing on automation rather than increasing the workforce. A warehouse must be meticulously organized, and goods/inventory must be transported from one location to another. These requirements have resulted in the development of Automated Guided Vehicles, which move around by following specific lines. here we have DIY line follower kit compatible with Arduino
Working:
The line follower robot’s concept is related to light. We use the behaviour of light on a black and white surface in this case. The white colour reflects all of the light that falls on it, whereas the black colour absorbs all of the light that falls on it.
We use IR transmitters and receivers in this line follower robot kit (photodiodes). They are used to transmit and receive light. When IR rays strike a white surface, they are reflected by the IR receiver, causing voltage changes.
When IR rays strike a black surface, they are absorbed and no rays are reflected; thus, the IR receiver receives no rays.
Connection:
We begin by putting together the two-wheeled drive DIY kit. We begin by connecting the BO motors to the board by inserting the fasteners into the appropriate slots and tightening them with M3*30 screws. The wheels can now be connected to the motors. In addition to the two wheels, we are given a hammer castor wheel, which serves to support the robot’s motion by following the other two wheels while in motion. The castor wheel is attached, along with the spacers provided, to keep the castor at a constant height and the robot in a fixed horizontal plane. Now that all of the moving parts have been addressed, we can move on to the power supply, which is provided by four AA batteries.
The battery container is also included with the DIY kit and can be attached to the top. It should be noted that AA batteries are not the only power source that can be used; a 9V battery can also be used. If you’ve worked with Arduino and motors before, you’ll notice that either 4 AA batteries or one 9V battery won’t last long. What can be done better is to use the 9V battery to power Arduino and the AA batteries to power the motor driver, or to use only good current rating AA batteries.
So far, we’ve created a simple two-wheel-drive robot. We’ve arrived at the electronics section. Screw the Arduino into the baseboard (or you can use a double-sided tape as well). When finished, place the L293D Motor Driver Shield on top of the Arduino, making sure that the corresponding pins on both are connected correctly. Connect two wires from each motor to the motor driver shield installed on Arduino (say, M1 and M2).
Check the connections for motors with the same polarity as opposite polarity can cause counter motions. Now we’ll turn our attention to the infrared sensors in the front. Two of them are used, and both attempt to make the bot move so that the line it is travelling on is always in between the two.
Connect the sensors’ 5V and GND pins to the shield’s 5V and GND points. The Analog pins receive the input signal from the IR sensors (here, we have used A0 and A1).
The motor speed can be varied depending on the requirement and the required accuracy, and the IR sensor values can also vary depending on the colour of the path and can be used for multiple purposes.
get code: code for line follower robot using Arduino
Instructions: check step-by-step instructions for line follower robot
step-by-step instructions for line follower robot






0 Comments