Crius V2 External MAG Possible in Code?

Post Reply
JDD
Posts: 10
Joined: Sun Sep 08, 2013 6:12 am

Crius V2 External MAG Possible in Code?

Post 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.

Aftershocker
Posts: 8
Joined: Sat May 11, 2013 12:41 pm

Re: Crius V2 External MAG Possible in Code?

Post 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.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: Crius V2 External MAG Possible in Code?

Post 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 ?

JDD
Posts: 10
Joined: Sun Sep 08, 2013 6:12 am

Re: Crius V2 External MAG Possible in Code?

Post 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

Aftershocker
Posts: 8
Joined: Sat May 11, 2013 12:41 pm

Re: Crius V2 External MAG Possible in Code?

Post 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.
Attachments
image.jpg

i3dm
Posts: 57
Joined: Tue Oct 01, 2013 4:48 pm

Re: Crius V2 External MAG Possible in Code?

Post 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?

Post Reply