sparkfun / pdp-qwiic-micro-python

Repo to manage the logistics of micro python qwiic driver development
0 stars 0 forks source link

ToF Distance Sensors #39

Open sfe-SparkFro opened 2 weeks ago

sfe-SparkFro commented 2 weeks ago

Board

SparkFun Distance Sensor - 1.3 Meter, VL53L4CD (Qwiic) SparkFun Distance Sensor Breakout - 4 Meter, VL53L1X (Qwiic)

Notes

Arduino Library Python Driver

Both product pages link to the same drivers listed above. Confirm both the Arduino and Python drivers work with both boards (and if so, clarify that in the readme files and such)

sfe-SparkFro commented 2 weeks ago

I believe these sensors have 16-bit addresses, so Qwiic_I2C_Py would need to be modified to enable that.

malcolm-sparkfun commented 1 week ago

This uses the I2C driver function __i2c_rdwr__, which originally only existed for Linux so to get it to work with MicroPython, you have to use a version of qwiic_i2c that includes this commit