Group05 - Lab2 Submission
Group05 - Lab2 Submission
Faculty of Engineering
Module Details
Stream: Mechatronics
Assessment details
Marks: [All marks are subject to external moderation and approval of board of examinations]
SRI LANKA INSTITUTE OF
INFORMATION TECHNOLOGY
Faculty of Engineering
Lab 02
Instructor's Name: Mr. Bhanuka Dayawansa
Here we have two suggestions to robot to follow the walls. We are using 5 Ultrasonic Sensors.
5 cm IR Sensor Array
20 cm
15 cm Robot Ultrasonic
Chassis
Sensors
15 cm
• Length: 15 cm
• Width: 15 cm
• Height: 15 cm
Final CAD Design for the Robot
Bottom View
Top View
Front View
Back View
Selected list of components
Components Quantity
• Arduino mega 2560 1
• Pololu QTR-8A Reflectance IR 1
Sensor Array
• Ultrasonic sensor 5
• LCD display 1
• I2C module 1
• L293d motor driver shield 1
• XL4015 buck converter 1
• 65mm wheels 4
• 5V dc gear motors 4
• Battery (3 cell 11.1V, 2200mAh) 1
• DC jack 1
• Custom made chassis (Acrylic Board) 1
• On/off switches 4
• Push button switch 1
• Bread board 1
• Nuts and bolts. -
• LEDs (white, orange, blue) -
• Jumper wires -
• Glue -
Drive mechanism
Drive Mechanism
In this robot, four-wheel drive system is used as the drive mechanism. When comparing the
four-wheel drive system with the differential drive system there are more plus points for four-
wheel drive system than the differential drive system.
• When considering about the weight distribution of the robot, in four-wheel drive system
the whole weight is distributed among four wheels. But in the two-wheel drive system
there may be some unbalances in the robot. Therefore, the stability of the four-wheel
drive mechanism is higher the two-wheel drive system.
• When considering the smoothness of the movements of the robot, the four-wheel drive
system can move smoothly compared to the two-wheel drive system. In two-wheel
drive systems, large oscillations can be observed because of the caster wheel.
• The four-wheel drive system is capable of taking turns very smoothly and without any
undesirable movements than the two-wheel drive system.
To control the 4-wheel drive system we have to use a motor driver unit which controls the
voltages and the directions. So, our team hope to use L293D motor shield except using L298N,
to control the four 5v dc gear motors.
Reasons to choose L293D shield except L298N driver
• First thing is L293D shield is very easy to use. It has pins to connect with Arduino
board.
• L293D has Arduino library so when coding the robot, we can use that library as well.
• It can control 4 5v dc gear motors separately, 2 steppers and 2 servo motors.
• And this shield has so many output lines such as grounds, 5v outputs, analog pins and
so on.
• For the input voltage L293D can work with 4.5V-36V
Disadvantages we saw in using L298N motor driver are,
• It needs at least 11V to turn on.
• It can control separately 2 dc motors only. So, as we are using 4-wheel drive mechanism
we must connect two motors parallelly. For example, front left motor and rear left motor
parallelly together and front right motor and rear right motor parallelly together.
• No extra power or data outputs.
• We must develop a code. There are not any available libraries for this module
Sensor Type