Line follower robot without using microcontroller:
In order to make line follower robot, we have to use L293D, which is motor driver ic used to control the motors. IR sensor which gives its input to the motor driver ic i.e. L293D. 7805 is there to convert 9 volts to 5 volts. We can implement this circuit on breadboard as well.
Line Follower Robot
For circuit diagram, refer to Fritzing sketch given below:
Fritzing sketch
The motors are geared one, as we know that geared motor has more torque than normal motor. That's why we are using geared dc motor. In this figure, we are using two 9-volt battery, one is for motor driver and ir sensor while other one is dedicated for motor.
Pin diagram of L293D
L293D is also known as h-bridge. In L293D, we have to two channels by which we can control two motors. 600mA output current per channel.
In order to control led of Arduino Uno we need computer application. For that, we need Microsft Visual Studio. I am using Visual Studio 2012. I already had written the source code for it.
Source code is below:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Arduino
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}