2D Ultrasonic Mapping

Introduction: 2D Ultrasonic Mapping

In this instructable we will shows you how to use a sonar sensor to create a 2D maps of surrounding objects. This project is part of the landmine detecting quadcopter project by SRJC Computer Science Club. This part of the project will allow the quadcopter to detect objects in it's surrounding.

Step 1: Components


1 x Ultrasonic range finder

1 x Stepper Motor - Bipolar (Nema 17)

1 x Arduino Uno (Rev3)

1 x EasyDriver_v44 (Motor driver)

1 x 12v Power Adapter Jumper Wires (as needed)

1 x Breadboard


Soldering Iron and Solder

Wire Cutter

Laptop Arduino IDE Processing IDE

1 x USB cable (for Arduino uno)


Helping hands

Alligator clips

Brillo pad (for cleaning soldering iron)

Step 2: Wiring


  1. The An in the ultrasonic range finder in to A0 in the Arduino port.
  2. The Dir in easydrive to D8.
  3. The Step in easydrive to D9.
  4. The Ground to Ground.

Step 3: Coding

Processing Code and Arduino code

Be the First to Share


    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    3 Discussions


    Question 2 years ago

    what processing ide did you use?


    Reply 5 years ago

    Thank you. It is work in progress we are going to replace the ultrasonic range finder with Liar-lite v2 so we can get a better resolution.