Sei sulla pagina 1di 10

(/) let's make Explore (/tag/type-id/) Contests (/contest/) Classes (/classes/)

Publish (/about/create.jsp)
(http://www.autodesk.com/)
Featured: Robots Class (/class/Robots-Class/) Gardening (/howto/gardening/) For Teachers (/teachers/)

In Motion Contest (/contest/designnowinmotion/) advertisement

Simple LiDAR Using the Laser Rangefinder Uni-T UT390b, Arduino


and Turbo Pascal by
stoppi71 (/member/stoppi71/) in arduino (/tag/type-id/category-technology/channel-arduino/)

Download h (/id/Simple-LiDAR-using-the-laser-rangefinder-Uni-T-UT3/) 4 Steps .

 Collection   I Made it!  Favorite  Share 

advertisement
About This Instructable

License:
8 63,058 views
 595 favorites

stoppi71
(/member/stoppi71/)
(https://plus.google.com/116264769077693190

Follow 131
(/member/stoppi71/)

More by stoppi71:

  (/id/Scanning-Laser-

(/file/F59QMWJIGFELZDL/)
Microscope-With-Arduino/)

Hello!
  (/id/Arduino-
Some days ago I bought a laser rangefinder (Uni-T UT390b, f.e.

http://www.dx.com/de/p/uni-t-ut390b-45m-laser-dist...
(http://www.dx.com/de/p/uni-t-ut390b-45m-laser-dist)) to realise a simple
LiDAR. The rangefinder has an accuracy of +/- 2mm and is able to measure
distances up to 45m. This will be enough for my living room ;-) Segway/)  
You'll also need:
* Arduino Mega (because of more than one Serial Outputs)
(/id/Arduino-Theremin-With-Variable-Pitch-
* 2 Servos and-Volume/)
* Servo tilt (f.e. http://physicalcomputing.at/epages/f46ab952-295a-4f65-8ffa-
38a4b8eec267.sf/de_AT/?ObjectID=156007
(http://physicalcomputing.at/epages/f46ab952-295a-4f65-8ffa- Related
38a4b8eec267.sf/de_AT/?ObjectID=156007))
Intel IoT Edison sonar
* LM317 and some other parts for the 3V-power-supply rangefinder distance meter
(/id/Intel-IoT-Edison-sonar-
* 5V/3A power supply for the servos and the voltage Regulator rangefinder-distance-meter/)
(/id/Intel-IoT- by techprolet
* cable, different connectors etc. 360 LIDAR Module (/id/360-
LIDAR-Module/)
by DomV811
Step 1: The UT390b Laser Rangefinder and His Outputs (/member/DomV811/)
(/id/360-
Build a 30$ laser Scanner
(/id/Build-a-30-laser/)
by Sardau (/member/Sardau/)

(/id/Build-a-
Alphanumeric laser projector
with arduino
(/id/Alphanumeric-laser-
projector-with-arduino/)
(/id/Alphanumeric-
by vitaliy78
DIY Arduino 3D Laser
Scanner (/id/DIY-Arduino-3D-
Laser-Scanner/)
by Ardumotive_com
(/id/DIY- (/member/Ardumotive_com/)
(/file/FGO9RQCIGFGO7BX/)

In the web you can find some interesting articles about the UT390b and the
serial read out of the data.
* https://github.com/erniejunior/UT390B_Arduino_Library
(https://github.com/erniejunior/UT390B_Arduino_Library)
* http://blog.qartis.com/arduino-laser-distance-mete...
(http://blog.qartis.com/arduino-laser-distance-mete...)
* http://blog.qartis.com/laser-distance-meter-update-serial-commands-timing-
measurements/ (http://blog.qartis.com/laser-distance-meter-update-serial-
commands-timing-measurements/)

There's even a special UT390b-library for the arduino.


You just need 3 pins (GND, RX and TX), placed under the batteries on the back
of the unit. Open the rangefinder (instruction: http://blog.qartis.com/arduino-
laser-distance-meter/ (http://blog.qartis.com/arduino-laser-distance-meter/))
and solder 3 wires on the outputs.
Attention:
* The Tx-signals coming from the arduino have a 5V-level. This is too high for
the UT390b and may destroy the electronics. Therefore you'll need a voltage
devider with two 10kOhm resistors! The 2.7V-output doesn't need to be
connected.
* A further problem is, that the UT390b will sometimes turn automatically off
during the measurement or will stop because of an error message (f.e. 190). To
be able to continue the measurement without problems you should replace the
batteries with an external power supply and a switch for the restart! I use a
LM317 as a voltage regulator.
If the UT390b shows an error on its Display you'll just have to switch it off and
on again followed by pressing the ON-button. If the UT390 turns off
automatically you'll just have to push the ON-button.

advertisement
Step 2: The Measurement

(/file/FZHVOXYIGFGO7II/)

To start the measurement I have to push a button. Then the two servos move
zigzag and for each direction the measured distance and alignment (horizontal
angle phi, vertical angle Theta) are sent to the computer. To save the values I
use the program teraterm.

Step 3: Visualization of the Data


(/file/FMX81SMIGFGO7IH/)

When you have the data (phi, theta, distance) you want to visualize them. I
haven't found a suitable prgram in the Internet to do that. The problem is, that
the values aren't regularly. Most of the Commercial programs need regular (x/y)-
Points to draw a net.
Luckily I've written a program in Turbo Pascal 20 years ago to visualize 3D-
data. The intention was to display topographic surfaces like my hometown. For
this I had to read the altitudes of 1600 points in a map ;-)

For the LiDAR I use this program to visualize the detected surrounding. With
keys I'm able to Change the Point of view, the magnification and the offset.
Step 4: The Results

(/file/FGDKVWOIGFGO7D7/)

Scanning my living room was the first test of my LiDAR. At this time I didn't
have the option switching off the UT390b manually yet. Therefore some lines
are a bit distorted and displaced, because I had to take the rangefinder out of
the mount a few times during the measurement.
Equipped with the external switch and a more stable mounting I'll now produce
better results ;-)
Thank's for spending your time. Maybe you're interested in my other projects:
https://www.youtube.com/user/stopperl16/videos

advertisement

Ad
Tienda de Arduino
Portes gratis para península. Todos los sensores
que necesites
e-ika.com

I More Comments
advertisement

Ad
Low Cost 4 1/2 DMM
Dual-Display, 150 rdgs/s, True-RMS, High-
precision, USB&LAN
SIGLENT TECHNOLOGIES
FEATURED CHANNELS

Woodworking Paper Kitchen Hacks Puzzles Laser Cutting Space Homesteading 3D Printing Sewing
(/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type-
id/category- id/category- id/keyword- id/category- id/category- id/keyword- id/category- id/category- id/category-
workshop/channel-craft/channel- kitchen%20hacks/?play/channel- workshop/channel- astronomy/? home/channel- technology/channel-
craft/channel-
woodworking/) paper/) sort=FAVORITES) puzzles/) laser-cutting/) sort=FAVORITES) homesteading/) 3D-Printing/) sewing/)
Newsletter About Us
Let your inbox help you discover Who We Are (/about/)
our best projects, classes, and Advertise (/advertise/)
contests. Instructables will help Contact (/about/contact.jsp)
you learn how to make anything! Jobs (/community/Positions-available-at-Instructables/)

enter email I'm in! Help (/id/how-to-write-a-great-instructable/)

Find Us Resources
Facebook (http://www.facebook.com/instructables) For Teachers (/teachers/)
Youtube (http://www.youtube.com/user/instructablestv) Residency Program (/pier9residency)

Twitter (http://www.twitter.com/instructables) Gift Premium Account (/account/give?sourcea=footer)


Forums (/community/)
Pinterest (http://www.pinterest.com/instructables)
Answers (/tag/type-question/?sort=RECENT)
Google+ (https://plus.google.com/+instructables)
Sitemap (/sitemap/)

Terms of Service (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721) |


Privacy Statement (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21292079) |
Legal Notices & Trademarks (http://usa.autodesk.com/legal-notices-trademarks/) | Mobile Site (https://www.instructables.com)
(http://usa.autodesk.com/adsk/servlet/pc/index?id=20781545&siteID=123112)
© 2016 Autodesk, Inc.

Potrebbero piacerti anche