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(); | |
} | |
} | |
} |
Design line Follower Robotic circuit using 8086 and 82c59 (programmable interrupt controller) with using two dc...
Desighn line Follower Robotic circuit using 82c59 (programmable interrupt controller) with using two do motor and write code in assembly language(microprocessor institutions)? and explain how this circuit work? With out using Arduino Desighn line Follower Robotic circuit using 82c54 PIT (programmable interval Timer) with using two dc motor and write code in assembly language(microprocessors institutions)? 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?
Design a line following robot by using AT89C51 microcontroller, DC motors and line sensors. Use Photo transistors and LEDs to design a line sensor. Use DC motos and attach DC motors to Microcontroller by using H-Bridge IC or circuit. Use assembly language for programming. Draw the model and simulate it. Show all the schematics and connections. 3 نقاط Given memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in order), the processes of size 212KB,...
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...
. 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,...
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...
Design a way of using the pushbutton to trigger an interrupt to your system. Your system, upon receiving this interrupt, responds by reading and displaying the temperature in Fahrenheit degrees on the LCD display in the format of xxx.x. The system must resume displaying the digital clock. Build your circuit and include all the required information about your hardware design in your lab report. 4. Based on the hardware you designed, choose an interrupt/timer tool from mbed to update the...
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...
Part 1: A pipelined computer completes instructions more quickly by having more than one instruction at a time "in the pipeline." Explain what problem branch instructions cause with instruction pipelining. Describe one approach to overcoming this problem. Part 2: RISC computers generally execute more instructions per second than CISC computers. Describe the penalty or trade-off paid when adopting the RISC architecture. Part 3: When a cache hit to a cache on the CPU chip occurs on a memory write the...