Akarsh2 Merged
Akarsh2 Merged
Project Report
on
ROCKER BOGIE MECHANISM
Submitted In Partial Fulfilment Of The Requirements
For The Degree Of
BACHELOR OF TECHNOLOGY
IN
MECHANICAL ENGINEERING
Submitted By: Under the Supervision of
Akarsh singh Paliwal Ms.Garima Singh
(2000560400003) (Asst. Professor)
Anchal Maddheshiya
(2000560400004)
AFFILIATED TO
DR. A. P. J. ABDUL KALAM TECHNICHAL UNIVERSITY
LUCKNOW (2023-2024)
ACKNOWLEDGEMENT
I express deep sense of gratitude and gratefulness to Dr. N.K. MISHRA, Head of Department
of Mechanical Engineering, who blessed me with his valuable suggestion, constant
encouragement, invaluable support, and parental affection and providing the necessary
facilities during the course of project.
I consider myself auspicious enough to complete project report under the guidance of project
in charge Mrs Garima Singh. Her leadership quality, cooperativeness, absolving nature and
beneficial attitude fill me with power of standing tall. I bow in respect to my ma’am.
1
ABSTRACT
Rocker Bogie is a suspension system used in mars rovers like Pathfinder, Curiosity etc. The
specialty of this suspension system is that it does not have any springs. The term "rocker"
comes from the design of the differential, which keeps the rover body balanced, enabling it to
"rock" up or down depending on the various positions of the multiple wheels. Bogie means
links that has driven wheels at each end. This mechanism can climb obstacles like rocks which
are more than twice or three times the diameter of the wheels while the all six wheels are
touching the ground, whereas the other suspension tilt stability is limited to centre of gravity
(the less height the more stable). Our project deals when this mechanism is fixed with
auxiliaries like cutting blades they can be used as lawn mowers which can climb the obstacles.
These mechanisms can take a direct 55 degree climb without overturning.
It is a versatile and robust suspension system commonly employed in various types of robotic
vehicles, notably exemplified by NASA's Mars rovers. This mechanism consists of a series of
interconnected pivoting arms and bogies, which allow the vehicle to traverse rough and
uneven terrain while maintaining stability and manoeuvrability. The abstract of a paper on this
topic might summarize its design principles, applications, and advantages, emphasizing its
significance in enabling exploration in challenging environments, such as extraterrestrial
surfaces or disaster zones on Earth. It could also touch upon the engineering challenges
associated with its implementation and potential avenues for further research and
optimization.
2
LIST OF ABBREVIATION
M2M Machine-to-Machine
3D Three Dimensional
DC Direct Current
TL Turkish Lira
CE Conformite Europeenne
3
DECLARATION
We hereby declare that the work presented in this report entitled “PROJECT TITLE", was
carried out by us. We have not submitted the matter embodied in this report for the award of
any other degree or diploma of any other University or Institute.
We have given due credit to the original authors/sources for all the words, ideas, diagrams,
graphics, computer programs, experiments, results, that are not our original contribution. We
have used quotation marks to identify verbatim sentences and given credit to the original
authors/sources.
We affirm that no portion of our work is plagiarized, and the experiments and results reported
in the report are not manipulated. In the event of a complaint of plagiarism and the manipulation
of the experiments and results, we shall be fully responsible and answerable.
Date:
4
CERTIFICATE
Date:
Name & Signature of Project Guide: Name & Signature of HOD:
Designation: Head of Department:
Name of Department: Name of Department
5
CHAPTER 1
INTRODUCTION
1.1
1.1Overview
This product is designed for those who want to reach inaccessible places. The main objective
for this product is to climb any kind of stairs to reach to the top by itself, but it can be modified
easily to be an all- terrain robot.
The main task for team to design and construct a robot that will autonomously climb the top
19 steps of the faculty staircase (BBD building). Also, it can be able to climb any kind of stairs
autonomously.
This robot complies with all the standards to IEEE, CE, IEC, and ISO because it’s made by all
original electrical, electronic and electromagnetic devices. Cabling made safely to not to create
a dangerous situation to users. The power supply that provides power to the system and the
motors is 12 Volts DC and it’s below dangerous limit (50 Volts). The two major constraints are:
1
• No jumping nor flying allowed.
• Remote control is not allowed by any means (Wi-Fi, radio signals etc.); the vehicle
must be autonomous with all sensors, controls and computation located on the vehicle.
During design process, we have created multiple conceptual designs. Some of the significant
ones andinfluential ones for our last design are:
This design idea was inspired by Boston Dynamics’ SPOT design [1]. We didn’t choose this
design because of it would be very hard to operate and sustain within the economical limits we
have.
2
Figure 3 6 Wheel Robot
This design was also influential on the final design. Tracks are used wide spreadly on offroad
vehicles due too it’s high friction levels.
This design wasn’t used on final because optical sensors can be unreliable for this task.
3
1.1.4.5 Physical Architecture:
On final design we blended track-based model and 6-wheel model to create the optimum design
for our problem. For the electrical side we choose the Arduino MEGA with ultrasonic sensors
and gyroscopes to navigate the robot through stairs.
1.2 HISTORY
The rocker-bogie mechanism is a critical component in the design of Mars rovers and other
off-road vehicles. It’s a suspension system that allows a vehicle to traverse uneven terrain while
maintaining stability.
1.2.1 Origins:
The rocker-bogie suspension system was developed by engineers at NASA’s Jet Propulsion
Laboratory (JPL) in the late 20th century. It was initially conceived for the Mars Path-finder
mission, launched in 1996.
The Sojourner rover, part of the Mars Pathfinder mission, was the first rover to use the rocker-
bogie suspension. This system allowed Sojourner to navigate the rocky Martian terrain with
remarkable stability and flexibility.
4
Sojourner’s successful operation on Mars demonstrated the effectiveness of the rocker-bogie
suspension system in real-world conditions. It inspired subsequent rover designs forfuture
Mars missions.
The rocker-bogie suspension system was further refined and used in the design of the Spirit
and Opportunity rovers, launched in 2003. These rovers greatly exceeded their planned mission
durations, largely due to their robust mobility systems.
NASA’s Curiosity rover, launched in 2011, also employs the rocker-bogie suspension system.
Its larger size and enhanced capabilities required modifications to the original design, but the
fundamental principles remained the same.
Most recently, NASA’s Perseverance rover, launched in 2020, utilizes an advanced version of
the rocker-bogie suspension. This system enables Perseverance to navigate Mars challenging
terrain, search for signs of the past microbial life, and collect samples for potential return to
Earth.
Mobility systems play a crucial role in planetary exploration, enabling robotic vehicles to
traverse diverse and challenging terrains on celestial bodies like Mars, the Moon, and beyond.
Here are some key reasons highlighting the importance of mobility systems in planetary
exploration.
Planetary surfaces feature a wide range of geological features, including rocks, slopes,
craters, sanddunes, and boulders. Mobility systems allow exploration vehicles to access and
explore these diverse terrains, providing scientists.
5
1.3.2 Scientific Exploration:
Mobility systems facilitate the movement of exploration vehicles to specific sites of scientific
interest, such as regions with evidence of past water activity, geological formations, or areas
with potential signs oflife. By reaching these targeted locations, rovers can collect samples,
conduct experiments, and analyze the surrounding environment, advancing our understanding
of planetary processes and the possibility of extraterrestrial life.
Planetary exploration missions often involve traversing significant distances over the course of
several months or years. Mobility systems enable vehicles to navigate these long distances
efficiently, covering a wide range of terrain types while conserving energy and resources.
This capability allows rovers toexplore vast regions of planetary surfaces and gather
comprehensive data about their geology, climate,and atmosphere.
Celestial bodies like Mars and the Moon present harsh and unpredictable environmental
conditions, including extreme temperatures, dust storms, and radiation exposure. Mobility
systems are designed to withstand these challenges and ensure the survival of exploration
vehicles over extended periods. Robust suspension systems, durable wheels, and advanced
navigation capabilities contribute to the resilience of rovers operating in extraterrestrial
environments.
1.3.5 Adaptability to Unknown Terrain:
During planetary exploration missions, vehicles often encounter unforeseen obstacles and
terrain features that require real-time adaptation and problem-solving. Mobility systems with
agile navigation capabilities and flexible suspension designs allow rovers to navigate around
obstacles, traverse steep slopes, and adjust to changes in terrain conditions, maximizing their
ability to explore and gather data in dynamic environments.
The effectiveness of planetary exploration missions depends on the mobility and reliability of
exploration vehicles..
6
CHAPTER 2
DESIGN PROCESS
This stair climbing robot aims to climb any stairs, fully autonomously, without any remote
control or help. By the nature of its design, it can be used as an all-terrain vehicle/robot as
well. This features also provides great flexibility on robot’s usage areas; for example, it can be
helpful for disabled people or elders to climb stairs on the other side it can help law forces to
access dangerous areas, buildings, places. This robot can adapt to new environments and
conditions very easily.
This robot is designed very efficient due to economical boundaries. It uses ultrasonic sensor
array that we designed instead of image processing because camera would cost much more and
it would require more powerful processor to do not same but similar work. On the front side of
the robot, there are 4 ultrasonic sensors measuring real time distance values to detect the steps
of the stairs. It requires upper 2 sensors to be same values, lower 2 sensors to be same values
and at the same time lower 2 and upper 2 sensors’ values’ difference should be exact to the
steps’ width. Robot also consists of a gyroscopic sensor to sense the slope. 12 Volts 7Ah DC
power supply used in this project. Which is enough for the robot if we consider, a motor will
draw 530mAmps in maximum load conditions. 4 𝑥 530𝑚𝐴 = 2120𝑚𝐴𝑚𝑝𝑠 and 7000𝑚𝐴ℎ ÷
2120𝑚𝐴 = 3.30 ℎ𝑜𝑢𝑟𝑠 of energy will be supplied in maximum load conditions of motors.
(Sensors and microcontroller’s energy consumption is neglected because of very low values).
7
Figure 6 Sensor Array testing prototype
8
2.1.4 Standards and constraints
This robot complies with all the standards to IEEE, CE, IEC and ISO because it’s made by all
original electrical, electronic and electromagnetic devices. Cabling made safely to not to create
a dangerous situation to users. The power supply that provides power to the system and the
motors is 12 Volts DC and its below dangerous limit (50 Volts).
2.1.5 Conceptualization
These projects have two option due to economical boundaries and being familiar with the
sensors. 4 motors have chosen because of the mechanical design. Motor’s specifications are;
50 RPM 530 mA strain current and 1.21 N/m. 12 Volts 7 Ampere. Hour DC power supply has
chosen because of the requirements of the 4 motors.
Robot contains 7 ultrasonic sensors; 4 on the front, 1 on left, 1 on right and 1 on the back. A
gyroscope placed on top of the robot and Arduino on top as well. 4, 12 Volts redactor motors
have placed; 2 on tracks and 2 on back wheels. The detection of stairs system works thanks to
4 ultrasonic sensors placed in front of the robot accompanied by a gyroscope and the Arduino
MEGA.
9
Figure 8 Sensor Array Placed on Robot
In this project this problem is solved by using a 12 Volts 7Ah dry battery. This power supply
offers minimum 3 hours of operation time.
The ultrasonic sensors used in this project (HC-SR04) can be not sensitive enough for the
purpose but in the coding part it’s eliminated by adding tolerance to the measurement and
calibrating.
This robot will be used in various environments and it is autonomous. These conditions make
the robots movements, and data needing to understand to environment makes harder to
estimate. And also, the operation areas of the robot are rugged. These difficulties overcame by
using heavy duty parts and fastening the electronics to the sturdy places.
10
2.1.7.4Mistakes at testing
Mistakes at testing can be very dangerous because it can cause irreversible damages to the
robot itself. If robot falls during testing it can break the system and itself, and we could not be
able to determine the mistake as well. And on the other hand, one mistake that we overlooked
on testing can emerge at the presentation. These difficulties overcame by creating a safe
environment to test and test as much as possible.
2.2 Materialization
The physical structure of sensor array has not been changed since 4991 course and it is built as
planned. The framework that is 3D printed has some aesthetical flaws due to 3D printer itself
but it fulfils the tasks. The results are:
Figure11
Figure 9 Back Side OfSensor
side of Sensor Array
11
The first thing that team started to work on the code is to calibrate the distance sensors, get
values from them and to code the microcontroller to perceive the stairs. Then team worked on
program the microcontroller to make it capable of making decisions. After all the main
structure of coding is finished, team worked on making it more optimized and efficient.
There are some challenging stairs climbing robots. However almost all of them have risks on
at least one part of working algorithm. For instance, tank track-based robots are having a great
risk of turn over. If the motor calculations are not done perfectly, torque might be too much for
that robots’ weight and it could turn over. For legged based robots, stairs surface is vital.
Depending on the material that is assembled on the robot`s touching point to the ground, robot
can slip and fall over.
As shown in Fig 10 in this type of designs carrying parts are the legs of the robot. Robot
climbs the stairs with its legs 2 to 4, as a living being.
12
Figure 13 Legged Based Robot
Other Examples
This robot complies with all the standards to IEEE, CE, ASTM, IEC and ISO because it’s made
by all original electrical, electronic and electromagnetic devices. Cabling made safely to not to
create a dangeroussituation to users. The power supply that provides power to the system and
the motors is 12 Volts DC and its below dangerous limit (50 Volts).
2.4.1 Constraint
• No jumping or flying.
• No remote control; the vehicle must be autonomous with all sensors, controls and
computationlocated on the vehicle.
• The robot must not be assisted in any way by a human once it starts its climbing
task from the floorbelow the first step.
• The robot must carry its own energy source.
• The robot must start at the bottom of the stairs, not touching the first step.
A robot will be designed and constructed to autonomously climb the top floor of our Faculty
Buildings).
•
Figure 17 Example of Robot Climbing on Staircase
14
2.4.2 Conceptualization
The tracked-wheeled mobile robot has gained significant attention in military, agricultural,
construction, and other fields due to its exceptional mobility and off-road capabilities.
Therefore, it is an ideal choice for reconnaissance and exploration tasks.
In these models, robot is carried by wheels or tank tracks. Instead of acting like a living creature
it moves as a vehicle. In addition, calculations are quite different than legged based robot.
Figure 12 are alternative concept design. We designed the robot to prevent those risks.
With combining wheel and tank-track systems the robot will not turn over or slide on the
ground and fall.
15
.
Figure 19 Side view of Robot
There are 3 vital aspects of this part; Weight, Strength, Economy. Our robot (hereinafter called
Necati) must be as light as possible in order to stay in our targeted budget. Heavier the
robot gets, much more expensive motors we will need.
Product selection is another significant point as well. Necati is divided into 2 main subsystems
and selected it`s materials in order to achieve the best weight strength economy ratio.
PVC pipes are selected to connect entire robot together. The main reason of this choice is that
PVC pipesare light and have the durability we need. Also, it is cheap and could be gathered
easily.
16
Figure 20 Upper Body Exploded View (I)
Parts Details
TTB is the first part that interacts with stairs. Therefore, it is a considerable part. This
subsystem consists of 3 parts, wheels, plate and belt. TTB works as a simple pulley system.
Belt climbs stairs with rotation which is supplied by wheels and plate holds these parts as one.
Selected materials of these parts are given below/
• Plate: Aluminum
• Wheel: Rubber, Epoxy
• Belt: Rubber
Part Details
18
2.4.3.3 Supporting Components
Apart from these subsystems there are also supporting equipment such as connections, rear
wheels etc.
2.4.4 Motors
DC Motors are placed into rear supporting wheels and rear TTB (Tank Truck Base) wheels. In
this placement, rear TTB wheels are main carrier of the system. Rear supporting motors will
19
help climbing and prevent possible sliding backwards.[8]
To select an optimum DC Motor, a torque calculation is needed. After finding the required
torque, DC Motor could be found on the market. Relevant amps and power values are discussed
with electronics team in order to help them select the battery.
Robot contains 7 ultrasonic sensors; 4 on the front, 1 on left, 1 on right and 1 on the back. A
gyroscope placed on top of the robot and Arduino on top as well. 4 12 Volts redactor motors
have placed; 2 on tracks and 2 on back wheels.
• Brand: ZHENGK
• 12V 50 RPM 42mm Geared DC Motor Working Voltage Range: 12V
• Speed: 50 RPM
• Motor Diameter: 36mm
• Reducer Diameter: 42mm
• Idle Current Draw: 55mA
• Power: 7.5W
• Weight: 230gm
20
2.4.4.1 DIMENSION OF MOTOR
DC Motor Ratio 1/11.7 1/23 1/31.6 1/38.9 1/62.2 1/84.2 1/103.7 1/166 1/184.3 1/224.6 1/442
ZYTD-38S-R No 250 127 92 75 47 35 28 18 16 13 7
(12V-3000R) load(r/min)
On 210 107 78 63 40 29 24 16 14 12 6
load(r/min)
Rated Torque 1.1 2.2 2.8 3.5 5.6 7 8.5 9 12 12 12
(Kgf.cm)
ZYTD-38S-R No 430 218 160 130 81 60 48 30 27 22 11
(24V-5000R) load(r/min)
On 355 180 130 106 71 52 43 28 25 21 11
load(r/min)
Rated Torque 2 4 5 6.2 7 9 9 9 12 12 12
(Kgf.cm)
2.4.4.3 GEARBOX
21
2.4.4.4 Basic Theoretical Calculations Variables
Equations
1 2𝜋𝑟 1
𝑚𝑚𝑜𝑡𝑜𝑟 ∗ = 2 𝑚𝑣 2
2 60
1 2 2 1 21 2 1 1
[2 𝑚1𝑣𝑔𝑒𝑎𝑟1 + 2 𝑙1𝑤𝑔𝑒𝑎𝑟1 ] + [2 𝑚2𝑣𝑔𝑒𝑎𝑟2 + 2 𝑤𝑔𝑒𝑎𝑟2 ] = [2 𝑚𝑝𝑎𝑙𝑒𝑡 𝑣𝑝𝑎𝑙𝑒𝑡 ]
22
2.4.4.5 Robot Stability
𝜋 ℎ
𝛿 = 2 − arctan (𝑏) − arctan 𝑦𝐺 /(𝑥𝐺 − 𝑆𝑡 )
𝐹𝑖𝑛𝑎𝑙𝑆𝑡𝑎𝑏𝑖𝑙𝑖𝑡𝑦(𝐷𝑠 ) = 𝐸𝑡 /𝐸0
Value of lowest torque could be obtained on the stand still case of robot on the sloppy stairs.
Total torque must be qual to weight`s torque to keep the robot stationary on the stair.
To build a basic torque calculation we took our reference surface as hypotenuse of stairs. Here
is simplified version of image.
23
Figure 29 Torque Calculation Diagram
Since there will be only one type of motor for every wheel and gear, we just need to calculate
total weight’s torque and divided by 4 (Total weight is considered as 10 kg).
G*0.124 = Tmotors
12.16 = 𝑇𝑚𝑜𝑡𝑜𝑟𝑠
12.16
𝑇𝑚𝑜𝑡𝑜𝑟𝑠 = = 3.04𝑁
4
Fe Si Cr Mn Mg Zn Cu Ti Other Al
0.5 0.6- 0.1 0.2-0.8 0.8-1.2 0.25 0.6- 0.1 0.15 Rest
1.0 1.1
24
(ii) Physical Properties
Properties Values
Elongation 25%
Hardness 30
(iv) Characteristic
25
2.4.5 PVC Conveyor Belt
Polyvinyl Chloride (PVC) conveyor belts are standard belts in the food industry that can be
used for basic applications across food processing and hand. PVC has grown to become the
third most widely produced plastic, known for its durability and ease of use.[5]
PVC (palatized) which has lower inelasticity than PVC-U is easier at applications of molding
and extruding. PVC`s is quite low compared to PVC-U in terms of temperature resistance and
resistivity to chemicals.
26
2.4.5.2 Mechanical Properties
Properties Values
Density(g/cc) 1.3-1.45
Flexural Strength 72
Polyvinyl Chloride, is a low maintenance building material used UPVC, also known as
Unplasticized as a substitute for painted wood, mostly for window frames and doors. UPVC is
a cheaper alternative to expensive hardwood timber and aluminum.
UPVC is proven to offer excellent performance and durability; it is long-lasting and requires
very little maintenance making it the perfect material for doors and windows. It is also
recognized for its thermal efficiency, sound insulation, and great value for money.
27
2.4.6.1 U PVC (Unplasticized)
PVC-U(unplasticized), which has great tensile stress of roughly 52 MPa at 293K, is hard and
inelastic and it has resistivity to chemicals. Normally, PVC-U could be used up to 333K,
however the real temperature is conditional on applied stress and environment.[4]
Figure 31 UPVC
28
2.4.6.1 Mechanical Properties
Properties Values
Density (g/cm3) 1.41
Tensile Strength N/mm2 52
Yield Strength N/mm2 48
Flexural Strength (N/mm2) 88
Modulus of Elasticity, (N/mm2) 3316
Hardness (Rockwell R) 115
Poisson’s ratio 0.4
Different dimension of UPVC Frame are used in our project to connect the joint of Frame in
Rocker Bogie Mechanism.
29
Figure 32 UPVC Frame 2
30
Figure 35 UPVC Frame 5
31
2.4.7 Carbon/Epoxy Composite Rod (Wheel):
Carbon fibre reinforced composites have exceptional mechanical properties. These strong, stiff
and lightweight materials are an ideal choice for applications where lightweight & superior
performance are important, such as components for aircraft, automotive, rail and high-quality
consumer products[6]. Composite materials are produced by combining a reinforcing fibre
with a resin matrix system such as epoxy. This combination of fibre and resin provides
characteristics superior to either of the materials alone and are increasingly being used as
replacements for relatively heavy metallic materials.
32
2.4.7.1 Mechanical Properties
Properties Value
Polylactic acid (PLA) is a biodegradable thermoplastic derived from renewable resources like
corn starch or sugarcane. It's commonly used as a substitute for traditional petroleum-based
plastics in various applications, including packaging, food containers, disposable tableware,
3D printing, and biomedical implants.
PLA is preferred for its eco-friendliness and biodegradability, making it a popular choice for
industries aiming to reduce their environmental impact. It's compostable under the right
conditions, breaking down into natural compounds like carbon dioxide and water.
33
Figure 40 PLA Frame 1
34
Figure 42 PLA Frame 3
35
Break, 73°F 1.0 to 12 % ISO 527-2
Flexural Modulus
73°F 330000 to 652000 psi ASTM D790
73°F 44200 to 1.38E+6 psi ISO 178
Flexural Strength
73°F 8360 to 15800 psi ASTM D790
73°F 1310 to 16000 psi ISO 178
Density/Specific Gravity
-- 1.22 to 1.30 ASTM D792
73°F 1.24 to 1.25 g/cm³ ISO 1183
Note:
1 PSI = 0,00689475728 MPa
36
Our distance sensors are fully connected to microcontroller. They are taking power and
sending signals to microcontroller directly. Our battery is supplying power to microprocessors
and motors via motor drivers. Also, microcontroller sends signals to drivers to control the
motors.
2.4.8.2 Interface Design
37
2.4.9 Risk Management
38
2.4.9.1 Risk Matrix
2.4.9.2 Materialization
The robot could not be physically built due to the pandemic.
2.4.9.3 Evaluation
The robot, where we have made theoretical research, calculation and technical drawings, has
not come to a conclusion due to test requirements and not being built
39
CHAPTER 3
WORKING PRINCIPLE
In present time almost all the people are familiar with robots. Robots plays a very important in
human Life. Robots are a machine which reduces the human efforts in heavy works in
industries, building etc. and makes life easy. In Our previous Projects we have made some
robots like line follower, DTMF controlled robot, gesture-controlled robot, computer-
controlled robot, but in this tutorial, we are to design a very interesting robot, that is RF.
controlled Robot. Interesting thing in the project is that it will run without using any
microcontroller. Here we will run it directly by RF Decoder and Motor Driver
40
RF controlled robot is controlled by using Four push button placed at transmitter side. Here
we only need to push the buttons to control the robot. A transmitting device is used in your
hand which also contains a RF Transmitter and a RF Encoder. This transmitter part will transmit
command to robotso that it can do the required task like moving forward, reverse, turning left,
turning right and stop. All these tasks will perform by using four push buttons that are placed
on RF transmitter.
COMPONENTS QUANTITY
DC Motor 2
HT12D 1
HT12E 1
RF Pair 1
Motor Driver L293D 1
9 Volt Battery 3
Battery Connector 3
Connecting wires -
Robot Chassis 1
7805 2
750K resistor 1
33K resistor 1
1K Resistor 1
PCB -
This is a ASK Hybrid Transmitter and receiver module operates at 433Mhz frequency.
This module has a crystal stabilized oscillator for maintain accurate frequency control for best
range. There we have to need only one antenna externally for this module.
41
Figure 47 RF Transmitter & Controller
• Sensitivity: -105dBm
• IF Frequency: 1MHz
• Low Power Consumption
• Current 3.5 mA
• Supply voltage: 5 volts
This Module is very cost efficient where long range RF communication is required. This
module does not send data using UART communication of PC or microcontroller directly
because there is lots of noise at this frequency and its Analog technology. We can use
this module with the help of encoderand decoder ICs which extract data from the noise.
42
The range of transmitter is about 100 meters at maximum supply voltage and for 5
volt the range oftransmitter is about 50-60 meter with using a simple wire of single
code 17cm length antenna.
STEP 1: When we press first button (1 mention on circuit and hardware) robot start to
moving left side and moving continues until the button is released.
STEP 3: When we press first and second button at the same time, Robot start moving in
forward directionuntil push buttons are released.
44
STEP 4: When we press third and fourth button at the same time, robot start moving in
backward direction andkeep going until push buttons are released.
45
CHAPTER 4
RESULT
Due to Covid-19 pandemic the project did not finish as planned. The teams are worked
separately and created their own products. For the electrical and electronics engineering team
the final results can be seen at this video: https://www.youtube.com/watch?v=yyYww8ND5vU
For the mechatronics engineering side, technical drawing can be found at Appendix B.
46
CHAPTER 5
CONCLUSION
Due to Covid-19 pandemic, the teams couldn’t finish this project as planned before at Capstone
Project 4991 course. But for this reason, this project can’t be specified directly as a failure.
Teams tried to adapt the project into to the situation and created systems for required objectives
that discussed and determined with their advisors before. The electrical and electronics team
has built and tested the designed sensor array and developed the coding for the robot. For the
mechatronics side, the team has developed 3D modelling.
In the future, if the suitable environment and time occurs, teams would like to integrate the
systems intofinal product and test the project as a whole, and develop it if any faults occur.
Meanwhile working on thisproject, the major things that the teams are learnt from this project
are how to work remote and far awayfrom each other, and how to deal with extraordinary
situations, as the world is going through in 2020.Other than that, teams learnt how to work
as a team. The team members didn't stay as a team for so longbefore. Also, the team gained
experience on programing language C, SolidWorks CAD, and on project management.
47
CHAPTER 6
REFRENCES
48
CHAPTER 7
APPENDIX A
//Libraries
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>
//Variables
float oldacc;
float avgacc;
float newacc;
int trigPin1 = 4;
int echoPin1 = 3;
int trigPin2 = 7;
int echoPin2 = 6;
int trigPin3 = 9;
int echoPin3 = 8;
long duration1, duration2, duration3, duration4, cm1, cm2, cm3, cm4, inches1, inches2,
inches3, inches4;
int motor_speed;
int motor_speed1;
void setup(void) {
delay(10); // Will pause until serial console opens //Initializng the Motor Pins
pinMode(enA, OUTPUT);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
pinMode(in3, OUTPUT);
pinMode(in4, OUTPUT);
pinMode(enB, OUTPUT);
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(trigPin2, OUTPUT);
pinMode(echoPin2, INPUT);
pinMode(trigPin3, OUTPUT);
pinMode(echoPin3, INPUT);
pinMode(trigPin4, OUTPUT);
pinMode(echoPin4, INPUT);
Serial.println("MPU6050 test!");
// Try to initialize!
if (!mpu.begin()) {
while (1) {
delay(10); } }
Serial.println("MPU6050 Found!");
//Calibration
mpu.setAccelerometerRange(MPU6050_RANGE_8_G);
switch (mpu.getAccelerometerRange()) {
case MPU6050_RANGE_2_G:
Serial.println("+-2G");
break;
case MPU6050_RANGE_4_G:
Serial.println("+-4G");
break; \
case MPU6050_RANGE_8_G:
Serial.println("+-8G");
break;
case MPU6050_RANGE_16_G:
Serial.println("+-16G");
break;
mpu.setFilterBandwidth(MPU6050_BAND_21_HZ);
switch (mpu.getFilterBandwidth()) {
case MPU6050_BAND_260_HZ:
Serial.println("260 Hz");
break;
case MPU6050_BAND_184_HZ:
Serial.println("184 Hz
break;
case MPU6050_BAND_94_HZ:
Serial.println("94 Hz");
break;
case MPU6050_BAND_44_HZ:
Serial.println("44 Hz");
break;
case MPU6050_BAND_21_HZ:
Serial.println("21 Hz");
break;
case MPU6050_BAND_10_HZ:
Serial.println("10 Hz");
break;
case MPU6050_BAND_5_HZ:
Serial.println("5 Hz");
break;
Serial.println("");
delay(100);
void loop() {
sensors_event_t a, g, temp;
/* Serial.print("Acceleration X: ");
Serial.print(a.acceleration.x);
Serial.print(", Y: ");
Serial.print(a.acceleration.y);
Serial.print(", Z: ");
Serial.print(a.acceleration.z);
Serial.println(" m/s^2"); */
//SMOOTHING PART (cycles 25 times, adds them to each other to take average) for (int
cycle = 0; cycle < 25; cycle++) {
sensors_event_t a, g, temp;
mpu.getEvent(&a, &g, &temp);
Serial.println(degree);
newacc = oldacc;
newacc = 0;
climbing();
climbing();
} else {
detection();
Serial.println("");
delay(10);
}
// Detecion function
void detection() {
// Set motors to 55
analogWrite(enA, 55);
analogWrite(enB, 55);
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
digitalWrite(in3, LOW);
digitalWrite(in4, HIGH);
digitalWrite(trigPin1, LOW);
delayMicroseconds(5);
digitalWrite(trigPin1, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin1, LOW);
pinMode(echoPin1, INPUT);
digitalWrite(trigPin2, LOW);
delayMicroseconds(5);
digitalWrite(trigPin2, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin2, LOW);
digitalWrite(trigPin3, LOW);
delayMicroseconds(5);
digitalWrite(trigPin3, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin3, LOW);
digitalWrite(trigPin4, LOW);
delayMicroseconds(5);
digitalWrite(trigPin4, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin4, LOW);
pinMode(echoPin4, INPUT);
Serial.print(inches2);
Serial.print("in2, ");
Serial.print(inches3);
Serial.print("in3, ");
Serial.print(inches4);
Serial.print("in4, ");
Serial.print(cm1);
Serial.print("cm1 ");
Serial.print(cm2);
Serial.print("cm2 ");
Serial.print(cm3);
Serial.print("cm3 ");
Serial.print(cm4);
Serial.print("cm4 ");
Serial.println();*/
Serial.print("SEARCHING");
{ Serial.print("Stairs found");
Serial.println("");
//Just to be sure that gyro is not zero and robot started to climbing the stairs
analogWrite(enA, 100);
analogWrite(enB, 100);
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
digitalWrite(in3, HIGH);
digitalWrite(in4, LOW);
digitalWrite(in2, LOW);
digitalWrite(in3, LOW);
digitalWrite(in4, LOW);
void climbing() {
Serial.print("CLIMBING");
analogWrite(enA, 100);
analogWrite(enB, 100);
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
digitalWrite(in3, HIGH);
digitalWrite(in4, LOW); }