Close
0%
0%

MappyDot

Micro Smart LiDAR Sensor

Similar projects worth following
MappyDot is a smart ranging sensor which provides system designers with the ability to measure accurate distances on drones and robotic platforms for collision avoidance, area mapping, distance measurement, gesture recognition and motion sensing. The MappyDot uses the VL53L0X laser time-of-flight ranging sensor from STMicroelectronics, which is a tried and tested 940nm Class 1 laser sensor in use in millions of devices worldwide.

The MappyDot can be used for example to prevent your drone from colliding with objects or optimise its landing, make star trek like door sensors to open doors automatically, create vibration sensors for the blind or even fashion unique musical instruments.

The MappyDot is part of a planned suite of enhanced sensor breakouts that offer additional measurement filtering, an easy to use I2C interface, crosstalk reduction and an automatic bus addressing scheme. This helps you integrate the sensor easily compared to its standalone counterpart, which require a complicated bus multiplexing setup, large processing overheads, a code and memory heavy API and a difficult to use I2C interface.

MappyDots provide distance measurements up to 2 meters at a non-interpolated rate up to 50Hz, with a 25 degree field of view. Multiple MappyDots can be chained together easily to gather multi-dimentional data about an area much like radar, without reducing sampling rate due to processing overheads. They are also calibrated out-of-the-box to within ±1mm, and can be easily re-calibrated if integrated into a commercial enclosure. The MappyDot also performs low pass filtering on the motion data that arrives from the sensor, to provide you with the clearest picture of the environment around it. While distance measurement is the name of the game, the MappyDot also offers the following features:

  • Auto addressed bus scheme for chaining up to 112 devices.
  • A 2.8-5V signalling and operating voltage range which will work with your platform of choice.
  • A simplified I2C interface for easy integration into new or existing projects with next to zero code and processing requirements.
  • Reduced device initialisation and upkeep times. Many devices can now share the same bus with the fastest possible update rates. For example, you can poll 112 MappyDots, 50 times each, every second for a total of 5600 measurements per second (depending on your host processing speed).
  • Inter-sensor crosstalk reduction and measurement synchronisation to reduce measurement errors.
  • Low pass, real-time filtering to reduce background noise effects.
  • Automatic mode switching to get optimal measurements depending on the environment.
  • More advanced features and device pass-through for complex applications.
  • In-service firmware upgradability via I2C. There’s no need to disconnect already deployed and integrated devices.
  • Open source sensor firmware.
  • Threshold controlled, PWM or interrupt output from an onboard GPIO pin for standalone or distributed applications.
  • A tiny footprint - 13x17.8mm (0.51x0.70").
  • An easy to solder standard 2.54mm (0.1") pinout that can be used for either soldering directly to production boards or to header pins or wires for prototyping and breadboarding.
  • A user controllable LED (PWM, threshold, measurement or manual modes).
  • Device naming for easy recognition.
  • Precalibration for plug and play use, as well as auto user calibration.

All this is possible, without the need for any additional processing on your platform of choice.

When the devices are connected to a power source (2.8-5.5V), they automatically initialise with an array of addresses, which can be easily scanned and polled to determine what is on their I2C bus from a controller. From there the devices can be read with a few lines of code.

Upon first power up, the MappyDot allows users to obtain an accurate 16bit position with two lines of Arduino code:

  Wire.requestFrom(address, 2);
  distance = Wire.read() << 8; distance |= Wire.read(); 

It's that simple, there's nothing else to it. No special libraries to load, just read a value from the I2C lines.

The default MappyDot firmware offers different operating modes from the MappyDot Standard mode:

  • Highly Accurate - 1.2m - 5Hz
  • Long Range - 2m - 30Hz
  • High Speed - 1.2m - 50Hz
  • VL53L0X Default - 1.2m - 30Hz
  • MappyDot Standard - 2m auto switching - 50Hz

However, you can always tweak and update the firmware as you please via the I2C bootloader.

All MappyDot code, documentation and design on these project pages are licensed under the GNU General Public License (GPL) unless otherwise stated.

I sell on Tindie

  • 1 × STMicroelectronics VL53L0X Time-of-Flight (ToF) laser-ranging module
  • 1 × ATmega328PB Microcontroller
  • 1 × MIC5365-2.8 Power Management ICs / Linear Voltage Regulators and LDOs
  • 1 × LED Fiber Optics / Emitters
  • 1 × Passives Resistors and Capacitors

  • 1.4 MappyDot Firmware Released

    Blecky7 days ago 0 comments

    The 1.4 version of the MappyDot firmware has been released with a few bug fixes and small features from the MappyDot Plus added in.

    The feature list:

    • Added soft interrupt command.
    • Added AmbientRateRtnMegaCps and SignalRateRtnMegaCps command.
    • Tweaks to filtering, no longer filters with measurement rate under 12Hz, now changes filter parameters when measurement frequency changes.
    • Reset default function now applies the changes to the active ranging (previous versions required you to save settings and restart the module before they became active). You still need to save the default parameters if you want them to be retained.
    • Reduction to API platform code to save code space.

    It's available in the repo - https://github.com/SensorDots/MappyDotFirmware

    Also here's an unrelated Litar string strumming gif (it is using the soft interrupt however):

  • MappyDot Plus on Tindie

    Blecky04/17/2018 at 07:21 0 comments

    Here it is in all its glory!

    https://www.tindie.com/products/blecky/mappydot-plus-a-smarter-micro-lidar-sensor/

    Go forth and measure all the things :D

  • MappyDot Plus Firmware!

    Blecky04/11/2018 at 15:53 0 comments

    In anticipation of the MappyDot Plus about to be released, we have released the current version of the firmware - https://github.com/SensorDots/MappyDotPlusFirmware


    There's still a bit of code cleanup to do, but the major functions are available and working.

  • Ironing Out the Last of the Firmware Kinks and 100Hz!

    Blecky03/28/2018 at 12:48 0 comments

    We're still ironing out a few little firmware kinks before releasing. But here's some good news. The MappyDot Pluses will actually run up to 100Hz!

  • Hackaday Prize 2018

    Blecky03/15/2018 at 12:12 0 comments

    There's a MappyDot based Air Guitar in the works for the Hackaday Prize 2018! The design focus is on a very low latency four string interface using multiple sensors so you can play up and down the "neck" of the guitar.

    Check it out here:

    https://hackaday.io/project/87794-litar-lidar-air-guitar

  • MappyDot Plus

    Blecky03/02/2018 at 14:47 1 comment

    We are trialing the new VL53L1x from ST Micro for a new MappyDot Plus sensor. The VL53L1 provides a few extra features over the Vl53L0x sensor such as adjustable field of view, better ambient light immunity in certain operating modes as well as distance measurement up to 4 meters.

    We hope to release this soon on our Tindie store alongside the MappyDot for those looking for slightly more control from their sensors. It will also work with the MappyDot in the auto addressing bus so you can mix and match depending on your application.

  • Rev.01c Boards

    Blecky02/25/2018 at 11:50 0 comments

    We now have a Rev.01c board ready for programming and testing. We have also updated our reflow process to produce less issues that need to be corrected after assembly. The new boards have a slightly different BOM and a modified solder mask to make manufacturing easier (they are identical in function to the current Rev.01b):

    We still have a small number of Rev.01b boards in stock, so we are giving a 15% discount on these boards until sold out:

    I sell on Tindie

  • New Programming Board

    Blecky02/21/2018 at 12:33 0 comments

    We now finally have a panel programming and testing board for the MappyDot panels and future sensors we are working on (before installing pogo pins):

    It's a simple but feature packed design. The way it works is that each board has a controllable power supply through a TCA6424A 24-Bit digital I/O expander. This allows for programming and testing of an individual device on the panel (it has also been designed to allow all boards to turn on at once for a purely aesthetic effect with the PWM LED output).

    Each of the other I/O pins from every board is then connected on a shared bus which is brought back to a Teensy. This can then test for dry joints/disconnected pins on the currently powered board. Now, because they are on a shared bus, there's no way to identify if a board has a short on a certain pin under test, but this is rare occurrence, so if this happens the panel can be taken out and checked manually.

    The test routine is just a script which uses avrdude to program the board and check for errors, then it will run a serial terminal program to run through the pin test (built into the firmware) and i2c data test routines as well as calibration. It cycles through every board and then it flags individual boards for errors that need to be fixed.

    This should speed things up over the existing individual board programmer and tester:

  • MappyDot 15% Off Sale

    Blecky11/28/2017 at 03:50 0 comments

    The MappyDot is 15% off until Wednesday this week on Tindie, so if you've missed out on those juicy Cyber Monday specials there's still time to tick that off this year's bucket list - https://www.tindie.com/products/blecky/mappydot-micro-smart-lidar-sensor/?pt=ac_prod_search

  • Adelaide Maker Faire

    Blecky11/07/2017 at 11:54 0 comments

    What a crazy weekend. I was in Adelaide for Maker Faire with a MappyDot stall:

    I met up with the awesome Mick from MickMakes. He's a really nice fellow and also grabbed me a coffee when I was looking visibly withdrawn from caffeine. I also briefly caught up with the guys from Core Electronics and we each showed off some kit.

    Getting to Adelaide from Melbourne was the first hurdle. Just a short 727km drive gets you there in about 9 hrs with a short break:


    The day itself was just as full on. Without stopping to eat, 4pm came around so quickly when they rung the bell for the end of the day. I would have loved to get around and see all the makers, but the kids wanted to play with the Mappyano and annoy the owners of the knitting stall next door, with repetitive renditions of chopsticks.

    The Tindie guys also sent some swag to give out, unfortunately it just didn't arrive in time for the Sunday. However I now have a perfectly fitting Tindie shirt which I will parade about Melbourne.

    Also congratulations to Anthony from South Australia for winning the MappyDot prize draw. Your MappyDot is on the way to you in the mail.

    I will totally do it again next time!

View all 34 project logs

Enjoy this project?

Share

Discussions

Bub Rascal wrote 11/18/2017 at 22:05 point

The line

distance = Wire.read() << 8 | Wire.read();

has undefined result, because order of evaluation of functions in C is undefined. The same for C++ and Wiring.

At least add a comment what the order is expected to be.

  Are you sure? yes | no

Blecky wrote 11/18/2017 at 23:05 point

Ah good catch. I do explain the byte ordering in the documentation on the SensorDots site, but I have tweaked the "one liner" Arduino code to remove this ambiguity.


Thank you!

  Are you sure? yes | no

jean.perardel wrote 09/12/2017 at 08:19 point

Really cool sensors! 

Thanks for sharing! 

  Are you sure? yes | no

Blecky wrote 09/12/2017 at 10:20 point

Thank you Jean :)

  Are you sure? yes | no

Dan DWRobotics wrote 08/23/2017 at 18:30 point

This looks like a very interesting project indeed. I imagine you would be able to mount multiple units on a rotating cylinder and pole the units in a scanning motion as they traverse the forward facing plane. In effect you could make a rudimentary imaging sensor, much like the lidar on the boston dynamics bots. I imagine the data would be usable despite the wide angle of focus by combining data from each section of the scan to get a map of distances that would translate to 3d map of distances of everything in a forward facing 2 meter arc. Would be most useful for a full size robot!!

  Are you sure? yes | no

Farid Stein wrote 08/21/2017 at 20:55 point

This project looks extremely interesting and I can't wait to have a look at your firmware. I use the sensor myself in some projects and have had my share of trouble with it.

Any estimation when you will make it public?

  Are you sure? yes | no

Blecky wrote 08/27/2017 at 16:00 point

Hi Farid, the source code will be made public at the end of the month to coincide with the product's release :)

  Are you sure? yes | no

Cody Barnes wrote 08/21/2017 at 20:53 point

This could be useful to my work on the Eyedrivomatic project as a safety to prevent people from driving wheelchairs off of curbs or worse. What is the accuracy and resolution in "Highly Accurate" mode?

  Are you sure? yes | no

Blecky wrote 08/27/2017 at 16:19 point

For something like that I'm assuming that you would be aiming to detect a change in distance as you reach the curb's drop off point. The main thing to consider is the slightly limited ranging capabilities of the VL53L0X sensor outdoors.

It does start to degrade on bright days (it will still work, but the standard deviation increases). Temperature can also give a few cm's of error, however this can be re-calibrated easily though with a command (say every few minutes).

For shorter measurements less than 60cm on a bright sunny day (I haven't had any recently to test this myself), the highly accurate mode should give you around about +-4cm when measuring distance from the pavement. This is a worst case estimate, but generally it will be better than that, especially for shorter distances.

  Are you sure? yes | no

Ted Yapo wrote 06/28/2017 at 13:07 point

I looked at the VLX53L0X datasheet, and the field-of-view is 25 degrees, which seems wide if you want to use them in a narrow array.  I guess you could angle them into a coarse array, but I wonder about collimating optics of some sort.  I saw the application note about issues with crosstalk even using flat windows, so I'm not sure using a common lens system would be practical because of reflections in the lens system.  Ideally, you could slap a 12.5mm webcam lens on there, but it probably wouldn't work. The part is probably too small to easily fit separate lenses on top.  I guess it could also make the laser less eye-safe. What is your thought?

  Are you sure? yes | no

Blecky wrote 06/29/2017 at 11:52 point

Hi Ted,

I will be modelling these effects with the prototype boards to see what works and doesn't work. The main thing is that you would be using this for collision avoidance, so 25degrees is useful as you don't require as many devices to cover an entire area. In terms of reducing cross talk for narrower applications, shielding these overlaps with non reflective black surfaces will remove cross-talk effects in these cases.

I may consider an optional tubular add on for these types of requirements.

  Are you sure? yes | no

Corcovado wrote 11/26/2017 at 13:39 point

I'm likewise wondering if a collimating lense or lenses could be added. Have you proceeded with this?

  Are you sure? yes | no

ðeshipu wrote 06/21/2017 at 11:36 point

I see someone found the VL53L0X sensor! Personally I'm mostly interested in how you are going to achieve the levitation effect ;-)

  Are you sure? yes | no

Blecky wrote 06/21/2017 at 12:39 point

;)

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates