Project tutorial
360 Radar (that encodes data onto an image)

360 Radar (that encodes data onto an image) © CC BY

This is a 360 radar using an ultrasonic sensor that saves data and encodes them onto an image.

  • 8,962 views
  • 5 comments
  • 42 respects

Components and supplies

Necessary tools and machines

pipe
Hy gluegun
Hot glue gun (generic)

Apps and online services

About this project

I'm here and I'm gonna show you how to make a 360 Radar. Send data to computer, and after processing them draw the Radar in real-time and after a revolution (360 turn) save the previous Radar and draw the new one. and after all of these ENCODE the data and hide them into an image. For example if you send just the encode data and someone observed this data transfer he will find out that you transferred a ENCODED data. But, if you hide the Encoded data into an image he will never find out what you did and just think you sent a photo for someone else.

Step 1 (Collect what you need)

In this project you will need:

  • Arduino (I used Uno R3)
  • Servo motor (we need 2 of them because we should have 360° of motion available)
  • Ultrasonic sensor (we use this one to calculate distance)
  • Wires so you can attach the ultrasonic sensor and the servo.

Step 2 (Assemble them)

Connect the servo and ultrasonic sensor to the Arduino just like in the schematic below (just above the C++ code). You can upload the code and and see them on the computer.

Attention : If you don't know what is the name of the port go to Device Manager then find Ports. you can see the name there(COM3 or COM5).

If you finish the project, just ask me to send the EXE of Radar Drawer.

*Update* : Download the EXE file in this page.

If you have problem with working with EXE or you want to make your own EXE just ask me and I'm here to help.

When you import a photo to encode the AI choose the best method to make it more scure.

Code

Servo ControlC/C++
This code on C++ is for control the servo and should be upload to Arduino
#include <Servo.h>

Servo Down;
Servo Up;
const int trigPin = 9;
const int echoPin = 10;

long duration;
int pos = 0;
int pos2 = 0;
int distance;
int _degrees;
void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT); 
 Down.attach(2);
 Up.attach(3);
Serial.begin(9600); 
}
void loop() {
  Down.write(0);  
  Up.write(0);  
   for (pos = 0; pos <= 180; pos += 1) {
    Down.write(pos);
    _degrees = pos;
    dis();              
    delay(50);                       
    if (pos == 180){
         for (pos2 = 0; pos2 <= 180; pos2 += 1) {
    Up.write(pos2);
    _degrees = pos + pos2;
    dis();            
    delay(50);                       
      }
  }
   }
  for (pos = 180; pos >= 0; pos -= 1) { 
    Down.write(pos);
    Up.write(pos);
    delay(5);                      
  }
}
void dis(){
  digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance= duration*0.034/2;
Serial.print(distance);
Serial.print(",");
Serial.println(_degrees);
  }

Custom parts and enclosures

EXE File
Download the EXE file from here
circular_draw_qP2ROsoPds.rar

Schematics

Circuit Diagram
Radar bb 7lhwgt0c86
Circuit Diagram
Radar pcb xzelmr8iaj
Circuit Diagram
Radar schem achq4xoes5

Comments

Similar projects you might like

Spy Object Tracker + Radar + Status Alert

Project showcase by Alireza Karkon

  • 1,777 views
  • 0 comments
  • 13 respects

LSS (Light Status System) Intensity and Direction Finder

Project tutorial by Alireza Karkon

  • 862 views
  • 0 comments
  • 7 respects

TIA Weak Artificial Intelligence IoT Assistant

Project tutorial by Adam Milton-Barker

  • 3,898 views
  • 0 comments
  • 20 respects

Morse Code Transmitter - Light Signal

Project showcase by Alireza Karkon

  • 2,118 views
  • 1 comment
  • 7 respects

Arduino Darkness Activated Ghost

Project tutorial by Technovation

  • 1,974 views
  • 2 comments
  • 10 respects

Temperature and Humidity Data Logger

Project tutorial by Wimpie van den Berg

  • 23,407 views
  • 2 comments
  • 22 respects
Add projectSign up / Login