Department of Electronic Engineering: "Design of An Arduino Based Radar System"
Department of Electronic Engineering: "Design of An Arduino Based Radar System"
Department of Electronic Engineering: "Design of An Arduino Based Radar System"
Project Report
Submitted by:
K-F16ES-02
K-F16ES-29
K-F16ES-33
K-F16ES-37
K-F16ES-51
K-F16ES-57
Abstract
A rangefinder is a device that measures the distance from the target to the observer, for the
purposes of surveying, determining focus in photography, or accurately aiming a weapon [1].
In this technical project, we make a simple radar using the ultrasonic sensor, this radar works by
measuring a range from 3cm to 40 cm as non-contact distance, with angle range between 15˚
and 165˚.The movement of the sensor is controlled by using a small servo motor. Information
received from the sensor will be used by “Processing Development Environment” software to
illustrate the result on a PC screen.
Introduction
Radar is an object detection system that uses electromagnetic waves to identify range, altitude,
direction, or speed of both moving and fixed objects such as aircraft, ships, vehicles, weather
formations, and terrain. When we use ultrasonic waves instead of electromagnetic waves, we call
it ultrasonic radar [2]. The main components in any ultrasonic radar are the ultrasonic Sensors.
Ultrasonic sensors work on a principle similar to radar or sonar which evaluates attributes of
a target by interpreting the echoes from radio or sound waves
Respectively. Radar’s information will appear in different ways. Basic and old radar station
used sound alarm or LED, modern radar uses LCD display to show detailed information
of the targeted object. We use Computer screen to show the information (distance and angle).
2-2 Processing
Processing is an open source computer programming language and integrated development
environment (IDE) built for the electronic arts, new media art, and visual design communities
with the purpose of teaching the fundamentals of computer programming in a visual context
Fig (3).
Specifications
Free to download and open source
Interactive programs with 2D, 3D or PDF output
OpenGL integration for accelerated 2D and 3D
For GNU/Linux, Mac OS X, and Windows
Over 100 libraries extend the core software
Well documented, with many books available
2-5 Breadboards:
A breadboard is a construction base for prototyping of electronics. Originally it was literally a
bread board, a polished piece of wood used for slicing bread. In the 1970s the solderless breadboard
(AKA plug board, a terminal array board) became available and nowadays the term "breadboard"
is commonly used to refer to these. "Breadboard" is also a synonym for "prototype".[6]Fig (7).
3- Work procedure:
The values for the angle and the distance measured by the sensor will be read from the
Arduino board by the Processing IDE using the SerialEvent() function which reads the data
from the Serial Port. These values will be used for drawing the lines, the detected objects and some
texts.
For drawing the radar display we make this function drawRadar() which consist of arc()
and line() functions Fig(13)
For drawing the moving lines we make this function drawLine(). Its center of rotation is set
with the translate() function and using the line() function in which the iAngle variable is used to
redraw the line for each degree. Fig (14).
For drawing the detected objects we made the drawObject() function. It receives the
distance from the ultrasonic sensor, transforms it into pixels. Then, using the angle detected by the
sensor it draws the object on the radar screen Fig (15).
To illustrate the text on the screen, we make the drawText() function that draws texts on
some particular locations. All of these functions are called in the main draw() function which is
repeated in each iteration to draw the screen details.
We are using the fill() function with 2 parameters for simulating motion blur and slow fade of the
moving line. Fig (16) shows the final appearance of the radar screen
Conclusion
Radar is normally used to determine velocity, range, and position of an object. In this
technical project, we read the distance and angles of detected objects in order to convert these
data into visual information. The performance of our project is so good. It works smoothly to
detect objects within the designed range. The screen shows the information clearly with enough
delay for the user to read it. This project could be helpful for object avoidance/ detection
applications. This project could easily be extended and could be used in any systems may need it.
References