Project: Electrical Machines-II (15EEE303) Mini-Project
Project: Electrical Machines-II (15EEE303) Mini-Project
SUBMITTED BY:
BANDARU SANDEEP
BL.EN.U4EEE18008
Vth Semester
Abstract: -
Due to increasing demands for patient supervision. The jobs like supply
of food, medicines etc. has become a time consuming process. So, a
Microcontroller based line following robot carrying medicine can be
designed for providing the medicine to the patient whenever they
need. Line follower robot is an electronic system that can detect and
follow a line drawn on the floor. The robot uses photo resistor sensors
to sense the line. The ability to get someone around the clock is the
best thing that this system can do. This helps and simplifies the job of
material supply and also reduces the manual routine work done by the
hospital staff. This technology focuses on the delivery of safe, timely,
efficient, effective, patient-centered health care.
Introduction: -
Line follower is a machine that can follow a path. The path can be
visible like a black line on a white surface (or vice-versa) or it can be
invisible like a magnetic field. Sensing a line and maneuvering the robot
to stay on course, while constantly correcting wrong moves using
feedback mechanism forms a simple yet effective closed loop system.
Components:
Name Quantity Component
Bat1 1 2 x AA Battery
S1 1 Slide switch
T1, T2 2 NPN Transistor (BJT)
D1, D2 2 Red LED
R3, R4 2 3.3 kΩ Resistor
R5, R6 2 51 Ω Resistor
R7, R8 2 1 kΩ Resistor
R9, R10 2 10 Ω Resistor
C1, C2 2 100 uF, 16 V Polarized Capacitor
D3, D4 2 Yellow LED
R13, R14 2 Photoresistor
U2 1 Dual comparator
U1 1 ATtiny
M3, M1 2 Hobby Gearmotor
Rpot2, Rpot5 2 10 kΩ , Potentiometer
Block Diagram:-
The LM393 is a dual independent accuracy voltage integrated circuit operated with single or
else split supply. These ICs comprises two independent voltage comparators to operate from an
only power supply more than a wide variety of voltages.
Working:
When Right Led comes in Black (for black line tracer) region then right
motor stops while left motor continue to move so that right turn takes
place and Right led returns on white.
When Left led comes in Black (for black line tracer) region then left motor
stops while right motor continue to move so that left turn takes place and
left led returns on white.
Right Turn
Total light passes through the LDR 1 .So resistance decreases and voltage across also
decreases
Voltage across LDR2 is greater than LDR1 ,Due to higher resistances it offers in low light
Since there is voltage different. Inside Dual Comparator it compares the voltage and
from pin 7(Output pin)
It triggers the gate of BJT 1. Since BJT Works as Switch.
It switch on the left Motor to Turns Right
Left Turn
Total light passes through the LDR 2 .So resistance decreases and voltage across also
decreases
Voltage across LDR 1 is greater than LDR 2 ,Due to higher resistances it offers in low light
Since there is voltage different. Inside Dual Comparator it compares the voltage and
from pin 1(Output pin)
It triggers the gate of BJT 2. Since BJT Works as Switch.
It switch on the Right Motor to Turns left
Code Block
Conclusion:
In this project, we have studied and implemented a Line Following Robot using a
Microcontroller for carrying medicine. The programming and interfacing of microcontroller has
been mastered during the implementation
The cost of health care in India greatly depends on the land and location of building the
infrastructure and facilities and skilled staff required to maintain the expensive machinery. In a
country like India. Where the population is huge and the resources are scarce. It becomes
highly difficult to set up such extensive projects in every location. So what this system provides
is an alternative to the existing system with robotic machinery. Which can handle tasks with
better per capita cost and better accuracy.