RadArduino
To create a 2-Dimensional Radar which maps the surroundings using SONAR (Ultrasonic Sensors) and Arduino-UNO microcontroller, which displays the distance of obstacles from the SONAR.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of contents
Introduction
This project works on the principle of SONAR to detect obstacles in areas where other sensors might not be able to produce effective results. For instance, camera and IR sensors may be able to function properly under extreme conditions, and therefore, an ultrasonic was chosen.
The Ultrasonic sound waves has an extremely high pitch that humans cannot hear and is also free from external noises from passive or active sources. The sensor transmits an ultrasonic sound that has a frequency of about 40 kHz. The sensor has two main partstransducer that creates an ultrasonic sound wave while the other part listens to its echo.
The HC-SR04 ultrasonic distance sensor is an economical sensor that provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm. Each HC-SR04 module includes an ultrasonic transmitter, a receiver and a control circuit.
The implementation of this project starts by constructing a mount for the ultrasonic sensor which allows the sensor to encompass a semi-circle, i.e. rotate 180 degrees and provide results to map the surroundings. Once this data is obtained from the sensor, it is used to map the surroundings by Processing IDE which generates a Radar like environment on the monitor as it continuously probes converting the 2-Dimensional Cartesian coordinates into polar coordinates.
Components
- 2 x Ultrasonic Sensors HC- SR04 for Arduino UNO
- 1 x Servo Motor
- 1 x Stepper Motor
- 1 x Arduino UNO microcontroller
- 1 x Breadboard with Jumper Wires
- 1 x LCD Display
Installation
- Clone the repo
git clone https://github.com/vishalgattani/RadArduino.git
- Circuit Schematic (with LCD) is as follows:
- Circuit Schematic (without LCD) is as follows:
- The HCSR04 Sensor is mounted atop the servo motor and it is connected to Arduino to send distance data to the Processing IDE.
Usage
- Run the Arduino sketch.
- Simultaneously, run the Processing IDE sketch.
Output
Features
- 2D Radar with fading effect
Contact
Project Link: https://github.com/vishalgattani/RadArduino