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
| Description | Worth |
| Supply voltage 2.8 -5 V | Vehicle Identification Number |
| Mass | Ground |
| I²C Takt | SCL |
| I²C Daten | Seventh-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 High | Shutting 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:

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

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.

| Arduino | GY530 |
| 5V | Vehicle Identification Number |
| Ground | Ground |
| SCL | SCL |
| Seventh-day Adventist | Seventh-day Adventist |
| Frei wählbar | GPIO |
Test programme
Testprogramm auswählen, compilieren und auf den Arduino spielen.

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.

Frizing Parts
Adafruit hat einen Frizing Bauteil zur Verfügung gestellt. Das Bauteil hat allerings einen Pin mehr als meine Version.
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
- TF Mini Laser Rangefinder
- RC car with PS2 controller
- Arduino – HC-SR04 Distance Sensor
- Controlling the US-100 distance sensor with a Raspberry Pi 3
- US-100
- HC-SR04 Distance Sensor
- US-015
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
| Date | Change | Author |
|---|---|---|
| 19.04.2020 | Post created | Suffocation |