Simple Processing Uldar (Ultrasonic Detection and Ranging)

2,427

12

12

Introduction: Simple Processing Uldar (Ultrasonic Detection and Ranging)

About: I’m degree in Psychology in 2001, with a thesis in Artificial Intelligence. I’m working on Smart Object, IoT and Interactive Design. I’m developing autonomously my projects. I make autonomously programs in A...

This is a simple project that use Arduino UNO and Processing to make a simple lidar.

Lidar (also called LIDAR, LiDAR, and LADAR) is a surveying method that measures distance to a target by illuminating the target with pulsed laser light and measuring the reflected pulses with a sensor. Differences in laser return times and wavelengths can then be used to make digital 3-D representations of the target. The name lidar, now used as an acronym of light detection and ranging (sometimes light imaging, detection, and ranging), was originally a portmanteau of light and radar. Lidar sometimes is called 3D laser scanning, a special combination of a 3D scanning and laser scanning. It has terrestrial, airborne, and mobile applications.
Lidar is commonly used to make high-resolution maps, with applications in geodesy, geomatics, archaeology, geography, geology, geomorphology, seismology, forestry, atmospheric physics, laser guidance, airborne laser swath mapping (ALSM), and laser altimetry. The technology is also used in control and navigation for some autonomous cars.

Now we can start to make !

Step 1: Make the Hardware

For this project we can use:

Materials

Arduino UNO (official: https://amzn.to/2CLqfp2) (Elegoo: https://amzn.to/2Rkl7fv)

Motor g90 micro servo (https://amzn.to/2yDzZ1H)

HC-SR04 ping sensor (https://amzn.to/2COXgAq)

Breadboard (https://amzn.to/2CLqr7K)

Some wires (https://amzn.to/2RmQBSk)

Optional

A 3D printed case for Arduino (https://www.thingiverse.com/thing:994827)

A 3D printed pieces for HC-SR04 sensor (https://www.thingiverse.com/thing:3182237)

Code


First of all connect the sensor to the Arduino UNO pin 12 and 13. After that connect the servo motor to the Arduino UNO pin No.3 and the power supply.

<--Do Not Use Arduino UNO power to move the Servo motor -->

For Servo sg90 use USB cable to power the motor.

Step 2: Upload the Arduino UNO Code

Upload the code. Now you can see the motor moves. Try to open a Serial port 9600 baud rate to read the measures of the sensor.

Download the code from:

https://github.com/masteruan/lidar_Processing

Step 3: Test Your Code in Processing

Open Processing and read all the serial values. Select the right port on Processing console.

Now you can see the white dots on the black window. Each dot on more biggest then the object are near.

Look the video!

See the code by this link: https://github.com/masteruan/lidar_Processing

Electronics Tips & Tricks Challenge

Participated in the
Electronics Tips & Tricks Challenge

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Super-Size Speed Challenge

      Super-Size Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020

    12 Discussions

    0
    NeilM77
    NeilM77

    1 year ago

    Clicked on a LIDAR link and got ultrasound instead. Is there a LIDAR version of this instructable?

    0
    JohnH803
    JohnH803

    1 year ago

    Not to be nitpicky, but this doesn't appear to be Lidar. Similar functionality using ultrasonics, but not Lidar.

    0
    masteruan
    masteruan

    Reply 1 year ago

    Correct! I've changed the name of Instructables. Now il ULDAR (Ultrasonic Detection and Ranging)
    Thanks

    0
    JohnH803
    JohnH803

    Reply 1 year ago

    No worries. We're all here to learn. :)

    0
    JohnM1498
    JohnM1498

    1 year ago on Introduction

    "surveying method that measures distance to a target by illuminating the target with pulsed laser light"

    Where's the laser?

    0
    masteruan
    masteruan

    Reply 1 year ago

    Correct! I've changed the name of Instructables. Now il ULDAR (Ultrasonic Detection and Ranging)
    Thanks

    0
    BeerG
    BeerG

    1 year ago

    This looks like a normal ultrasound sensor right? Why call it lidar?

    0
    masteruan
    masteruan

    Reply 1 year ago

    Correct! I've changed the name of Instructables. Now il ULDAR (Ultrasonic Detection and Ranging)
    Thanks

    0
    AnthonyS339
    AnthonyS339

    1 year ago on Step 3

    That's not really a ladar, isn't that a ultrasonic sensor ?

    0
    masteruan
    masteruan

    Reply 1 year ago

    Correct! I've changed the name of Instructables. Now il ULDAR (Ultrasonic Detection and Ranging)
    Thanks

    0
    nicholas29
    nicholas29

    1 year ago

    Looks interesting, but LIDAR uses lasers.

    0
    masteruan
    masteruan

    Reply 1 year ago

    Correct! I've changed the name of Instructables. Now il ULDAR (Ultrasonic Detection and Ranging)
    Thanks