Microcontroller Based Radar System
Microcontroller Based Radar System
CHAPTER-1 INTRODUCTION
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.
Actual radar systems are built with high-power transmitters and receivers, huge
antennae, complex processing systems using digital signal processors and large displays.
Page 1
MICROCONTROLLER BASED RADAR SYSTEM
ATMEGA328 MICROCONTROLLER
AT89S52 MICROCONTROLLER
SERVO MOTOR
ULTRASONIC SENSOR
RF MODULE (NRF24L01)
POWER SUPPLY
BLUETOOTH
MOTOR DRIVER
DC MOTOR
ARDUINO
Page 2
MICROCONTROLLER BASED RADAR SYSTEM
Page 3
MICROCONTROLLER BASED RADAR SYSTEM
CHAPTER-2 MICROCONTROLLER
2.1 FEATURES
Page 4
MICROCONTROLLER BASED RADAR SYSTEM
Page 5
MICROCONTROLLER BASED RADAR SYSTEM
Servo motors are rated in kg/cm (kilogram per centimetre) most hobby servo motors
are rated at 3kg/cm or 6kg/cm or 12kg/cm. This kg/cm tells you how much weight your servo
motor can lift at a particular distance. For example: A 6kg/cm Servo motor should be able to
lift 6kg if the load is suspended 1cm away from the motors shaft, the greater the distance the
lesser the weight carrying capacity.
Page 6
MICROCONTROLLER BASED RADAR SYSTEM
The position of a servo motor is decided by electrical pulse and its circuitry is
placed beside the motor.
It is a closed loop system where it uses positive feedback system to control motion and
final position of the shaft. Here the device is controlled by a feedback signal generated by
comparing output signal and reference input signal.
Now an electrical signal is given to another input terminal of the error detector
amplifier. Now difference between these two signals, one comes from potentiometer and
another comes from other source, will be processed in feedback mechanism and output will be
provided in term of error signal. This error signal acts as the input for motor and motor starts
rotating. Now motor shaft is connected with potentiometer and as motor rotates so the
potentiometer and it will generate a signal. So as the potentiometer’s angular position
changes, its output feedback signal changes.
After sometime the position of potentiometer reaches at a position that the output of
potentiometer is same as external signal provided. At this condition, there will be no output
Page 7
MICROCONTROLLER BASED RADAR SYSTEM
signal from the amplifier to the motor input as there is no difference between external applied
signal and the signal generated at potentiometer, and in this situation motor stops rotating.
All motors have three wires coming out of them. Out of which two will be used for
Supply (positive and negative) and one will be used for the signal that is to be sent from the
MCU.
Servo motor is controlled by PWM (Pulse with Modulation) which is provided by the
control wires. There is a minimum pulse, a maximum pulse and a repetition rate. Servo motor
can turn 90 degree from either direction form its neutral position. The servo motor expects to
see a pulse every 20 milliseconds (ms) and the length of the pulse will determine how far the
motor turns. For example, a 1.5ms pulse will make the motor turn to the 90° position, such as
if pulse is shorter than 1.5ms shaft moves to 0° and if it is longer than 1.5ms than it will turn
the servo to 180°.
Servo motor can be rotated from 0 to 180 degree, but it can go up to 210 degree,
depending on the manufacturing. This degree of rotation can be controlled by applying
the Electrical Pulse of proper width, to its Control pin. Servo checks the pulse in every 20
Page 8
MICROCONTROLLER BASED RADAR SYSTEM
milliseconds. Pulse of 1 ms (1 millisecond) width can rotate servo to 0 degree, 1.5ms can
rotate to 90 degree (neutral position) and 2 ms pulse can rotate it to 180 degree.
Page 9
MICROCONTROLLER BASED RADAR SYSTEM
Ultrasonic Distance Sensor provides range from very short (2 Centimetres) to long-
range (5 Meters) for applications in detection and ranging. The sensor provides precise and
stable noncontact distance measurements from about 2 cm to 5 meters with very high
accuracy.
The ultrasonic sensor can easily be interfaced to microcontrollers where the triggering
and measurement can be done using two I/O pin. The sensor transmits an ultrasonic wave and
produces an output pulse that corresponds to the time required for the burst echo to return to
the sensor. By measuring the echo pulse width, the distance to target can easily be calculated.
This Ultrasonic Distance Sensor is perfect for any number of applications that require
you to perform measurements between moving or stationary objects.
Page 10
MICROCONTROLLER BASED RADAR SYSTEM
4.2 SPECIFICATIONS
Power Supply : 5V DC
Quiescent Current : <2mA
Effectual Angle : <15°
Ranging Distance : 2cm – 500cm
Resolution : 0.3cm
4.3 FEATURES
4.4 DIMENSIONS
Fig 4.2 Sensor Dimensions
Page 11
MICROCONTROLLER BASED RADAR SYSTEM
5.1 OVERVIEW
NRF 24L01 UART MODULE is a wireless transceiver module which provides easy to
use RF communication at 2.4 GHz.
It can be used to transmit and receive data at 9600/4800 baud rate from any standard
CMOS / TTL. It works in half duplex mode. Channelling allows the user to use multiple
modules communicating in the same RF range. Module allows host ends to communicate
using two different baud rates (9600/4800).
5.2 FEATURES
Page 12
MICROCONTROLLER BASED RADAR SYSTEM
5.3 SPECIFICATIONS
Page 13
MICROCONTROLLER BASED RADAR SYSTEM
CHAPTER-6 MATLAB
Page 14
MICROCONTROLLER BASED RADAR SYSTEM
MATLAB CODE
Page 15
MICROCONTROLLER BASED RADAR SYSTEM
SUMMARY
ADVANTAGES
Radar uses electromagnetic wave that does not require a medium like Sonar (that uses
water) so can be used in space and air. Radar can be long range and the wave
propagate at the speed of light rather than sound (like with sonar). It is less susceptible
to weather conditions compared with Lasers. And be used at night unlike passive
cameras. It does not require target cooperation to emit any signals or emission.
Very flexible - can be used in a number of ways!
Stationary mode
Moving mode
Two Directional mode
Beam spread can incorporate many targets!
Can often select fastest target, or best reflection!
Still very reliable.
DISADVANTAGES
Page 16
MICROCONTROLLER BASED RADAR SYSTEM
GRAPH OF RADAR
Graph of Radar
Page 17
MICROCONTROLLER BASED RADAR SYSTEM
MODEL
Page 18
MICROCONTROLLER BASED RADAR SYSTEM
CONCLUSION
In this project we made a robo car which is connected with the ultrasonic sensor use for senses
the object near by area for the security purpose. we can capture the data from enemy area
without entering in there area.
REFERENCES:
https://circuitdigest.com/article/servo-motor-basics
https://www.sunrom.com/p/ultrasonic-distance-sensor-pwm-
out
https://www.electronicshub.org/understanding-7805-ic-
voltage-regulator/
\www.google.com/patent
Page 19