CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
GNU General Public License v3.0
1 stars 0 forks source link

Sensor interface for intertial module #9

Open linguini1 opened 7 months ago

linguini1 commented 7 months ago

A sensor interface needs to be provided for the inertial sensor module: https://www.st.com/resource/en/datasheet/lsm6dso32.pdf

You can find more information about how the avionics hardware team implemented the board here (including addresses).

linguini1 commented 3 months ago

Using branch imu

linguini1 commented 2 months ago

Integration sheet: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjpmrX55Of0AhVUt6QKHdojAvcQFnoECA8QAQ&url=https%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fapplication_note%2Fdm00517282-lsm6dso-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf&usg=AOvVaw2It03mShcwb7RvY2LLovew

linguini1 commented 2 months ago

Code example for STM boards: https://github.com/STMicroelectronics/lsm6dso-pid/blob/ec52bc39c3aec7c03bf702c9b92698859fedae0f/lsm6dso_reg.c

linguini1 commented 1 month ago

Partially completed but leaving development branch imu open for configuration changes.

linguini1 commented 1 month ago

Update: no longer implement sensor interface, create a generic driver interface that can be used in any way within the collector thread for this sensor.