2018-12-31, 09:01 PM
(2018-09-16, 01:04 PM)KolonelP Wrote: Hello there
First, I introduce myself, I am a sailor on a low budget ;-)
Thanks you, developpers of OpenPlotter!!
What I would like to do is the usage of an second MPU for wind-vane directions.
It's not a good usage of this sensor for wind vane directions because the absolute angle difference between the two mpu is not constant due to sensor inaccuracy. Maybe it could at least work for relative changes which might be good enough for steering to wind, but how do you connect the mpu so it can rotate?
Why not just use a hall sensor which cost even less and is much more accurate and simple?
Quote:ano /home/pi/kts/RTIMULib2/RTIMULib/IMUDrivers/RTIMUDefs.h[/code]
edit line 151,152,153
Code:#define MPU9250_ADDRESS0 0x69 //0x68
#define MPU9250_ADDRESS1 0x68 //0x69
#define MPU9250_ID 0x73 //0x71
It's great you set up two sensors. This isn't supported by openplotter normally, but eventually it would be interesting to support 2 or more inertial sensors for redundancy, lower noise, and better automatic calibration.