Hacking A Laser Tape Measure In 3 Easy Steps

uni-t-laser-distance

[Andrew] got a little help from his friends to hack a laser distance meter. Using laser distance meters as sensors is one of the great quests of hackers – with good reason. Accurate distance readings are invaluable for applications including robots, printers, and manufacturing. We’ve seen people try and fail to hack similar units before, while others built their own from scratch. [Andrew] started experimenting with the UNI-T 390B, a relatively cheap ($60 USD) device from China. He found the 390B has a serial port accessible through its battery compartment. Even better, the serial port is still enabled and outputs distance data. While data could be read, [Andrew] couldn’t command the 390B to start a measurement. The only option seemed to be using the Arduino to simulate button presses on the 390B’s front panel.

In an update to his original blog,  he described an Arduino sketch which would decode the distance measurements. That’s when [speleomaniac] jumped in with the discovery that the Uni-T would respond to commands in the form “*xxxxx#”. Armed with this information, [Andrew] posted a second update with a basic command breakdown. Command *00004# will take a single measurement and output the data via serial. Command *00002# will take 3 measurements, outputting them in a C style array format. There are several other commands which output debug information and what appear to be stored measurement dumps. Although he didn’t explore every nuance of the data output,  [Andrew] now has enough information to initiate a measurement and read the result. Nice work!

[Thanks James!]

7 thoughts on “Hacking A Laser Tape Measure In 3 Easy Steps

  1. I wished there were a cheap and precise Lidar-System with a nice Data-Interface. Its so essential for Robotic that I’m wondering why there is not a kickstarter for it every second week for something like this.

    1. I think, that the optics are most significant part in overall price. That isn’t what You can do very cheaply by yourself. Little bit reverse engineering of analog circuitry and You can build your own embedded system, that makes what you want. Of course if You are familiar with C/C++ or any other programming language.

      There’s is plenty cheap, high performance ARM microcontrollers that fit for doing such tasks. Few weeks and you could have a nice project :) After all that is one of plenty ways to do LIDAR. And what i suggested not necessarily is best way.

      According to go in a Kickstarter.. I think, that isn’t right way to buy bunch those laser distance meters and take each apart for parts, optics etc. Going on a Kickstarter better be something like this: http://forum.arduino.cc/index.php?topic=110549.0 But i think better to do like a Hackaday project and involve everyone, who are interested.

  2. is there any way to update or modify the “laser tape” firmware to prevent it from turning off automatically? I went on a different route and I video the screen to ocr but the unit shuts off periodically.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.