kriswiner / LSM6DSM_LIS2MDL_LPS22HB

8 stars 3 forks source link
arduino sensors

LSM6DSM_LIS2MDL_LPS22HB

Initial set of C++ libraries and main Arduino sketch for a custom breakout board using the 6 DoF LSM6DMS accel/gyro, 3DoF LIS2MDL magnetometer, and LPS22HB pressure/temperature sensor along with the EM7180 and an EEPROM to hold its firmware. We've built the sensor drivers for the EM7180 so initial testing is underway.

We also have a production version without the EM7180 for using the open-source Madgwick sensor fusion filter. The result, after adequate sensor calibration, is three degree rms heading accuracy with this combination of sensors, which is superb. We expect to do even better with the EM7180 managing the sensors.

Here is the EM7180-based breakout we are using:

LAM6DSM pcb

The design files are available in the shared space at OSH Park.

Here is the production version with just the three ST sensors:

AllST.

This is available for sale at Tindie.