Page 1 of 1
Crius V2 External MAG Possible in Code?
Posted: Wed Sep 25, 2013 4:33 pm
by JDD
From def.h
#if defined(CRIUS_AIO_PRO_V1)
#define MPU6050
#define HMC5883
#define MS561101BA
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;}
#define MPU6050_I2C_AUX_MASTER // MAG connected to the AUX I2C bus of MPU6050
Does this mean I can run an external MAG without cutting the one off my board?
I have a DJI 450 with the board mounted in between the top and bottom plate and I get some MAG drift with throttle. I'd like to easy install an external MAG on a mast with the GPS.
Re: Crius V2 External MAG Possible in Code?
Posted: Fri Sep 27, 2013 3:16 pm
by Aftershocker
Yes, i did that! And my external mag is working fine when it is away from all the wiring. One more thing need to be done is to cut Sj2 and Sj3 jumper pads. This disables onboard mag chip. Need to be done very carefully with manifier glass and small sharp hobby knife.
I have tried to uncomment that on crius v1 board and no success, because there no possibility to switch off onboard chip physically. Only way to do that for v1 or Hobbyking V2 (this is not v2) board is to professionally solder off onboard mag chip.
Re: Crius V2 External MAG Possible in Code?
Posted: Fri Sep 27, 2013 6:19 pm
by NikTheGreek
One more thing need to be done is to cut Sj2 and Sj3 jumper pads.
Can you please post some pics of the mod ?
Re: Crius V2 External MAG Possible in Code?
Posted: Sat Sep 28, 2013 7:02 pm
by JDD
NikTheGreek wrote:One more thing need to be done is to cut Sj2 and Sj3 jumper pads.
Can you please post some pics of the mod ?
Looks like they posted some photos in this thread... I was hoping to do it without modifying or cutting the bored but I guess this is the only option.
viewtopic.php?f=6&t=2700
Re: Crius V2 External MAG Possible in Code?
Posted: Wed Oct 02, 2013 6:09 am
by Aftershocker
NikTheGreek wrote:One more thing need to be done is to cut Sj2 and Sj3 jumper pads.
Can you please post some pics of the mod ?
Here are my picture. You need to cut between mid pad and the right one on sj2 and sj3. Be very careful. And as JDD posted for other boards like from Hobbyking(not all in the program listing) , the only way is to take the board to microelectronics specialist to hot air solder off.
Re: Crius V2 External MAG Possible in Code?
Posted: Wed Oct 16, 2013 4:53 pm
by i3dm
Aftershocker wrote:NikTheGreek wrote:One more thing need to be done is to cut Sj2 and Sj3 jumper pads.
Can you please post some pics of the mod ?
Here are my picture. You need to cut between mid pad and the right one on sj2 and sj3. Be very careful. And as JDD posted for other boards like from Hobbyking(not all in the program listing) , the only way is to take the board to microelectronics specialist to hot air solder off.
for the red board from hobbyking, if i remove the mag from the board (with soldering) - how do i define the code and connect the external HCL833 mag?