Training Report
Training Report
at
OF THE DEGREE OF
BACHELOR OF ENGINEERING
SUBMITTED BY:
Chandigarh University
1
CERTIFICATE BY COMPANY
CANDIDATE'S DECLARATION
2
I “ANKIT OJHA” hereby declare that I have undertaken six weeks industrial at “EME
Technologies” during a period from May 2019 to June 2019 in partial fulfillment of
requirements for the award of degree of B.Tech (Electronics and Communication Engineering)
The six weeks industrial training Viva–Voce Examination of__________________ has been
held on ____________ and accepted.
ABSTRACT
3
This paper is about Radar System controlled via Arduino. This RADAR system consists of an
ultra-sonic sensor and servo motor, these are the major components of the system. Basic
working of the system is that it have to detect objects in its defined range. Ultra-sonic sensor is
attached to the servo motor it rotates about 180 degree and gives visual representation on the
software called processing IDE. Processing IDE gives graphical representation and it also gives
angle or position of the object and distance of the object. This system is controlled through
Arduino. Arduino UNO board is sufficed to control ultrasonic sensor and also to interface the
sensor and display device. While researching, we learned about existing navigation and
obstacle detection innovations and different systems where ultrasonic sensors are used
efficiently. Main application of this RADAR system comes into different field of navigation,
positioning, object identification, mapping, spying or tracking and different applications. These
ACKNOWLEDGEMENT
4
I have taken efforts in this project. However, it would not have been possible without the kind
support and help of many individuals and organizations. I would like to extend my sincere
I am highly indebted to EME Technologies for their guidance and constant supervision as well
as for providing necessary information regarding the project & also for their support in
I would like to express my gratitude towards my parents for their kind co-operation and
I would like to express my special gratitude and thanks to industry persons for giving me such
Ankit Ojha
(17BEC1168)
The team at EME Technologies consists of over 30 highly skilled professionals associated with
Information Technology. EME Technologies delivers total solutions for software development
and maintenance needs, serving companies from the smallest of start-ups to the largest of the
Global 2000. We specialize in offshore software development and web applications.
At EME Technologies a talented group of designers and interface engineers are masters at
effectively conveying a consistent corporate message and brand while concentrating on
ensuring a pleasant and useful user experience. They help in effectively market the company by
utilizing their skills in web strategy, creative interface design, corporate branding and logo
design, online marketing strategy and copywriting.
6
CONTENTS
Topic Page No.
Certificate by Company/Industry/Institute 1
Candidate’s Declaration 2
Abstract 3
Acknowledgement 4
About the Company/ Industry / Institute 5
CHAPTER 1 INTRODUCTION 8-9
1.1 A Brief Introduction 8
1.2 RADAR 9
1.3 Organization of report 9
7
CHAPTER 1
INTRODUCTION
1.1 A Brief Introduction
Today’s the developing world shows various adventures in every field. In each field the
small requirements are very essential to develop big calculations. By using different
sources we can modify it as our requirements and implement in various field. In earlier
days the measurements are generally occur through measuring devices. But now a day’s
digitalization as is on height. Therefore we use a proper display unit for measurement of
distance. We can use sources such as sound waves which are known as ultrasonic waves
using ultrasonic sensors and convert this sound wave for the measurement of various
units such as distance, speed. This technique of distance measurement using ultrasonic
in air includes continuous pulse echo method, a burst of pulse is sent for transmission
medium and is reflected by an object kept at specific distance. The time taken for the
sound wave to propagate from transmitter to receiver is proportional to the distance of
the object. In this distance measurement system we had ultrasonic sensor HC-SR04
interfaced with arduino UnoR3. Programming and hardware part of ultrasonic sensor
interfacing with arduino UnoR3.
1.2 RADAR
A RADAR is an object detection system which uses radio waves to determine the range,
altitude, direction, or speed of objects. Radar systems come in a variety of sizes and have
different performance specifications. Some radar systems are used for air-traffic control at
airports and others are used for long range surveillance and early-warning systems. A radar
system is the heart of a missile guidance system. Small portable radar systems that can be
maintained and operated by one person are available as well as systems that occupy several
large rooms.
The report is divided into four chapters. Chapter 1 gives a brief introduction of the project
covered. It contains the basics of a RADAR and the other tools and components used for
completion of this project.
Chapter 2 aims at the literature survey of the project consisting of the basic idea of the project,
and how we got the idea to make this project, all the help like websites, journals etc.
Chapter 3 covers the list of the components used in the projects and how to use them.
8
Chapter 4 covers the implementation of the project like boot loading to make own Arduino
board, software used and the problems faced during the course of action.
Finally, Chapter 5 deals with the present as well as the future scope of the project, like how we
can make use of this project for the betterment of the mankind.
9
CHAPTER 2
LITERATURE SURVEY
Army, Navy and the Air Force make use of this technology. The use of such technology has
been seen recently in the self-parking car systems launched by AUDI, FORD etc. And even the
upcoming driverless cars by Google like Prius and Lexus.
The project made by us can be used in any systems the customer may want to use like in a car,
a bicycle or anything else. The use of Arduino in the project provides even more flexibility of
usage of the above-said module according to the requirements.
The idea of making an Ultrasonic RADAR came as a part of a study carried out on the working
and mechanism of “Automobiles of Future”. Also, being students of ECE, we have always
been curious about the latest ongoing technology in the world like Arduino, Raspberry Pi,
Beagle-Bone boards etc. An hence this time we were able to get a hold of one of the Arduino
boards, Arduino UNO R3. So, knowing about the power and vast processing capabilities of the
Arduino, we thought of making it big and a day to day application specific module that can be
used and configured easily at any place and by anyone.
Moreover, in this fast moving world there is an immense need for the tools that can be used for
the betterment of the mankind rather than devastating their lives. Hence, we decided to make
some of the changes and taking the advantage of the processing capabilities of Arduino [1], we
decided to make up the module more application specific.
10
CHAPTER 3
The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital
Input /Output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16MHz
ceramic resonator, USB connection, a power jack, an ICSP header and a reset button. It
contains everything needed to support the microcontroller; simply connect it to computer with a
USB cable or power it with a AC-to-DC adapter or battery to get started. The Uno differs from
all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it
features the Atmega16U2 programmed as a USB-to-serial converter. Changes in Uno R3-
1. Pin out: added SDA and SCL pins that are near to the AREF pin and two other new pins
placed near to the reset pin, the IOREF that allow the shields to adapt to the voltage
provided from the board. In future, shields will be compatible with both the board that uses
the AVR, which operates with 5v and with the Arduino due that operates with 3.3v.
"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The
Uno and version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the
latest in a series of USB Arduino boards, and the reference model for the Arduino platform; for
a comparison with previous versions, see the index of Arduino Boards.
11
Figure 3.1 Arduino UNO R3 Board
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage 7-12V
(recommended)
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Clock Speed 16 MHz
Table 3.1 Features of Arduino at a Glance
12
The ATmega328 is a single chip micro-controller created by Atmel and belongs to the mega
AVR series. The high-performance Atmel 8-bit AVR RISC-based microcontroller combines
32 KB ISP flash memory with read-while-write capabilities, 1 KB EEPROM, 2 KB SRAM, 23
general purpose I/O lines, 32 general purpose working registers, three flexible
timer/counters with compare modes, internal and external interrupts, serial
programmable USART, a byte-oriented 2-wire serial interface, serial-port, a 6-channel 10 bit
Analog to Digital converter programmable watchdog timer with internal oscillator and five
software selectable power saving modes. The device operates between 1.8-5.5 volts. By
executing powerful instructions in a single clock cycle, the device achieves throughputs
approaching 1 MIPS per MHz, balancing power consumption and processing speed.
Quartz crystals are manufactured for frequencies from a few tens of kilohertz to hundreds of
megahertz. More than two billion crystals are manufactured annually. Most are used for
consumer devices such as wristwatches, clocks, radios, computers, and cell phones. Quartz
13
crystals are also found inside test and measurement equipment, such as counters, signal
generators, and oscilloscopes.
A servomotor is a rotary actuator that allows for precise control of angular position, velocity
and acceleration. It consists of a suitable motor coupled to a sensor for position feedback. It
also requires a relatively sophisticated controller, often a dedicated module designed
specifically for use with servomotors.
Servomotors are not a different class of motor, on the basis of fundamental operating principle,
but uses servomechanism to achieve closed loop control with a generic open loop motor.
With the exception of shunt regulators, all modern electronic voltage regulators operate by
comparing the actual output voltage to some internal fixed reference voltage. Any difference is
amplified and used to control the regulation element. This forms a negative feedback servo
control loop. If the output voltage is too low, the regulation element is commanded to produce a
higher voltage. The 78XX series of three-terminal positive regulator are available in the TO-
220/D-PAK package and with several fixed output voltages, making them useful in a wide
range of applications. Each type employs internal current limiting, thermal shut down and safe
14
operating area protection, making it essentially indestructible. If adequate heat sinking is
provided, they can deliver over 1A output current. Although designed primarily as fixed
voltage regulators, these devices can be used with external components to obtain adjustable
voltages and currents.
Ultrasonic sensors (also known as transceivers when they both send and receive, but more
generally called transducers) work on a principle similar to radar or sonar which evaluate
attributes of a target by interpreting the echoes from radio or sound waves respectively.
Ultrasonic sensors generate high frequency sound waves and evaluate the echo which is
received back by the sensor. Sensors calculate the time interval between sending the signal and
receiving the echo to determine the distance to an object.This technology can be used for
measuring wind speed and direction (anemometer), tank or channel level, and speed through air
or water. For measuring speed or direction a device uses multiple detectors and calculates the
speed from the relative distances to particulates in the air or water. To measure tank or channel
level, the sensor measures the distance to the surface of the fluid. Further applications
include: humidifiers, sonar, medical ultra sonography, burglar alarms and non-destructive
testing.
CHAPTER 4
15
Training Work Undertaken
Since, we believe in learning by doing. So, we decided to make our own arduino board instead
of using the readymade board. So, the steps required to make an arduino board are as follows:
Boot loading an Atmega328 using the Arduino board by uploading the boot loader program
to the Microcontroller.
16
Figure 4.1 Boot loading Atmega328 using Arduino Uno
Making the connections on a general purpose PCB, connecting the crystal osicillator,
capacitors, connectors for the connections to Arduino board etc.
17
Arduino is ready for use.
After you have done all this, then only the minimum circuitry like crystal oscillator, capacitors,
connectors, power supply is required to complete the board. The same circuit can be made on
the PCB, either designed or general purpose. Since, Arduino is an Open-Source. Hence, it is
easy to make and can have any enhancements as per the requirements.
18
4.2 Connecting the Servo Motor
A servomotor is a rotary actuator that allows for precise control of angular position, velocity
and acceleration.
1.VCC
2. GND
19
3. PULSE
A servo motor works at normally 4.8 to 6 volts. Gnd is provided by connecting it to the Ground
of the Arduino. The total time for a servo motor pulse is usually 20ms. To move it to one end of
say 0 degree angle, a 1ms pulse is used and to move it to other end i.e 180 degree, a 2ms pulse
is applied. Hence, according to this to move the axis of the servo motor to the center, a pulse of
time 1.5 ms should be applied. For this, the pulse wire of the servo motor is connected to the
Arduino that provides the digital pulses for pulse width modulation of the pulse. Hence, by
programming for a particular pulse interval the servo motor can be controlled easily.
An Ultrasonic Sensor consists of three wires. One for Vcc, second for Gnd and the third for
pulse signal. The ultrasonic sensor is mounted on the servo motor and both of them further
connected to the Arduino board. The ultrasonic sensor uses the reflection principle for its
working. When connected to the Arduino, the arduino provides the pulse signal to the
ultrasonic sensor which then sends the ultrasonic wave in forward direction. Hence, whenever
there is any obstacle detected or present in front, it reflects the waves which are received by the
ultrasonic sensor. If detected, the signal is sent to the arduino and hence to the PC/laptop to the
processing software that shows the presence of the obstacle on the rotating RADAR screen
with distance and the angle at which it has been detected.
20
Figure 4.4: Connecting Ultrasonic Sensor to Arduino
Arduino programs are written in C or C++. The Arduino IDE comes with a software
library called "Wiring" from the original Wiring project, which makes many common
input/output operations much easier. Users only need define two functions to make a run able
cyclic executive program:
Setup(): a function run once at the start of a program that can initialize settings
Loop(): a function called repeatedly until the board powers off.
Open the Arduino IDE software and select the board in use. To select the board:
21
Go to Tools.
Select Board.
Under board, select the board being used, in this case Arduino Uno.
Go to Tools and to Port and select the port at which the arduino board is connected.
22
Figure 4.6 Selecting the Board in Arduino IDE
Write the code in the space provided and click on compile. Once the code is compiled, click on
upload to upload the sketch to the Arduino board.
CHAPTER 5
Final Result and Discussion
24
Figure 5.2 SONAR Project using Ultrasonic Sensor
CHAPTER 6
The idea of making an Ultrasonic RADAR appeared to us while viewing the technology used
in defense, be it Army, Navy or Air Force and now even used in the automobiles employing
features like automatic/driverless parking systems, accident prevention during driving etc. The
applications of such have been seen recently in the self-parking car systems launched by AUDI,
FORD etc. And even the upcoming driverless cars by Google like Prius and Lexus.
The project made by us can be used in any systems you may want to use like in a car, a bicycle
or anything else. The use of Arduino in the project provides the flexibility of usage of the
above-said module according to the requirements.
25
Figure 6.1 Driverless Car by “GOOGLE”
In aviation, aircraft are equipped with radar devices that warn of aircraft or other obstacles in or
approaching their path, display weather information, and give accurate altitude readings. The
first commercial device fitted to aircraft was a 1938 Bell Lab unit on some United Air
Lines aircraft. Such aircraft can land in fog at airports equipped with radar-assisted ground-
controlled approach systems in which the plane's flight is observed on radar screens while
operators radio landing directions to the pilot.
Marine radars are used to measure the bearing and distance of ships to prevent collision with
other ships, to navigate, and to fix their position at sea when within range of shore or other
26
fixed references such as islands, buoys, and lightships. In port or in harbor, vessel traffic
service radar systems are used to monitor and regulate ship movements in busy waters.
REFERENCES
[1] http://www.arduino.cc/
[3] http://www.atmel.com/atmega328/
[4] http://en.wikipedia.org/wiki/File:16MHZ_Crystal.jpg
27