In some google searching I did not find a micropython driver for the FXOS8700 or FXAS21002. If anyone knows of one I would appreciate it if you could post it or send it to me or something.
Thanks
Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?
I am not aware of one. You will find various IMU drivers at micropython-imu. If you need sensor fusion I recommend the BNo055 which performs it on-chip with great effectiveness.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?
There are CircuitPython drivers for both the FXOS8700 and the FXAS21002. Both will be trivial to port to MicroPython - just change some references to the way I2C is handled. Let me know if you get stuck!
I'd also suggest a design change: just pass an I2C object to each of the drivers rather than create an I2C object.
I'd also suggest a design change: just pass an I2C object to each of the drivers rather than create an I2C object.