Adafruit_SensorLab icon indicating copy to clipboard operation
Adafruit_SensorLab copied to clipboard

Enable configurable addresses for FX devices

Open elaske opened this issue 5 years ago • 5 comments

Integrate support for https://github.com/adafruit/Adafruit_FXOS8700/pull/6 and https://github.com/adafruit/Adafruit_FXAS21002C/pull/9 configurable addresses.

I have tested with the Freescale Freedom board with these devices on it with a Grand Central M4, because those are the boards I have. What is important to note is that this Freescale board seems to not work on the Arduino Due, possibly due to the underlying I2C Wire implementation. The scanI2C() method blocks indefinitely, will put in an issue if I can reproduce it separately.

elaske avatar Apr 06 '21 00:04 elaske

Seems like it's not finding the updated version of this, possibly because this is failing? https://github.com/adafruit/Adafruit_FXOS8700/actions/runs/720275456

elaske avatar Apr 06 '21 00:04 elaske

@ladyada this requires https://github.com/adafruit/Adafruit_FXOS8700 v1.5+ and https://github.com/adafruit/Adafruit_FXAS21002C/ v1.4+, which don't have tags created after their merge to master.

Possibly related, both of them seem to have issues deploying to gh-pages - not enough info from the CI to diagnose for myself why they're not.

elaske avatar Apr 06 '21 00:04 elaske

yeah the CI error is due to a secret being out of date, i just kicked em. @dherrada does our library update sweeps...after they're done in a few days we can revisit this page. btw these sensors are likely EOL, i would not recommend them for new product/projects

ladyada avatar Apr 06 '21 01:04 ladyada

Interesting, since I didn't see any NRND, etc. kind of marking on the datasheets, et al. I'm looking for high accuracy, and the FXAS21002C still seems to have the best on the gyro front, for example. I do like the MPU 9-axis parts, but they seem to have more drift, though I haven't used them recently. I'd be curious to be pointed to something better =).

elaske avatar Apr 06 '21 03:04 elaske

https://www.adafruit.com/product/4502

ladyada avatar Apr 06 '21 03:04 ladyada