adafruit / Adafruit_CircuitPython_VL53L1X

CircuitPython module for interacting with the VL53L1X distance sensor.
MIT License
8 stars 10 forks source link

Changing the default address #17

Open lpilli opened 7 months ago

lpilli commented 7 months ago

I changed the default address to 0X30 on one of my sensors, it reverted back to its default after the Pi rebooted. Is this normal?

Thinking to run the set_address at boot, other than that I dont see other options? Multiplexers is one other still though.

lpilli commented 7 months ago

including the set_address into my code, so everytime I need to read from two sensors, set_address runs...

lpilli commented 7 months ago

Actually now I am curious, can we change the default address permanently?

johnnohj commented 3 months ago

The VL53L1X doesn't have onboard non-volatile memory, so any settings are cleared with power down. For using a pair of these sensors, check out this guide here. If you opt to use a multiplexer, I can vouch for this one when used with two VL53L1Xs.

lpilli commented 3 months ago

Pilli, Leela reacted to your message:

From: johnnohj @.> Sent: Monday, June 3, 2024 10:36:52 PM To: adafruit/Adafruit_CircuitPython_VL53L1X @.> Cc: Pilli, Leela @.>; State change @.> Subject: Re: [adafruit/Adafruit_CircuitPython_VL53L1X] Changing the default address (Issue #17)  

You don't often get email from @.*** Learn why this is important

Caution: External email.

The VL53L1X doesn't have onboard non-volatile memory, so any settings are cleared with power down. For using a pair of these sensors, check out this guide

here. If you opt to use a multiplexer, I can vouch for this one when used with two VL53L1Xs. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>