2025-06-03 3:03 AM - last edited on 2025-06-03 4:17 AM by Peter BENSCH
Edit by ST Moderator: This post has been translated from Chinese to comply with the ST Community Terms and Conditions (§10.2).
LSM303AGRTR
The chip is used to calibrate the orientation of the compass, but it is very easy to be interfered with and has the following two problems
1 Calibration is very difficult to calibrate, you need to shake the sensor many times
2. After calibration is done it is very susceptible to interference, resulting in inaccurate compass data
Below is the circuit diagram, if you have a mature circuit please send me to see if there are other solutions to the problem.
2025-06-04 8:11 AM
Hi @FRT_ST ,
Your schematic is ok, can you explain me which issues you are experiencing?
2025-06-04 6:54 PM
用作罗盘角度校准,非常容易受到干扰,数据不稳定,导致角度指向不准确
2025-06-05 9:14 PM
When used for compass angle calibration, it is very susceptible to interference, and the data is unstable, resulting in inaccurate angle pointing.
2025-06-08 6:36 PM
Can you answer my question as soon as possible?
2025-06-10 6:22 PM
Are you still there? Can you answer the question
2025-06-12 2:29 AM
Hi @FRT_ST ,
The hardware is correct, probably is something related to your software.
Our PID examples could help you for debug!