A Line Follower Robot, as the name suggests, is an automated guided vehicle, which follow a visual line embedded on the floor or ceiling. Usually, the visual line is the path in which the line follower robot goes and it will be a black line on a white surface but the other way (white line on a black surface) is also possible. Certain advanced Line Follower Robots use invisible magnetic field as their paths
IR sensor consists of IR transmitter and IR receiver on a board. When the vehicle is moving on a black line, IR rays are continuously absorbed by the black surface and there is no reflected ray making output high. Whenever, the robot moves out to the white surface, it starts reflecting the IR rays and making the output low. Thus depending on the output of IR sensor microcontroller indicates the motors to change their direction
The circuit consists of 8051 microcontroller, IR Sensors (with IR transmitter and IR Receiver), L298N Motor Driver Module, Robot Chassis with 4 wheels and 4 motors, battery holder.
8051 microcontroller is the main component of the project. It is an 8 bit microcontroller with 32 programmable I/O pins. This has many peripheral features like programmable UART, two 8-bit timer/counter, two interrupts, external memory access etc.
The DC motors of the robot are connected to the controller using a motor driver IC. As the output of the controller is maximum 5V with very small current, it cannot drive the motors. So, to amplify this voltage motor driver IC is used. L298N can drive motors up to 36v and can provide a drive current of 3A.
The driver IC has 15 pins and is usually available in multiwatt15 Package. These ICs are easily available in the market as Modules. The inputs to the Motor Driver Module are connected to PORT2 pins P2.0, P2.1, P2.2 and P2.3.
The two IR sensors are connected to P2.6 and P2.7 pins of the microcontroller. Arrange the chassis and connect the four wheels of the robotic vehicle to the motors which are in turn connected to the microcontroller
#include<reg51.h>
sbit mot1=P2^0;
sbit mot2=P2^1;
sbit mot3=P2^2;
sbit mot4=P2^3; | |
sbit s_left=P2^6; | |
sbit s_right=P2^7; | |
void forward (void); | |
void backward (void); | |
void left (void); | |
void right (void); | |
void forward (void) | |
{ | |
mot1=0; | |
mot2=1; | |
mot3=1; | |
mot4=0; | |
} | |
void backward (void) | |
{ | |
mot1=0; | |
mot2=1; | |
mot3=0; | |
mot4=1; | |
} | |
void left (void) | |
{ | |
mot1=0; | |
mot2=1; | |
mot3=0; | |
mot4=0; | |
} | |
void right (void) | |
{ | |
mot1=0; | |
mot2=0; | |
mot3=1; | |
mot4=0; | |
} | |
void stop (void) | |
{ | |
mot1=0; | |
mot2=0; | |
mot3=0; | |
mot4=0; | |
} | |
void main() | |
{ | |
s_left=1; | |
s_right=1; | |
while(1) | |
{ | |
if(s_left==0 && s_right==0) | |
{ | |
forward(); | |
} | |
else if(s_left==1 && s_right==1) | |
{ | |
stop(); | |
} | |
else if(s_left==0 && s_right==1) | |
{ | |
left(); | |
} | |
else if(s_left==1 && s_right==0) | |
{ | |
right(); | |
} | |
} | |
} |
Desighn line Follower Robotic circuit using 82c59 (programmable interrupt controller) with using two do motor and...
Design line Follower Robotic circuit using 8086 and 82c59 (programmable interrupt controller) with using two dc motor and write code in assembly language(microprocessor instruction)? and explain how this circuit work? With out using Arduino
Desighn line Follower Robotic circuit using 82c55 PPI (programmable perpheral Interterface ) with using two dc motor withe write code in assembly language ? and explain how this circuit work?
Desighn line Follower Robotic circuit using 82c55 PPI (programmable perpheral Interterface ) with using two dc motor withe write code in assembly language ? and explain how this circuit work?
answere Please mark only one of the four choices Q1. Controlling the speed of a DC motor by using a micro-controller, is what type of control? b. Digital C. Analog d. All of the above Q2. When current flow is interrupted in a DC motor, which motor property causes a reverse voltage spike? a. Resistance b. Capacitance C. Inductance d. None of the above Q3. Which Arduino internal circuit is used to control motor speed? a. Digital to Analog Converter...
Need to figure out the coding to complete this Circuit Board. If you are able to post how the Circuit will be wired with the Arduino and the Motor Controller as well that would be great. Objective: Develop an understanding of how a Pulse Width Modulation (PWM) signal can control the speed of a motor Description of Lab 10: In this lab we will be using using TimerOne to provide a PWM signal and then use the analog inputs on...
. What is a programmable logic controller (PLC)?12. The , Identify four tasks in addition to relay switching operations that PLCs are capable performing. 3. List six distinct advantages that PLCs offer over controller operates in real time. What does this mean? of performing 13. Answer the following with reference to the f conventional relay-based control systems. control PLC ladder logic diagram of Figure 1-21 this etary PLC architecture. 5. State two ways in which LVO is incorporated into 4,...
T F Xilinx's SDK assembler supports both FOR statements, but not wHILE statements T F In the ARM processor, immediate operands are stored in data memory, and not in the opcode T F In ARM processor instructions, one but not both operands can come from main T F In the ARM processor, a single load/store instruction T F It is possible for a microprocessor to use a virtual TCache memory is typically much faster and much larger than main memory...
QUESTIONS Question-3: Draw "speed vs. torque" curve using data in Table-1. The completed graph represents the speed vs. torque characteristics of a typical DC shunt-wound motor. Terax Question-4: Calculate the speed regulation (full load - 12 lbf.in) using the equation: 2-143) 143 (no load Regulation (full load speed) Speed regulation- % Part-II - Motor Efficiency Calculation: Set the dynamometer control knob at its full CW position (to provide the maximum starting load for the shunt-wound motor). Turn on the power...
Using C programming language Question 1 a) through m) Exercise #1: Write a C program that contains the following steps (make sure all variables are int). Read carefully each step as they are not only programming steps but also learning topics that explain how functions in C really work. a. Ask the user for a number between 10 and 99. Write an input validation loop to make sure it is within the prescribed range and ask again if not. b....
The ACME Manufacturing Company has hired you to help automate their production assembly line. Cameras have been placed above a conveyer belt to enables parts on the belt to be photographed and analyzed. You are to augment the system that has been put in place by writing C code to detect the number of parts on the belt, and the positions of each object. The process by which you will do this is called Connected Component Labeling (CCL). These positions...