frewon9
1
I know most of you guys run the HMC5883l
but recently Ive been getting QMC5883 and MMC5883 Version of the chip
the only issue is MMC5883MA is fairly new and its replacing some of the HMC5883l
I have difficulty understanding data sheets unless there is a use code basis
theres not alot of projects or topics discussing on its addressing and registry on how to use them
plan to implement it to the multiwii 2.4 code just needed help understanding these chips
thanks.
you can personal message me too on how to implement
pylon
2
I have difficulty understanding data sheets unless there is a use code basis
Which datasheet? I didn't find one in your post.
I know most of you guys run the HMC5883l
The HMC5883L was discontinued a couple of years ago and the clones or imitations don't work very well.
Better magnetometer modules are available from Pololu, with working example code.
frewon9
4
need help on this one also another recent chip MMC5883MA
https://datasheetspdf.com/datasheet/MMC5883MA.html
#define MAG_ADDRESS
#define MAG_DATA_REGISTER
static void getADC() {
i2c_getSixRawADC(MAG_ADDRESS,MAG_DATA_REGISTER);
MAG_ORIENTATION( ((rawADC[1]<<8) | rawADC[0]) ,
((rawADC[3]<<8) | rawADC[2]) ,
((rawADC[5]<<8) | rawADC[4]) );
frewon9
5
this to implement on the Multiwii code sensors
frewon9
6
Just an update
I have uploaded my codes here for anyone to check see where the issues is .
I try adding the new sensors manage to get signal but the numbers are way off and fluctuating . if anyone knows on I2c can help me work it out
here is the data sheet to the sensor
thanks