Arduino Radar Project Guide
Arduino Radar Project Guide
MECHATRONICS ENGINEERING
SUBJECT
PROFESSOR
Radar
PRESENTED BY
What is a radar
Characteristics of the elements used in development
radar
Radar installation
Software used
Introduction
(background)
The radar (detection and distance measurement by radio) was developed
during World War II as a means to detect and track
aircraft and ships, Since 1945 radar has become an instrument
indispensable meteorological not only for researchers but also for
the meteorologists involved in the daily observation of the weather.
The radar is particularly valuable in detection, tracking, and forecasting
severe storms; storms that cause great desires provoked by
sudden floods, tornadoes or hurricanes. Furthermore, since the radar can measure
precipitation over large areas has become a very useful tool
useful for hydrometeorologists and hydrologists. It is a system that uses waves
electromagnetic waves to measure distances, altitudes, directions, and speeds
of static objects
Or mobiles like aircraft, ships, motor vehicles, formations
meteorological and the
Own land. Its operation is based on emitting a radio pulse, which
is reflected in the
Objective and is typically received in the same position as the sender. Starting from
this "eco" is
It can extract a large amount of information. The use of waves
electromagnetic with various
Wavelengths allow for the detection of objects beyond the range of other types of
emissions (light
Visible, sound, etc.). Its areas of application include the
meteorology, the control
Of air and land traffic and a great variety of military uses.
What is a radar?
The radar is a system consisting of a transmitter and a radio receiver.
synchronized, which emits electromagnetic waves and processes the waves
reflected for use in the detection and localization of objects such as
aircraft or ships, 0 in the detection of surface characteristics such as
like terrestrial, lunar, or planetary.
The basic electronic principle for the functioning of radar is very similar
all about the reflection of sound waves. If a sound is emitted in the direction of a
An object that reflects sound (like a rocky ceiling or a cave) is possible.
listen to the echo and, knowing the speed of sound in air and the time of
delay, the relative position and the distance at which it can be calculated
find the object, based on the relationship between space, speed, and time.
The radar uses pulses of electromagnetic energy, The energy of
Radio frequency (RF) is transmitted to and reflected from a reflective object.
A small fraction of the reflected energy, called ECO as in the
In the case of sound waves, they return to the radar equipment. The radar equipment analyzes
the echo to determine the direction and distance of the reflecting object. Through the
Radar is possible:
Characteristics of the
elements used in the
desarrollo del radar
Arduino nano
Microcontroller Atmel ATmega168 or ATmega328
Operating Voltage
5V
(logic level)
Input Voltage
7-12 V
(recommended)
Input Voltage (limits) 6-20 V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 8
DC Current per I/O
40 mA
Pin
16 KB (ATmega168) or 32 KB (ATmega328) of which
Flash Memory
2 KB used by bootloader
SRAM 1 KB (ATmega168) or 2 KB (ATmega328)
EEPROM 512 bytes (ATmega168) or 1 KB (ATmega328)
Clock Speed 16 MHz
Dimensions 0.73" x 1.70"
Length 45 mm
Width 18 mm
Arduino Nano schematic
SG90 servomotor
The SG90 servo has a universal 'S' type connector that fits perfectly.
in most radio control receivers including Futaba, JR,
GWS, Cirrus, Hitec and others. The wires in the connector are distributed from the
next form: Red = Food (+), Brown = Food (-) or earth,
Orange = PWM Signal. Ideal for early learning experiences and
practices with servos
This type of servo is, as its power requirements are quite low.
and it can be powered with the same power supply as the circuit
for control. For example, if it is connected to an Arduino board, it can be powered
during testing from the PC's USB port without any problems.
Characteristics of
Servo SG90Tower Pro
Dimensions (L x W x H) =
22.0 x 11.5 x 27 mm (0.86 x
0.45 x 1.0 inches
Weight: 9 grams
Weight with cable and connector:
10.6 grams
Torque at 4.8 volts: 16.7 oz/in
0.1.2 kg/cm
Operating voltage: 4.0 to 7.2 volts
Rotation speed at 4.8 volts: 0.12 sec / 60 º
Universal connector for most radio control receivers
Compatible with cards like Arduino and microcontrollers that
They operate at 5 volts.
the speed at which it will reach the receiver is closely related to the
transmission and bounce distance.
It can be expressed mathematically as d = 170 (m/s) * t
This can be demonstrated starting from the velocity equation: v = 2d/t where
d is equal to the distance it takes for the signal to reach the object. Assuming
that the speed of sound is approximately 340 m/s, then it
you can get more or less the distance at which the object is.
Effective angle
The effective angle for this sensor is 15°, which indicates that the sensor will be able to
Considerations
o Before connecting it to the network, first make sure it is connected to the
reference or well: ground.
Ultrasonic sensor
Servomotor
Arduino
Processing
For the development of our project, we will use the ultrasonic module.
Supply voltage: 5v
Frequency: 40kHz.
The sensor behaves like an SRFO4 using an Echo output line and
another
For the Trigger input.
The operation of this module is very simple; it is powered with 5V and it
must supply
A pulse of 10ps to activate the module through the tring pin.
The module will launch 8 bursts of ultrasonic pulses at 40 kHz and the echo output
will move to the high level until receiving an echo which is when it will return to a
low level therefore the echo output will be a pulse whose width will be
proportional to the distance from an object
Simulated Arduino Assembly
Real Mounting
Software used
Arduino IDE
Processing IDE
The screen is sized in this case "size(750, 450);", the design of the
that will be displayed on the screen, in this case a series of lines in
ellipse shape "ellipse(radius, radius, 750, 750);" is centered, and is given the
correct spacing between lines, in short, the format is given to what is
present on screen.
Regarding the panning action on the radar screen, the angle is associated.
real of the servo with the angle given in the program, in the program
a radar style drag effect is applied to the bar. A range is established.
representation in the radar console, exemplifying objects
close like black parts in the reading and the green parts like the
reading from where something nearby is not found
Image of the processing console