Project Report: Btech-Mechanical Engineering
Project Report: Btech-Mechanical Engineering
BTECH-MECHANICAL ENGINEERING
COURSE:ROBOTICS
CODE:MEE1030 SLOT: D1
FACULTY:PROF.AROCKIA SELVA KUMAR
PROJECT REPORT
DONE BY: LEADER: NAVEEN .S 17BME1024
1. ABHISHEK 17BME1097
2. AJAY.G 17BME1134
3. ANIRUDH.V 17BME1030
4. CHANDRASEKKARAN.V.R 17BME1232
5. HARISH.P 17BME1012
8. SHARAN.V 17BME1096
9. SIVANADIAN.N 17BME1192
10 SIDHARTH.B.S 17BME1201
1. Introduction
2. Component
3. Working Principle
4. Block Diagram
5. Application
6. Advantages and Disadvantages
7. Programming on Arduino
Introduction:
The line Following Robot detects a black line on a white surface and moves
forward following line. If a black line is not detected, the line following robot
moves forward for searching for a black line to follow. Once the line following
robot detects a black line, it will begin following the black line. 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
i. Arduino UNO R3
ii. Motors Driver IC L293D
iii. IR sensor x 3
iv. Motors 200 RPM x 2
v. Power bank and 9v battery
vi. Wires
vii. Jumper
viii. Wheels x 2,Tractor wheels *2
ix. Steel CHASSIS
Arduino
IR Sensor
This driver allows you to control the speed and direction of two DC motors, or
control one bipolar stepper motor with ease. Motors The motors
rotateclockwise and anti-clockwise based on theprogram. In the motor
electrical energy is converted into mechanical energy.
Working Principle
❖ The IR sensor detects the light emitted by the transmitter, if the receiver
absorbs light (black colour absorbs the light and thus no light is reflected so
receiver cannot receive any light), the wheel of that side will keep on moving, as
soon as the receiver receiving the light the wheel of that side will stop.
❖ For turning ,the robot stops 1 motor and runs the second to make the
turn possible.
❖ For example :
If the robot has to turn right then the motor on right side will stop and
left motor will keep on running and thus allowing the robot to turn.
1.When both left and right sensor senses white then robot move forward.
2.If left sensor comes on black line, then robot turn left side.
Motor Logic
Code:
int m2=2;//LEFT WHEEL
int m3=3;//LEFT WHEEL
int m4=4;//RIGHT WHEEL
int m5=5;//RIGHT WHEEL
int L=8; //LEFT SENSOR
int M=9;//MIDDLE SENSOR
int R=10;//RIGHT SENSOR
void setup() {
// put your setup code here, to run
once: digitalWrite(m2,OUTPUT);
digitalWrite(m3,OUTPUT);
digitalWrite(m4,OUTPUT);
digitalWrite(m5,OUTPUT);
digitalWrite(L,INPUT);
digitalWrite(M,INPUT);
digitalWrite(R,INPUT);
digitalWrite(m2,LOW);
digitalWrite(m3,LOW);
digitalWrite(m4,LOW);
digitalWrite(m5,LOW);
}
void loop() {
// put your main code here, to run repeatedly:
if(digitalRead(L)==LOW && digitalRead(M)==HIGH && digitalRead(R)==LOW) //MOVE
FORWARD
{
digitalWrite(m2,HIGH);
digitalWrite(m3,LOW);
digitalWrite(m4,HIGH);
digitalWrite(m5,LOW);
}
if(digitalRead(L)==LOW && digitalRead(M)==HIGH && digitalRead(R)==HIGH) //RIGHT
TURN
{
digitalWrite(m2,HIGH);
digitalWrite(m3,LOW);
digitalWrite(m4,LOW);
digitalWrite(m5,LOW);
}
Applications:
1. Industrial automated carriers
2. Automated cars
3. Deliver medications in hospital,etc
Advantages:
1. Robot must be capable of following a line
2. Insensitive to environmental factors
3. Should be capable of taking various degrees
4. Color of line must not be a factor as long as it is darker than the surroundings.
Disadvantages:
Conclusions:
The main aim of the project is to move on a single line without any disturbance in its path and pick
up objects such as books and place try to place it in the desired position. This bot had many
obstacles to face as we were working with IR sensor. This team was well led by our team leader
allotting us the right task at the right time. We are planning to develop the robot by adding lifting
mechanism which is mainly used for library applications.
Team member’s contribution:
1) Sendhil:
I and few others were assigned to work on the electrical connections of the robot by the team
leader. The simple connections from the robot to the aurdino and the motor driver were taken
care by use with the help of the other guys who were handling coding. The connections from the
motor driver had the below mentioned specifications.
Motor driver:
A motor driver is an integrated circuit chip which is usually used to control motors in autonomous
robots. Motor driver act as an interface between Arduino and the motors.
The L293D is a 16 pin IC, with eight pins, on each side, dedicated to the controlling of a motor. There
are 2 INPUT pins, 2 OUTPUT pins and 1 ENABLE pin for each motor. L293D consist of two H-bridge.
H-bridge is the simplest circuit for controlling a low current rated motor.
1 - Enable 1-2, when this is HIGH the left part of the IC will work and when it is low the left part
won’t work.
2 - INPUT 1, when this pin is HIGH the current will flow though output 1
3 - OUTPUT 1, this pin should be connected to one of the terminal of motor
4,5 - GND, ground pins
6 - OUTPUT 2, this pin should be connected to one of the terminal of motor
7 - INPUT 2, when this pin is HIGH the current will flow though output 2
8 - VCC2, this is the voltage which will be supplied to the motor.
16 - VCC1, this is the power source to the IC. So, this pin should be supplied with 5 V
15 - INPUT 4, when this pin is HIGH the current will flow though output 4
14 - OUTPUT 4, this pin should be connected to one of the terminal of motor
13,12 - GND, ground pins
11 - OUTPUT 3, this pin should be connected to one of the terminal of motor
10 - INPUT 3, when this pin is HIGH the current will flow though output 3
9 - Enable 3-4, when this is HIGH the right part of the IC will work and when it is low the right part
won’t work.
Right
Motor
Left
Motor
2)Ragul hari:
1) Motion mechanism
Our project was basically a four wheel drive, where all the four wheels were
connected to four motor.
I my idea the car would run with 2 motors. Where one motor will help the bot to move and
another will help the bot to direct.
o The mechanism which we are going to use to run the bot is applied in the many rear
wheeled cars and trucks.
o It those types of cars and trucks there will be an axel from the engine which then
use to connect to a single gear of different orientation ,
o Both the end of gears are connected to a horizontal rod which is then connected to
wheel, Same mechanisms applies in our project but there won’t be any axel.
o The motor will be placed parallel to the wheels and the tooth of the gear is
connected to the gear of the speed which we required, then there will be horizontal
rod on both sides which connects the wheels.
o Now if the motor rotates the tooth of the motor will rotate the gear of eventually
the wheel rotates. The speed of the motor can be controlled by coding.
o
o At turning the speed should be minimum and at the straight path speed should be
maximum. This can be sensed by the sensors and as pre the sensors reading the
power is controlled by the Arduino and code.
Lifting mechanism
The lifting mechanism is very simple, it follows the principle of car’s jack
Our projects lifting mechanism works as the car’s jack works. There will be one motor which
is used to connect the zig zag connection of the steel,
if the object want to be placed above then the motor should rotate in clockwise so that the
zig zag steel get pressed so it leads to upward linear motion.
If the object should be placed in lower rack then the motor should rotate in anti-clockwise
so that there will be no pressing force so automatically the zig zag steel will get down
3) Ajay :
Since I’m under coding department and my job was to code for the working of pick
and place.
This is basically depending upon the Ultrasonic sensor’s output whether its high or
low the gripper has to open and close.
When the Ultrasonic sensor gives an output high that means the object is in front for
the application.
Then make the gripper open and there take the object and hold it and follow the line
follower mechanism to go to the rack. Now place it on the rack.
If the output given by the ultrasonic sensor is low, then the object is not in front
that means the bot has to still move to reach the object.
Touch sensor is used here for the object verification i.e. the object which is being
picked is whether the correct object or not is determined the output of the sensor.
Genralised Code for the Ultrasonic sensor based on which the gripper is actuated:
const int pingPin = 7; // Trigger Pin of Ultrasonic Sensor
const int echoPin = 6; // Echo Pin of Ultrasonic Sensor
void setup()
{
Serial.begin(9600); // Starting Serial Terminal
}
void loop()
{
long duration, inches, cm;
pinMode(pingPin, OUTPUT);
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(10);
digitalWrite(pingPin, LOW);
pinMode(echoPin, INPUT);
delay(100);
}
4) Sivanadian:
I belong to the electrical department and I searched for the components required:
• Arduino UNO (or Arduino Nano)
• L293D Motor Driver IC
• Geared Motors x 2
• Robot Chassis
• IR Sensor Module x 2
• Black Tape (Electrical Insulation Tape)
• Connecting Wires
• Power supply ( Battery and Power Bank)
The components were bought and the connections were done. As I belong to the electrical department
here I suggested for the use of microcontrollers as later it was changed to Arduino. And as this is a
self guided automatic veichle is how we have programmed so this dint demand any remote controller
so there were no use of any antenna or receiver or any integrated circuits for the remote controller.
6) Harish:
The mechanism is very simple , it requires one servo motor, one c rack, 2 wheels and one
connecting rod. C rack will perform the same mechanism as of straight rack, rack’s main
purpose is to convert the rotary motion into linear motion, here in this case the purpose of c
rack is to convert the rotary motion into turning motion. The motor Is connected to the c rack ,
then the c rack is connected to the horizontal bar by a vertical bar. The wheels are connected to
the horizontal bar. Now if the bot want to turn right side then the motor should rotate in anti-
clockwise. So if it wants to turn left side then the motor
7)
should
8) rotate in clockwise. The rotating angle can be controlled by code and Arduino.
Our projects lifting mechanism works as the car’s jack works. There will be one motor which is
used to connect the zig zag connection of the steel, if the object want to be placed above then
the motor should rotate in clockwise so that the zig zag steel get pressed so it leads to upward
linear motion. If the object should be placed in lower rack then the motor should rotate in anti
clockwise so that there will be no pressing force so automatically the zig zag steel will get down.
7) Naveen:
I started my research on what we can use for pushing the book into the rack.
Solenoids are just coils of electrical wire with a moving armature that wants to get into the point of
lowers magnetic reluctance.
All the push solenoids I have seen basically have a mechanical arrangement that delivers the force
out through the bottom of what would typically be the closed end of a pull solenoid housing. It could
be a thinner push-rod or a full size rod or pipe made of a non- or less magnetic material so it does
not get attracted into the solenoid like the main armature.
It is also possible to get bistable solenoids that have permanent magnetic parts, these may have a
pair of windings or be polarised. I suppose one could get a solenoid with a permanent magnet
armature that you force to push out with a determined polarity DC signal.
As the leader for the team, I think I have led the team in a proper way. I shared the work with
everyone, and made sure that everyone comes to know about everything. All my team mates
cooperated with me in a very good manner and they did their with immense dedication and
punctual.
8) Sharan:
I helped in the coding of the line follower. I and few others also worked on the electrical
connections of the robot. The simple connections from the robot to the Arduino and the motor
driver was taken care by us with the help of the other guys who were handling the coding part.
The connections from the motor driver has the below mentioned specifications.
Motor driver’s specifications:
A motor driver is an integrated circuit chip that is usually used to control motors in autonomous
robots instead of giving direct connections from motor to Arduino it acts as an interface between
Arduino and the motors.
The L293D motor driver is a 16 pin IC, with eight pins, on each side, dedicated to the controlling of a
motor. There are 2 INPUT pins, 2 OUTPUT pins and 1 ENABLE pin for each motor. L293D consist of
two H-bridge. H-bridge is the simplest circuit for controlling a low current rated motor.
1 - Enable 1-2, when this is HIGH the left part of the IC will work and when its low the left part won’t
work.
2 - INPUT 1, when this pin is HIGH the current will flow through output 1
3 - OUTPUT 1, this pin should be connected to one of the terminals of motor
4,5 - GND, ground pins
6 - OUTPUT 2, this pin should be connected to one of the terminals of motor
7 - INPUT 2, when this pin is HIGH the current will flow though output 2
8 - VCC2, this is the voltage which will be supplied to the motor.
16 - VCC1, this is the power source to the IC. So, this pin should be supplied with 5 V
15 - INPUT 4, when this pin is HIGH the current will flow though output 4
14 - OUTPUT 4, this pin should be connected to one of the terminals of motor
13,12 - GND, ground pins
11 - OUTPUT 3, this pin should be connected to one of the terminals of motor
10 - INPUT 3, when this pin is HIGH the current will flow though output 3
9 - Enable 3-4, when this is HIGH the right part of the IC will work and when it is low the right part
won’t work.
A LED source switch can also be placed with a touch sensor which when touched, slides the
book inside the shelf
9) START the Program.
10) After the program is started with the help of a proper sensor (for instance a pneumatic
sensor) will need to be activated and proper pressure needs to be fed correctly. Additional
sensors for speed also need to be provided.
11) Connect the motors to the piston arrangement. ‘ HIGH’ means the piston will go in the
upward direction and ‘LOW’ means the piston will come on the downward direction to
where the book/ object has to be placed.
12) SET the piston motor to ‘HIGH’ and make it come in the same direction as that of lifting
mechanism. After which with the help of the sensors activated, additional pressure is being
applied, this pushes the book in the forward direction into the rack.
13) Make a delay of 60-75 seconds, then reduce the speed of the motors using PWM in Arduino
and then bring down the piston mechanism downwards.
14) Same mechanism can be adopted for one more height and then the loop is completed using
the loop command. This can then be used for any sort of times.
15) However, we can also use a LED adopted push button attached with the piston which can
then be activated at the time of activating the piston and the book then slides into the rack.
However even different DC motors operating with these sensors can also be used.
16) Terminate the program.
Robot Mechanism.
1) We will be using a rack and pinion and a piston which coordinates together to push the
book placed on the lifting mechanism into its corresponding rack according to the code.
Pinion:
2) A rack and pinion is a type of linear actuator that comprises a pair of gears which convert
rotational motion into linear motion.
3) A circular gear called "the pinion" engages teeth on a linear "gear" bar called "the rack";
rotational motion applied to the pinion causes the rack to move relative to the pinion,
thereby translating the rotational motion of the pinion into linear motion.
10)
About Piston and its job in our Robot:
Introduction:
11) A hydraulic cylinder (also called a linear hydraulic motor) is a mechanical
actuator that is used to give a unidirectional force through a unidirectional
stroke. It has many applications, notably in construction equipment
(engineering vehicles), manufacturing machinery, and civil engineering. How a
piston is used in the Robot:
12) When the robot gets placed before the book shelf a piston is operated either
electrically or using Arduino coding which will be moving vertically and pushes the book
into the shelf in correct placement.
13) The piston placement and functioning will be similar to the functioning of a JCB as
shown in the figure
11)Sidharth:
I have done my research on various components that can be used other than the piston for
pushing the book. We started looking for alternate components because we thought that the
weight of the piston setup would not be supported by the platform which is in turn supported by
the scissor lift mechanism.
One such alternative is linear solenoid. A Linear Solenoid is an electromagnetic device that
converts electrical energy into a mechanical pushing or pulling force or motion.
Linear solenoid’s basically consist of an electrical coil wound around a cylindrical tube with a
ferro-magnetic actuator or plunger that is free to move or slide in and out of the coils body.
Solenoids can be used to electrically open doors and latches, open or close valves, move and
operate robotic limbs and mechanisms, and even actuate electrical switches just by energising
its coil.
12)Chandrasekaran: