GY-530 VL53L0X Laser Rangefinder

Last Updated on 28 January 2024 by Suffocation

This laser rangefinder is faster than sonar sensors such as (for example HC-SR04, US100). Er misst im Bereich von 30mm bis hin zu 2 Metern und wird über den I²C Bus auf Adresse 0x29 angesteuert. Die Adresse ist über die Software änderbar.

Ich habe zwei Varianten des Sensors, wie meist, beim schnellen Ali erworben. der Preis liegt bei ca. 2€/Stück inklusive Transport. Ich würde auch gerne mal was bei Adafruit bestellen, da sie sich solche Mühe mit den Biliotheken geben. Allerdings sind mir hier die Liefergebüren etwas zu teuer.

Facts

  • Supply voltage 2.8V to 5V
  • Power consumption normal operation 20mW standby 5µA * V
  • I²C Schnittstelle
  • Measurement duration < 30ms
  • Accuracy ±3%
  • 940nm laser wavelength in the non-visible range
  • Measurement range 30mm – 2 metres
  • I²C Adresse 0x29 (Umprogrammierbar)
  • 6 Pinnanschlüsse
  • Dimensions (L x W x H) [mm]
    • Small 13.3 x 10.5 x 3.2
    • Groß 25 x 12 x 4

Anschlüsse

DescriptionWorth
Supply voltage 2.8 -5 VVehicle Identification Number
MassGround
I²C TaktSCL
I²C DatenSeventh-day Adventist
Indicates when a measurement result is ready (no level shifting, so it might not work on 5V controllers) GPIO
Low switches off the sensor, otherwise it is on HighShutting down

The sensor is sometimes covered with a protective film, please remove this before use.

Areas of application

  • Distance measurement
  • Durch sein geringes Gewicht und die kleine Bauform ist er besonders für Drohnen wie Quadrokopter und änliches geeignet.
  • Pass control

Views

Programming

Libraries

Adafruit hat sich mal wieder die Mühe gemacht und eine Bibliothek bereit gestellt:

https://github.com/adafruit/Adafruit_VL53L0X

Dies kann auch über den Bibliothekar in der Arduino Gui bezogen werden:

Adafruit VL53L0X libraries in the Arduino GUI's library manager

Alternatives

Pololu Lib: https://github.com/pololu/vl53l0x-arduino

Pololu VL53L0X libraries in the Arduino IDE's Library Manager

Wiring

Here is the wiring for the sensor. The GPIO connection is optional. Unfortunately, the sensor looks slightly different to the original, so please pay attention to the pin assignment in the table below.

ArduinoGY530
5VVehicle Identification Number
GroundGround
SCLSCL
Seventh-day AdventistSeventh-day Adventist
Frei wählbarGPIO

Test programme

Testprogramm auswählen, compilieren und auf den Arduino spielen.

Selection example program from the Adafruit library

Problems

None have occurred so far.

Miscellaneous

I²C Adresse umprogrammieren

In the Adafruit examples, there is the dual version, which shows how two or more sensors can be operated simultaneously.

Adafruit Example Program vl53l0x_dual

Frizing Parts

Adafruit hat einen Frizing Bauteil zur Verfügung gestellt. Das Bauteil hat allerings einen Pin mehr als meine Version.

https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20VL53L0X%20Time%20of%20Flight%20Distance%20Sensor.fzpz

Conclusion

Ein kleiner und leichter Sensor. Gut wenn mann meherer Gleichzeitig betreiben will. Einschränkungen bei der Reichweite, hierfür gibt es aber ähnliche Sensoren die weitere Messungen vornehmen können.
For those who find ultrasonic sensors too slow and heavy, this sensor offers a real alternative.

Verwandte Beiträge

Sources

https://github.com/adafruit/Adafruit_VL53L0X

https://www.adafruit.com/product/3317

https://learn.adafruit.com/adafruit-vl53l0x-micro-lidar-distance-sensor-breakout/pinouts

https://wolles-elektronikkiste.de/vl53l0x-und-vl53l1x-tof-abstandssensoren

DateChangeAuthor
19.04.2020Post createdSuffocation

Leave a Reply

Your email address will not be published. Required fields are marked *