Académique Documents
Professionnel Documents
Culture Documents
CONTENTS Page No
Certificate i
Declaration ii
Preface iii
Abstract iv
Acknowledgement v
Table of Contents vi
List of figures x
List of Tables xii
Abbreviations xiii
Chapter 1: Introduction 1
1.1 Basic Introduction 1
1.2 About the Project 2
1.3 Need of Project 5
1.4 Project Plan
vi
2.3 Brushless DC motor 11
2.3.1 Types of Motors 13
2.4 Propellers 15
2.5 Flight Controller 16
2.6 Fly Sky Transmitter and Receiver 17
2.7 Arduino Uno 19
2.8 GSM Modules 20
2.9 Carbon dioxide Sensor 21
2.10 Lipo Battery 22
Chapter 4:Application 38
4.1 GSM module 38
4.1.1 Features 38
4.1.2 Application 38
4.1.3 Specifications 38
4.2 Interfacing the modem to Arduino 40
4.3 Working of GSM –SIM900A 41
6.2.6 Boards 46
6.2.7 Steps for writing program code 46
vii
6.3 Applications 47
6.3.1 Civil and Commercial Applications 47
6.3.2 Military Applications 49
6.3.3 Environmental Applications 49
6.3.4 Industrial Applications 50
6.3.5 Agriculture Applications 50
6.3.6 Recent real time applications 50
6.4 Limitations 50
6.5 Modifications 51
References 54
vii
List of Figures
x
3.3 Forward Motion 25
3.4 Back Ward Motion 25
3.5 Right Motion 25
3.6 Left Motion 25
3.7 Pitch direction 26
3.8 Roll direction 26
3.9 Yaw direction 26
3.10 Pulse width Modulation 27
3.11 Pulse Position Modulation 27
3.12 PWM to PPM conversion 28
3.13 Digital Radio Software 29
3.14 HJ-450 4 axis Frame 30
3.15 Chassis 30
3.16 ESC Wiring 31
3.17 Over View of HJ 450 31
3.18 Brush less Dc Motor 1000 kv 32
3.19 Propellers 32
3.20 Flight Controller KK.2.1.5 34
4.1 Interfacing Gsm Module to Arduino 40
4.2 Bread board Connections of SIM 900A 40
5.1 Interfacing of CO2 sensor with Arduino 42
5.2 Arduino Pin Connection 43
6.1 Pick and drop Quadcopter 47
6.2 Air Inspection Quadcopter 48
6.3 Aerial Quadcopter 48
6.4 Ambulance Quadcopter 49
6.5 Fire Control Quadcopter 49
6.6 Agriculture Quadcopter 50
7.1 Quadcopter 53
xi
List of Tables
xii
Abbreviations
xiii
Chapter 1: Introduction
They are sometimes referred to as Drones, Quadrotors or Quadrocopters. In the standard format
two propellers will spin in a clockwise direction with the other two spinning in an anticlockwise
direction allowing the craft to vertically ascend, hover in the air and fly in a designated direction.
The Quadcopter is a simple format with very few moving parts and has rapidly become a favorite
vehicle for remote control enthusiasts and is widely being used as an effective Aerial photographic
platform. A large majority of the Quadcopters were originally built by hobbyists who understood
the simplicity of the vehicle. By adding four motors and four propellers to a lightweight frame
constructed of light wood, carbon fiber, or fiber glass then connecting it to a remote control
transmitter via a small control board fitted with a gyroscopic stabilization system and connected to
a Lipo battery these craft were relatively simple to construct. Experimentation has led to the
configuration of variations of the Quadcopter by using different amounts of arms we have seen
Tricopters, Hex copters and Octocopters (with eight arms). Other configurations include a Vtail and
an H frame variation.
The rapid advances in computing power, the efficiency of the coreless or brushless motors, smaller
microprocessors the development of batteries and gyroscopic and accelerometer technology has all
led to a proliferation of Quadcopter designs. The first Quadcopters were not designed for acrobatic
flight as the development was concentrated on simple stable flight patterns but now this has all
changed. Micro and even Nano Quadcopters are being produced mainly in China that can perform
intricate aerobatic moves, flips and barrel rolls that years ago would have been unthinkable. Chinese
companies like Hubsan have made tiny Nano Quadcopters. Quadcopters differ from conventional
helicopters which use rotors which are able to vary the pitch of their blades dynamically as they
move around the rotor hub. In the early days of flight, quadcopters (then referred to as 'quadrotors')
were seen as possible solutions to some of the persistent problems in vertical flight; torque-induced
control issues (as well as efficiency issues originating from the tail rotor, which generates no useful
lift) can be eliminated by counter-rotation and the relatively short blades are much easier to
construct.
1
1.2 About the Project
Quadcopter, also known as quadrotor helicopter or quadrotor, is a multirotor helicopter that
is lifted and propelled by four rotors. Quadcopters are classified as rotorcraft, as opposed to
fixed-wing aircraft, because their lift is generated by a set of rotors. In a quadcopter, two of
the propellers spin in one direction (clockwise) and the other two spin the opposite direction
(counterclockwise) and this enables the machine to hover in a stable formation.
Firstly the motors which we used have an obvious purpose: to spin the propellers. Motors
are rated by kilovolts, the higher the kV rating, the faster the motor spins at a constant
voltage. Next the Electric Speed controller or ESC, is what tells the motors how fast to spin
at any given time. We need four ESCs for a quadcopter, one connected to each motor. The
ESCs are then connected directly to the battery through either a wiring harness or power
distribution board. Many ESC1s come with a built in battery eliminator circuit (BEC), which
allows you to power things like your flight control board and radio receiver without
connecting them directly to the battery. Because the motors on a quadcopter must all spin at
precise speeds to achieve accurate flight, the ESC is very important.
Our Quadcopter uses four propellers, each controlled by its own motor and electronic speed
controller. Using accelerometers we are able to measure the angle of the Quadcopter in terms
of X<Y and Z and accordingly adjust the RPM of each motor in order to self-stabilize itself.
the Quadcopter platform provides stability as a result of the counter rotating motors.
For Hovering over the skies the flight controller which is used is the ‘brain’ of the
quadcopter. It houses the sensors such as gyroscopes and accelerometers that determine how
fast each of the quadcopter’s motors spin. Its purpose is to stabilize the aircraft during flight
and to do this, it takes signals from on-board gyroscopes (roll, pitch and yaw) and passes
these signals to the Atmel644PA processor, which in-turn processes signals according the
users selected firmware (e.g. Quadcopter) and passes the control signals to the installed
Electronic Speed Controllers (ESCs) and the combination of these signals instructs the ESCs
to make fine adjustments to the motors rotational speeds which in-turn stabilizes the craft.
For measuring the amount of Carbon dioxide present in the atmosphere we used carbon
dioxide gas sensor. The most common principles for CO2 sensors are infrared gas sensors
(NDIR) and chemical gas sensors. Measuring carbon dioxide is important in monitoring
indoor air quality, the function of the lungs in the form of a capnography device, and many
industrial processes. Quadcopter hovering over skies installed with gas sensor measure the
amount of carbon dioxide present.
2
1.3 Block Diagram
4. Propeller 4
5. Flight controller KK 2.1.5 1
9. Co2 Sensor 1
10 Battery and charger 1
11 Connectors 8
3
1.5 Literature review
The quad rotor project required extensive research into similar systems. By reviewing others
work, we used this insight to develop our system. To this end, research papers from various
quadrotor groups were used as guides in the early development of the dynamics and control
theory.
Quad rotor platforms used in research remain somewhat the same, having four electric motors
pointed vertically upwards and equally spaced in a square fashion. However, there were some
groups whom designed their own platforms, whereas commercial models available to the
consumer were the Dragan Flyer, the X-UFO and the MD4-200.
1.6 Motivation
This project created a platform to learn about the unmanned aerial vehicles such as a
Quadcopter. This expands the scope of the electrical engineering education to include the
control and the understanding of the mechanical components. The Quadcopter has many
applications that we are interested to develop like mapping and video streaming especially in
a disaster and dangerous area. It also open up the possibilities to broaden the understanding
and applications of control systems, stabilization, artificial intelligence and GPS navigation as
it applies to the Quadcopter
Quadcopter unmanned aerial vehicles are used for surveillance and reconnaissance by military
and law enforcement agencies, as well as search and rescue missions in urban environments.
The military use of unmanned aerial vehicles (UAVs) has grown because of their ability to
operate in dangerous locations while keeping their human operators at a safe distance. The
larger UAVs also provide a reliable long duration, cost effective, platform for reconnaissance
as well as weapons. They have grown to become an indispensable tool for the military. One
such example is the Aeryon Scout, created by Canadian company Aeryon Labs which is a small
UAV that can quietly hover in place and use a camera to observe people and objects on the
ground.
In addition to the military uses of the small UAV, we were interested in evaluating applications
in the commercial and industrial sector. Our premise was that if smaller and cheaper UAVs
become readily available, new markets and uses will emerge. Potential new markets in
commercial and industrial applications include inspecting pipelines or even inspecting
dangerous areas like a meltdown site at a nuclear power plant. Disaster relief or crop
assessment seems also to be likely areas where small UAVs could be useful. We were also
motivated by on-campus uses such as monitoring parking or quick-look video of an incident,
or monitoring hard to reach locations, or exploration of a collapsed building or other dangerous
location.
1.7 Objective
The goal of our project is to design, implement, and test a stable flying Quadcopter that can be
used to collect and save Carbon dioxide gas sensing data along with the location using GSM
module. Our plan was to choose an existing Quadcopter kit and add the required components
to give the Quadcopter the capabilities to gather and log data autonomously. A GSM module
will be used to determine the current position and an SIM card will be used to track location.
If this goal is accomplished, our team would also like to design and implement some
autonomous commands that may help aid a user in collecting the data. These commands
include the auto-landing command, auto-move command, auto-homing command, and hold
position command.
4
The final Quadcopter design had to meet the following specifications:
1. The Quadcopter must be capable of flying and landing in stable manner.
2. The Quadcopter must be capable of determining its current location using GSM data.
3. The Quadcopter must be capable to storing and logging data.
4. The Quadcopter must be able to perform the following commands:
• Auto-landing
• Auto-move
• Auto-homing
• Hold position
5
1.11 Controls
Roll – Done by pushing the right stick to the left or right. Literally rolls the quadcopter,
which maneuvers the quadcopter left or right.
Pitch – Done by pushing the right stick forwards or backwards. Tilts the quadcopter,
which maneuvers the quadcopter forwards or backwards.
Yaw – Done by pushing the left stick to the left or to the right. Rotates the quadcopter left
or right. Points the front of the copter different directions and helps with changing
directions while flying.
Throttle – Engaged by pushing the left stick forwards. Disengaged by pulling the left
stick backwards. This adjusts the altitude, or height, of the quadcopter.
Trim – Buttons on the remote control that help you adjust roll, pitch, yaw, and throttle if
they are off balance.
The Rudder – You might hear this term thrown around, but it’s the same as the left stick.
However, it relates directly to controlling yaw (as opposed to the throttle).
Aileron – Same as the right stick. However, it relates directly to controlling roll (left and
right movement).
The Elevator – Same as the right stick. However, it relates directly to controlling pitch
(forwards and backwards movement).
Maneuvering:
Bank turn – A consistent circular turn in either the clockwise or counterclockwise
direction.
Hovering – Staying in the same position while airborne. Done by controlling the throttle.
Roll
Roll moves your quadcopter left or right. It’s done by pushing the right stick on your
transmitter to the left or to the right.
It’s called “roll” because it literally rolls the quadcopter.
For example, as you push the right stick to the right, the quadcopter will angle diagonally
downwards to the right.
Figure 1.4 Example of a quadcopter rolling left and right. Notice the tilt of the quadcopter
Pitch
6
Pitch is done by pushing the right stick on your transmitter forwards or backwards. This will
tilt the quadcopter, resulting in forwards or backwards movement.
Yaw
This is done by pushing the left stick to left or to the right.
Throttle
Throttle gives the propellers on your quadcopter enough power to get airborne. When flying,
you will have the throttle engaged constantly. To engage the throttle, push the left stick
forwards. To disengage, pull it backwards.
Figure 1.6 Simple sketch of roll, pitch, yaw, and throttle on a transmitter (left image) and
quadcopter (right image).
7
Chapter 2: Component Specifications
Every quadcopter or other multirotor aircraft needs a frame to house all the other components.
Things to consider here are weight, size, and materials. They’re strong, light, and have a
sensible configuration including a built-in power distribution board (PDB) that allows for a
clean and easy build. There are also a ton of spare parts and accessories available from many
different websites. There are also a ton of clones out there, most of which include the same
built-in PDB and durable construction as the original. Parts and accessories are 100%
compatible and interchangeable.
Frames can also be built at home using aluminium or balsa sheet. But results will vary from
manufactured frames, both aesthetically and in terms of flight attributes.
8
Figure 2.2 Aerial Quadcopter
2. Sport:
Super light-weight and extremely stiff for crisp and responsive control.
3. Sport FPV:
Lots of mounting surfaces for extra electronics and action cameras.
9
4. Mini: Very small and virtually indestructible
Specifications
Current Draw: 30A Continuous/35A Burst
•Voltage Range: 2-4s Li poly
•BEC: 5V3A Linear
•Weight: 35g
Working:
In a brushless DC motor (BLDC), you put the permanent magnets on the rotor and you move
the electromagnets to the stator. Then you use a computer (connected to high-power
transistors) to charge up the electromagnets as the shaft turns. This system has all sorts of
advantages:
Because a computer controls the motor instead of mechanical brushes, it's more
precise. The computer can also factor the speed of the motor into the equation. This
makes brushless motors more efficient.
There is no sparking and much less electrical noise.
There are no brushes to wear out.
With the electromagnets on the stator, they are very easy to cool.
You can have a lot of electromagnets on the stator for more precise control.
The only disadvantage of a brushless motor is its higher initial cost, but you can often recover
that cost through the greater efficiency over the life of the motor. The poles on the stator of
a two-phase BLDC motor used to power a computer cooling fan.
Specifications:
KV: 1300KV/1000KV/850KV/750KV
Pull: 930g/890g/875g/866g
Motor size(mm): Ф28*30
Battery: 2-4s Li po
12
Figure 2.9 Brushless Dc motor 1000 kv
Surface Permanent Magnet (SPM): This type has a permanent magnet affixed to the outside
of the rotor, and magnetic permeability is constant through all positions.
13
Interior Permanent Magnet (IPM): This type has a permanent magnet embedded inside the
rotor, and since the magnetic permeability varies with position, reluctance torque can be used.
Since there is no structure for mechanically switching the direction of current, this needs to
be performed electronically using an inverter circuit. By driving an inverter circuit using a
microcontroller, etc., a three-phase alternating-current voltage is applied to the stator,
generating a rotating magnetic field.
Driving waveforms can be divided into the following two main types.
Trapezoidal wave drive: Drives by applying trapezoidal (rectangular) wave voltage.
Sinusoidal wave drive: Drives by applying sinusoidal wave voltage in order to suppress the
vibration, noise, and torque ripple which are issues encountered with trapezoidal wave drive.
In many cases, vector control (fields oriented control) is use to control torque and phase in a
linearly independent manner. Since torque is proportional to drive current, high-speed and
high-precision position and speed control is possible by adding position and speed sensors.
In order to drive efficiently, it is necessary to detect the rotor (magnet) position. Hall sensors,
encoders, and resolvers are used for detecting position. Due to temperature limitations of
sensors and cost considerations, there are cases where rotor (magnet) position is estimated
from three-phase current or induced voltage without using sensors (sensor less position
estimation).
In general, industrial systems mainly use a sensor method and home appliance systems use a
sensor less position estimation method.
2.4. Propellers
Here in this project quadcopter there arises the need of two types of propellers to need the
purpose of flight. A pair of clockwise (CW) and anticlockwise (ACW) propellers are needed.
The care should be taken in finalizing the dimensions of the propellers.
A propeller is a type of fan that transmits power by converting rotational motion into thrust.
A pressure difference is produced between the forward and rear surfaces of the air foil-shaped
blade, and a fluid (such as air or water) is accelerated behind the blade. Propeller dynamics
can be modelled by both Bernoulli's principle and Newton's third law. A marine propeller is
sometimes colloquially known as pitch of the screw. Generally, increased propeller pitch and
length will draw more current. Also the pitch can be defined as the travel distance of one
single prop rotation. In a nutshell, higher pitch means slower rotation, but will increase your
vehicle speed which also use more power.
15
When deciding on length and pitch, you need to find a good balance. Generally a prop with
low pitch numbers can generate more torque. The motors don’t need to work as hard so it
pulls less current with this type of prop. If you want to do acrobatics, you will need torque
propellers which provide more acceleration and it puts less pressure on the power system.
Lower pitch propellers will also improve stability.
A higher pitch propeller moves greater amount of air, which could create turbulence and cause
the aircraft to wobble during hovering. If you notice this with your quadcopter, try to choosing
a lower pitched propeller.
When it comes to the length, propeller efficiency is closely related to the contact area of a
prop with air, so a small increase in prop length will increase the propeller efficiency. (Pretty
much like swimmers with larger hands and feet can swim faster, but also more tiring for them)
Working:
Its purpose is to stabilize the aircraft during flight. To do this it takes the signal from the
6050MPU gyro/acc (roll, pitch and yaw) then passes the signal to the Atmega644PA IC. The
Atmega644PA IC unit then processes these signals according the users selected firmware and
passes control signals to the installed Electronic Speed Controllers (ESCs). These signals
instruct the ESCs to make fine adjustments to the motors rotational speed which in turn
stabilizes your multi-rotor craft.
16
KK2.1.5 Multi-Rotor control board also uses signals from your radio systems receiver (Rx)
and passes these signals to the Atmega644PA IC via the aileron, elevator, throttle and rudder
inputs. Once this information has been processed the IC will send varying signals to the ESCs
which in turn adjust the rotational speed of each motor to induce controlled flight (up, down,
backwards, forwards, left, right, yaw).
Specifications:
Size: 50.5mm x 50.5mm x 12mm
Auto-level: Yes
AVR interface: standard 6 pin.
Transmitter
The transmitter itself generates a radio frequency alternating current, which is applied to the
antenna. When excited by this alternating current, the antenna radiates radio waves. The term
transmitter is usually limited to equipment that generates radio waves for communication
purposes; or radiolocation, such as radar and navigational transmitters. A transmitter can be
a separate piece of electronic equipment, or an electrical circuit within another electronic
device. A transmitter and receiver combined in one unit is called a transceiver.
17
The purpose of most transmitters is radio communication of information over a distance.
The information is provided to the transmitter in the form of an electronic signal, such as an
audio (sound) signal from a microphone, a video (TV) signal from a TV camera, or in
wireless networking devices a digital signal from a computer. The transmitter combines the
information signal to be carried with the radio frequency signal which generates the radio
waves, which is often called the carrier. This process is called modulation. A radio
transmitter is an electronic circuit, which transforms electric power from a battery or
electrical mains into a radio frequency alternating current, which reverses direction millions
to billions of times per second. The energy in such a rapidly reversing current can radiate off
a conductor (the antenna) as electromagnetic waves (radio waves).
Receiver:
A radio receiver is an electronic circuit that receives its input from an antenna, uses electronic
filters to separate a wanted radio signal from all other signals picked up by this antenna,
amplifies it to a level suitable for further processing, and finally converts through
demodulation and decoding the signal into a form usable for the consumer, such as sound,
pictures, digital data, measurement values, navigational positions, etc. The receiver is the
receiving end of a communication channel. It receives decoded messages/information from
the sender, who first encoded them. Sometimes the receiver is modelled so as to include the
decoder. Real-world receivers like radio receivers cannot be expected to receive as much
information as predicted by the noisy channel coding theorem.
In the given figure below
Right Stick: The right stick controls roll and pitch. In other words, it moves your quadcopter
left/right and backwards/forwards.
Left Stick : The left stick controls yaw and throttle. In other words, it rotates your
quadcopter clockwise or counterclockwise, and it adjusts the height at which you are flying
18
When you first push your throttle to get your quadcopter off the ground, you may notice that
the UAV automatically tilts and flies to one direction (or multiple). This happens when the
controls are unbalanced. To balance them out, certain controls need to be trimmed.
Specifications
Channels: 6channels
Model type: Heli, Airplane, Glider
RF power: less than 20db
Modulation: GFSK
Code type: PCM
Sensitivity: 1024
Low voltage warning: LED warning
DSC port: yes
Charger port: yes
Power: 12V DC(1.5AAA*8)
Weight:680g
ANT length:26mm
Features:
Status of Modem Indicated by LED
Simple to Use & Low Cost
On board switching type power supply regulator
RS232 output
Input Voltage: 12V
Default Baud Rate: 9600. Data bits: 8, Parity: None, Stop Bit: 1
Specifications for GPRS Data: GPRS class 10 max. 85.6 kbps (downlink), max. 42.8
kbps (uplink)
Low power consumption: 1.5mA(sleep mode)
Operation temperature: -40°C to +80 °C
Material: FR4 (High Quality)
20
Figure 2.18 SIM 900A
21
Figure 2.19 CO2 sensor- MG811
Just as with other lithium-ion cells, LiPos work on the principle of intercalation and de-
intercalation of lithium ions from a positive electrode material and a negative electrode
material, with the liquid electrolyte providing a conductive medium. To prevent the
electrodes from touching each other directly, a microporous separator is in between which
allows only the ions and not the electrode particles to migrate from one side to the other.
Unlike lithium-ion cylindrical and prismatic cells, which have a rigid metal case, LiPo cells
have a flexible, foil-type (polymer laminate) case, so they are relatively unconstrained. By
themselves the cells are over 20% lighter than equivalent cylindrical cells of the same
capacity.
22
Being lightweight is an advantage when the application requires minimum weight, such as
in the case of radio controlled models. However, it has been investigated that moderate
pressure on the stack of layers that compose the cell results in increased capacity retention,
because the contact between the components is maximized and delamination and
deformation is prevented, which is associated with increase of cell impedance and
degradation
23
Chapter 3: Project Description
24
Figure 3.3 Forward Motion Figure 3.4 Back ward Motion
26
Forward and backward motion
Forward (backward) motion is controlled by increasing (decreasing) speed of rear (front)
rotor. Decreasing (increasing) rear (front) rotor’s speed simultaneously will affect the pitch
angle of the Quadcopter.
27
PWM to PPM conversion
Pulse position modulation (PPM) is a pulse modulation technique that uses pulses that are of
uniform height and width but displaced in time from some base position according to the
amplitude of the signal at the instant of sampling. PWM refers to a pulse width modulation
signal, where the width of each pulse changes according to the amplitude of an analog signal.
PPM on the other hand refers to a pulse position modulation signal, where the width of each
pulse remains the same, but each pulse is displaced by a certain position based on the analog
signal amplitude. The basic need for conversion of a PWM signal received from a transmitter
into a PPM signal arises due to the fact that the main controller board used (ArduIMU) on a
Quadcopter can’t process a PWM signal and hence a converter is required to convert a PWM
signal to a PPM signal.
28
Figure 3.13 Digital Radio Software
3.3.1 Frame
Quadcopter frame can be called as the chassis of the quadcopter. The frame can be achieved
in different configurations such as +, X, H, etc…the selection of the frame is totally a user
defined choice based on his own purposes.
We used HJ 450 Frame. FlameWheel450 (F450) is a multi-rotor designed for all pilots for
fun. It can achieve hovering, cruising, even rolling and other flight elements. It can be
applied for entertainment, aerial photography, FPV and other aero-modeling activities.
When flying, the fast rotating propellers of FlameWheel450 will cause serious damage.
29
Safety precautions to be taken are:
1. Keep flying multi-rotor away from objects, such as obstacles, human beings..
2. Do not get close to or even touch the working motors and propellers, which will cause
Serious injury.
3. Do not over load the multi-rotor.
4. Check that the propellers and the motors are installed correctly and firmly before flight.
5. Make sure the rotation direction of each propeller is correct
6. Check whether all parts of multi-rotor are in good condition before flight. Do not fly with
old or broken parts.
7. Use DJI parts as much as possible.
3.3.2 Soldering
Chassis which is inbuilt with HJ-450 frame has to be soldered for connecting ESC’S. Chassis
works as a PCB printed Board for power supply.
We have used Insulating material for soldering. While soldering we must make sure that
there is no open or close circuit.
30
3.3.3 Connection of ESC’S
After Soldering is done 4 ESC’S has to be connected to Chassis of HJ-450 frame. Proper
Care should be taken so as not to get short circuit.
Screw M2 .5x6
1
Top board 2
Screw M3x8
4
Bottom Board
31
3.3.4 Fixing of Brushless motors
After fixing of ESC’S we need to attach 4 brushless motors of 1000 kv each.Attachment of
Brushless motor to ESC’S is to be done carefully so as not to get burst of winding.The three
bullets which are attached to brushless motore is to be connected with ESC’S.
Thirdly caliberation of flight controller has to be done from Ground Level according to
surface area.
The Flight Controller Board must always have a source of +5v from an ESC, either one of the
motors ESC or from a separate unit feeding the Receiver. If each ESC has a BEC (normal
unless OPTO types) then it may be necessary to remove the power feed from the other ESC,
usually by cutting the power line (RED) Cable on the other ESC.
STEP-1 Mount the FC on the frame with the LCD facing front and the buttons facing back.
You can use the supplied anti-static foam container as a form of protective case for the Flight
Controller on the craft.
STEP-2 Connect the receiver outputs to the corresponding left-hand side of the controller
board.
STEP-3 Connect the ESC’s to the right side of the Flight Controller Board. M1 is towards
the front of the board and M8 is nearest to the push buttons. The negative (black or brown)
lead towards the edge of the FC. The negative (black or brown) lead is connected to the edge
of the Flight Controller.
33
The Flight Controller Board must always have a source of +5v from an ESC, either one of the
motors ESC or from a separate unit feeding the Receiver. If each ESC has a BEC (normal
unless OPTO types) then it may be necessary to remove the power feed from the other ESC,
usually by cutting the power line (RED) Cable on the other ESC.
3.3.10 Testing
After all the operations are performed,transmitter should be On and then moving the throttle
34
up and down for about 3 times and then moving left to right,will make the flight controller to
change to ARMED state and hence quadcopter hover the skies.
Where power is in watts and rpm is in thousands. For example, a 6X4 APC propeller has a
propeller constant of 0.015 and a power factor of 3.2. Given a rotational speed of 10,000 rpm,
the calculation goes as follows:
Power=0.015X103.2=24 W.
The next step is to determine the thrust produced by a propeller. Equation 2 gives thrust based
on the Momentum Theory.
A commonly used rule is that velocity of the air at the propeller is v=½Δv of the total change
in air velocity: Therefore, and equation 3 is derived.
Equation 4 gives the power that is absorbed by the propeller from the motor. Equation 5 shows
the result of solving equation 4 for Δv and substituting it into equation 3. In doing so, Δv is
eliminated and torque can be calculated.
3.6 Disadvantages
1. Limited Abilities: Drones have obvious limitations. For example, they cannot
communicate with civilians for more detailed intelligence. Drones cannot capture
36
surrendering military personnel, abandoned hardware, or military bases. Drones cannot go
from door to door, at least, not yet.
2. Civilian Losses: Drone warfare often causes collateral damages in civilian lives and
property, as well as traditional warfare too.
3. Counterproductive and Destabilizing: Civilian opinions about drones are typically
negative, since they are viewed as an invasion force. The mere presence of drones has been
known to convert civilians into military combats. Furthermore, when drones cause collateral
damage, such as killing civilians and damaging civilian property, the opinions of civilians
decrease even more so. Additionally, some cultures believe the use of drones as not brave and
cold hearted. As a result, drones are sometimes counterproductive by more destabilizing some
regions.
4. Too Easy: By making drone warfare very similar to video games, drone warfare makes
combat too easy by diminishing ethical decisions.
5. Work and Personal Life Balance: Some drone pilots or operators have difficulty
switching between combat mode at work and civilian mode while not working. This is
especially difficulty when drone pilots have minimal transition periods between work and
personal, if any at all.
6. Take Over: Finally, the worst case scenario is when drones or a fleet of drones have been
commandeered or taken control by the enemy. While security measures help make this
possibility more difficult, it will never be impossible.
37
CHAPTER 4: GSM Modules
4.1 GSM Module:
This GSM Modem-SIM900A can accept any GSM network operator SIM card and act just
like a mobile phone with its own unique phone number. Advantage of using this modem
will be that you can use its RS232 port to communicate and develop embedded applications.
Applications like SMS Control, data transfer, remote control and logging can be developed
easily.
The modem can either be connected to PC serial port directly or to any microcontroller. It
can be used to send and receive SMS or make/receive voice calls. It can also be used in
GPRS mode to connect to internet and do many applications for data logging and control.
In GPRS mode you can also connect to any remote FTP server and upload files for data
logging.
This GSM modem is a highly flexible plug and play quad band GSM modem for direct and
easy integration to RS232 applications. Supports features like Voice, SMS, Data/Fax,
GPRS and integrated TCP/IP stack.
4.1.1 Features:
Highly Reliable for 24x7 operation with Matched Antenna
Status of Modem Indicated by LED
Simple to Use & Low Cost
Quad Band Modem supports all GSM operator SIM cards
4.1.2 Applications:
SMS based Remote Control & Alerts
Security Applications
Sensor Monitoring
GPRS Mode Remote Data Logging
4.1.3 Specifications:
38
Table 4.2 Operating Conditions
39
4.2 Interfacing the Modem to Arduino (Basic connection):
40
4.3. Working of GSM 900A:
Insert SIM card:
Open the SIM cardholder by sliding it as per the arrow mark and lift up. Insert the SIM card,
so as to align the chamfered corner suits in card holder .After inserting the SIM card, lock
the holder by sliding it to the opposite direction of arrow mark.
Connect The Antenna:
Fix the Supplied RF antenna to the SMA Antennae connector and tighten it by Rotating the
Nut (Never rotate the antennae for tightening).
Connect the Pins:
Connect the GSM modem as per the circuit diagram provided.
Power the Modem:
Power the modem from suitable power supply, which is having enough current capacity
Check the Status of the LEDs:
PWR LED - Red LED will lit immediately STS LED - Green LED will lit after 1- 2 seconds
NET LED -Blue LED will starts to blink in fast for few seconds (Searching for Network)
and becomes slow blinking once the Modem registers with the Network.
Network LED
The Network LED indicates the various status of GSM module e.g. Power on, Network
registration & GPRS connectivity. When the modem is powered up, the status LED will
blink every second. After the Modem registers in the network (takes between 10-60 seconds),
LED will blink in step of 3 seconds. At this stage you can start using Modem for your
application.
Baud rate
The Baud rate supported by the modem is between 9600 and 115200. Make sure the host
system is set to the supported baud rate. The modem automatically sets to the baud rate of
the first command sent by the host system after it is powered up. User must first send “A” to
synchronize the baud rate. It is recommended to wait 2 to 3 seconds before sending “AT”
character. After receiving the “OK” response, Your Device and GSM Modem are correctly
synchronized. So there is no need for setting the baud rate using commands. Before start
using the modem, please make sure that the SIM card you inserted support the needed
features and there is enough balance in SIM.
41
Chapter 5: Carbon Dioxide Sensor
42
Figure 5.2 Arduino Pin Connection
5.1.3 Working:
NDIR sensors are spectroscopic sensors to detect CO2 in a gaseous environment by its
characteristic absorption. The key components are an infrared source, a light tube, an
interference (wavelength) filter, and an infrared detector. The gas is pumped or diffuses into
the light tube, and the electronics measures the absorption of the characteristic wavelength of
light. NDIR sensors are most often used for measuring carbon dioxide. The best of these have
sensitivities of 20–50 PPM.
To track the exact positioning in the atmosphere we are using SIM900A GSM module. It detects
the location through the sim card that we insert at the time of configuration.
New developments include using microelectromechanical systems to bring down the costs of
this sensor and to create smaller devices (for example for use in air conditioning applications).
NDIR CO2 sensors are also used for dissolved CO2 for applications such as beverage
carbonation, pharmaceutical fermentation and CO2 sequestration applications. In this case they
are mated to an ATR (attenuated total reflection) optic and measure the gas in situ. The Carbon
Monoxide Sensor exhibits high accuracy, excellent repeatability, and long-term stability for
zero and span readings.
5.2.2 Applications:
Modified atmospheres
Indoor air quality
Stowaway detection
Cellar and gas stores
Marine vessels
Greenhouses
Landfill gas
Confined spaces
Cryogenics
Ventilation management
Mining
Rebreathers (SCUBA)
For HVAC applications, CO2 sensors can be used to monitor the quality of air and the tailored
need for fresh air, respectively. Measuring CO2 levels indirectly determines how many people
are in a room, and ventilation can be adjusted accordingly. See demand controlled ventilation
(DCV).
In applications where direct temperature measurement is not applicable, NDIR sensors can be
used. The sensors absorb ambient infrared radiation (IR) given off by a heated surface.
44
CHAPTER 6: Project Overview
6.1 Software Used
Many companies provide the Arduino, some of them provide shareware version of their
product on the Web. We can download them from their Websites. However, the size of code
for these shareware versions is limited and we have to consider which assembler is suitable
for our application.
6.2 Arduino
The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a
text editor for writing code, a message area, a text console, a toolbar with buttons for common
functions and a series of menus. It connects to the Arduino and Genuino hardware to upload
programs and communicate with them.
6.2.4 Uploading
Before uploading your sketch, you need to select the correct items from the Tools > Board and
Tools > Port menus. The boards are described below. On the Mac, the serial port is probably
something like /dev/tty.usbmodem241 (for an Uno or Mega2560 or Leonardo) or
/dev/tty.usbserial-1B1 (for a Duemilanove or earlier USB board), or
/dev/tty.USA19QW1b1P1.1 (for a serial board connected with a Key span USB-to-Serial
adapter). On Windows, it's probably COM1 or COM2 (for a serial board) or COM4, COM5,
COM7, or higher (for a USB board) - to find out, you look for USB serial device in the ports
section of the Windows Device Manager. On Linux, it should be /dev/ttyACMx ,
/dev/ttyUSBx or similar. Once you've selected the correct serial port and board, press the
upload button in the toolbar or select the Upload item from the File menu. Current Arduino
boards will reset automatically and begin the upload. With older boards (pre-Diecimila) that
45
lack auto-reset, you'll need to press the reset button on the board just before starting the upload.
On most boards, you'll see the RX and TX LEDs blink as the sketch is uploaded. The Arduino
Software (IDE) will display a message when the upload is complete, or show an error.
When you upload a sketch, you're using the Arduino bootloader, a small program that has been
loaded on to the microcontroller on your board. It allows you to upload code without using
any additional hardware. The bootloader is active for a few seconds when the board resets;
then it starts whichever sketch was most recently uploaded to the microcontroller. The
bootloader will blink the on-board (pin 13) LED when it starts (i.e. when the board resets).
6.2.5 Libraries
Libraries provide extra functionality for use in sketches, e.g. working with hardware or
manipulating data. To use a library in a sketch, select it from the Sketch > Import Library menu.
This will insert one or more #include statements at the top of the sketch and compile the library
with your sketch. Because libraries are uploaded to the board with your sketch, they increase
the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include
statements from the top of your code.
There is a list of libraries in the reference. Some libraries are included with the Arduino
software. Others can be downloaded from a variety of sources or through the Library Manager.
Starting with version 1.0.5 of the IDE, you do can import a library from a zip file and use it in
an open sketch.
6.2.6 Boards
The board selection has two effects: it sets the parameters (e.g. CPU speed and baud rate) used
when compiling and uploading sketches; and sets and the file and fuse settings used by the burn
bootloader command. Some of the board definitions differ only in the latter, so even if you've
been uploading successfully with a particular selection you'll want to check it before burning
the bootloader.
STEP 2
To begin, you'll need to install the Arduino Programmer, aka the integrated development
environment (IDE).
STEP 3
Connect your Arduino to the USB port of your computer. This may require a specific USB
cable. Every Arduino has a different virtual serial-port address, so you 'll need to reconfigure
the port if you're using different Arduinos.
STEP 4
Set the board type and the serial port in the Arduino Programmer.
46
STEP 5
Test the microcontroller by using one of the preloaded programs, called sketches, in the
Arduino Programmer. Open one of the example sketches, and press the upload button to load
it. The Arduino should begin responding to the program: If you've set it to blink an LED light,
for example, the light should start blinking.
STEP 6
To upload new code to the Arduino, either you'll need to have access to code you can paste
into the programmer, or you'll have to write it yourself, using the Arduino programming
language to create your own sketch. An Arduino sketch usually has five parts: a header
describing the sketch and its author; a section defining variables; a setup routine that sets the
initial conditions of variables and runs preliminary code; a loop routine, which is where you
add the main code that will execute repeatedly until you stop running the sketch; and a section
where you can list other functions that activate during the setup and loop routines. All sketches
must include the setup and loop routines.
STEP 7
Once you've uploaded the new sketch to your Arduino, disconnect it from your computer and
integrate it into your project as directed.
6.3 Applications
6.3.1. Civil and commercial applications
Pick and drop
This is the modern era application of drones, they can carry weights up to certain limit and
delivery them to the destination. Best example amazon and DHL are considering drone based
delivery services for their products
Air inspection
Drones are used in aircraft companies in inspecting the aircraft before takeoff & landing
47
Figure 6.2 Air Inspection Quadcopter
Communication Purpose
Now a days drones are used for Telecom relay and signal coverage survey.
Aerial Photography
This application is widely used now a days. Music concerts or any functions where there is a
large gathering of people, they can be photographed using aerial only.
Ambulance Drone
Ambulance drones was implemented successfully in Finland, these drones carry the equipment
necessary for emergency condition. The basic fir aid kit will also be present in this drone.
48
Figure 6.4 Ambulance Quadcopter
Drones with the help of gps can track particular person or vehicle movement.
Many military operations uses drones for live coverage of the mission .Rescuing
hostages and civilians is the main objectives of these operations. Drones are used to
check the condition of the hostages
Video surveillance
Fire Control
Fires caused in forests due to various reasons are very difficult to control. These can be
controlled effectively by means of drone. Drones will carry water of some sort of solutions.
Drone installed with gas sensors helps to detect the amount of gases present in the particular
area in the atmosphere. These figures can be stored in the memory card or send to us by using
gsm module. For using gas sensors we need to use Arduino for interfacing.
49
Wild life surveillance
Many wild life species are going to extinct now a days due to radiation, hunters etc. . .this can
be prevented by tracking and surveillance of wild life animals.
6.5 Modifications
Other plans in the future include adding a sonic sensor for more accurate altitude determination.
Currently the only methods to determine altitude is by using the barometric pressure sensor and
the GPS receiver. There is no actual way to safely determine the quadcopters altitude relative to
its landing surface. A sonic sensor could solve this problem, and be used to help aid the auto-
landing command. Another modification can be done by adding more methods of collecting
data. Many ports still remain unused on the control board. Adding a camera could allow for
digital photo or video to be taken. Adding some way to stream data from the quadcopter to the
controller could be another great feature to add to our quadcopter, this would allow for even
easier access to the data collected by the quadcopter. Smart phone capabilities could be another
feature our group may want to add in the future.
51
CHAPTER 7: Result and conclusion
7.1 Result Analysis
After configuring all the parts, assembling as required, configuring Software, finally we obtained
our quadcopter which is shown below. We need to test the Acceleration Calibration every time
when we change the ground surface area.
52
7.2 Conclusion
As per the design specifications, the quad copter self stabilizes using the array of sensors
integrated on it. It attains an appropriate lift and provides surveillance of the terrain through the
camera mounted on it. It acts appropriately to the user specified commands given via a remote
controller .Its purpose is to provide real time audio/video transmission from areas which are
physically in-accessible by humans. Thus, its functionality is monitored under human
supervision, henceforth being beneficial towards military applications. It is easy to manoeuvre,
thereby providing flexibility in its movement. It can be used to provide surveillance at night
through the usage of infrared cameras. The system can further be enhanced for future prospects.
The GPS data logger on the quadcopter stores its current latitude, longitude, and altitude in a
comma separated value file format and can be used for mapping purposes. This project required
members not only to interface and program the components of the quadcopter, but also exposed
them to mechanical components and reality of project management to accomplish the project
objectives.
53
References
[1]. Hoffmann, G.M.; Rajnarayan, D.G., Waslander, S.L., Dostal, D., Jang, J.S., and Tomlin,
C.J. (November 2004). "The Stanford Test bed of Autonomous Rotorcraft for Multi Agent
Control (STARMAC)"
[2]. Leishman, J.G. (2000). Principles of Helicopter Aerodynamics. New York, NY:
Cambridge University Press.
[3]. Anderson, S.B. (1997). "Historical Overview of V/STOL Aircraft Technology .NASA
Technical Memorandum 81280.
[4]. Pounds, P.; Mahony, R., Corke, P. (December 2006). "Modelling and Control of a Quad-
Rotor Robot".
[5]. Hoffman, G.; Huang, H., Waslander, S.L., Tomlin, C.J. (20–23 August 2007)."Quadcopter
Helicopter Flight Dynamics and Control: Theory and Experiment"
Websites
[6] http://www.as.northropgrumman.com/products/ghrq4a/index.html
[7] http://www.ga-asi.com/products/aircraft/predator.php
[8] http://www.sciencedaily.com/releases/2011/07/110701203725.html
[9] http://www.uavforge.net/
[10] http://diydrones.com/
[11] http://dlnmh9ip6v2uc.cloudfront.net/images/products/10061-01b_i_ma.jpg
[12] http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-
modules/pointmultipoint-rfmodules/xbee-pro-xsc#overview
54