Lesson 84: How to change I2C address of VL53L0X 200cm Laser Distance sensors with Arduino
Related or required files and link to this lesson
Part 8: Obstacle Avoidance with Arduino
In this lesson we learn how to use two or more VL53L0X 200cm laser ToF (Time of Flight) distance sensor using Arduino. Code is fully explained and demonstrated. this code is for single sensor.
- 00:00 Start
- 00:50 Introduction
- 02: 55 Wiring Explained
- 06:05 Code explained
- 08:03 Demonstration
/*
* Lesson 84: Using change I2C address of VL53L0X 200cm Laser Distance Sensor with Arduino
* Arduino sketch to update I2C address for GY-530 VL53L0X module
Watch full video instruction: https://youtu.be/RRQASevYK3g
* Download this code from: http://robojax.com
*
* Written by Ahmad Shamshiri for Robojax.com on Dec 06, 2018
* in Ajax, Ontario, Canada
* Video Tutorial recorded Dec 06, 2018
This video is part of Arduino Step by Step Course which starts here: https://youtu.be/-6qSrDUA5a8
If you found this tutorial helpful, please support me so I can continue creating
content like this. You can support me on Patreon http://robojax.com/L/?id=63
or make donation using PayPal http://robojax.com/L/?id=64
* This code is "AS IS" without warranty or liability. Free to be used as long as you keep this note intact.*
* This code has been download from Robojax.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "Adafruit_VL53L0X.h"
Adafruit_VL53L0X lox = Adafruit_VL53L0X();
void setup() {
// Robojax.com I2C address update 20181206
lox.begin(0x2B);// put any address between 0x29 to 0x7F
}
void loop(){
}