2020-07-25 06:06 AM
I see from this GY530 schematic that the module has level converters for the I2C lines, but not for GPIO & XSHUT lines. When using a 5V micro-controller like an Arduino UNO or MEGA to run multiple VL53L0Xs using XSHUT to configure addresses, will driving XSHUT to 5V kill the module (I note from the VL53L0X datasheet that XSHUT/GPIO have max permissible voltage of 3.6V)? If so, what do you recommend for multiple VL53L0X systems and a 5V microcontroller?
TIA,
Frank
2020-07-27 10:20 AM
That's a hard one. One can use a level shifter to reduce the max input to the ToF device, or I suppose you could switch to a processor that uses 3v3. I would suggest an STM32 from ST, but then you might accuse me of working for ST. ( Which I do.) But I'm pretty sure Arduino makes a 3v3 processor as well.
2020-07-27 03:20 PM
John,
I finally figured out how to handle the XSHUT pins using a 5V processor. I configure one of the processor's GPIO pins to OUTPUT with a LOW output, which drives the associated XSHUT pin LOW. When I want a HIGH on that XSHUT pin, I simply switch the processor GPIO pin to INPUT. The high impedance on the processor's pin allows the 47K pullup on the VL53L0X module to pull the XSHUT pin to 3.3V.
Frank
2020-07-29 07:36 AM
John,
I ordered a couple STM32 'blue pill' boards to play with. Other than the minor PITA of having to flash a bootloader to program via USB from Arduino IDE, seems like an interesting board to have around! ;)
Frank