cherking19 / EC463_SmartExerciseSystem

2 stars 0 forks source link

Update Sensor Filter to integrate the magnetometer, merge the bluetooth, updated filter, and power control arduino scripts into one. #86

Closed carltonknox closed 1 year ago

carltonknox commented 1 year ago

I switched from madgwick filter to another AHRS library, since madgwick does not use magnetic field for more accurate measurement. I also added calibration to the sensors. To get the calibrated setup values, we need to rerun the example calibration code from the AHRS library (eg DIY_Calibration_Magnetometer) once the hardware enclosure and PCB are finished. This is due to magnetic field being affected by the specific setup of the hardware.

carltonknox commented 1 year ago

Also, switched from version 1.0 to 2.0 of the Arduino_LSM9DS1 library, as 1.0 (available in library manager) does not include calibration options