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
Parts
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
Tools
Soldering Iron and Solder
Wire Cutter
Laptop Arduino IDE Processing IDE
1 x USB cable (for Arduino uno)
Recommended
Helping hands
Alligator clips
Brillo pad (for cleaning soldering iron)
Step 2: Wiring
Connect
- The An in the ultrasonic range finder in to A0 in the Arduino port.
- The Dir in easydrive to D8.
- The Step in easydrive to D9.
- The Ground to Ground.
Step 3: Coding
Processing Code and Arduino code
3 Comments
Question 4 years ago
what processing ide did you use?
7 years ago
Cool sonar system
Reply 7 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.