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.

radar4

Components

Installation

  1. Clone the repo
    git clone https://github.com/vishalgattani/RadArduino.git
    
  2. Circuit Schematic (with LCD) is as follows:

Screen Shot 2022-03-24 at 12 20 02 AM

  1. Circuit Schematic (without LCD) is as follows:

Screen Shot 2022-03-24 at 12 22 20 AM

  1. The HCSR04 Sensor is mounted atop the servo motor and it is connected to Arduino to send distance data to the Processing IDE.

image

Usage

  1. Run the Arduino sketch.
  2. Simultaneously, run the Processing IDE sketch.

Output

Features

Contact

Project Link: https://github.com/vishalgattani/RadArduino

References