How to change the I2C address for VL53L0X laser distance sensor

Project Video
Project Details

Arduino code to update I2C address of GY-530 or VL530X module.

I2C Scanner Code is located here

Project Code

 * Arduino sketch to update I2C address for GY-530 VL53L0X module
 * Watch video instruction for this code:
 * Download this code from:
* Written by Ahmad Shamshiri for on Dec 06, 2018 
 * in Ajax, Ontario, Canada
 * Video Tutorial recorded Dec 06, 2018
  * 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
    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
    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 .

#include "Adafruit_VL53L0X.h"

Adafruit_VL53L0X lox = Adafruit_VL53L0X();

void setup() {
  // I2C address update 20181206
  lox.begin(0x2B);// put any address between 0x29 to 0x7F 

void loop(){


If you found this Arduino course helpful, please support me so I can continue creating content like this. support me via PayPal