Configuration

Every time MEX is employed on a different geographic region, the magnetometer should be calibrated, since the magnetic field changes at each region. In addition, it should be calibrated the first time it is used.

To calibrate the magnetometer, follow the steps:

1. Connect MEX to a computer

To stablish that connection, use the Veronte Link application acording to its user manual.

2. Create tunnel communication

Open MEX PDI Builder and select the connected MEX on the marked button.

../_images/builder1.PNG

Click on Open MEX \(\Rightarrow\) USB \(\Rightarrow\) I/O Setup, then connect a custom message producer with a tunnel consumer.

../_images/builder2.PNG

Click on gears of the producer and then on plus to add a message.

../_images/builder3.PNG

Note

Click on edit to edit any message or variable.

This message must be configurated as follows:

../_images/builder4.PNG

The tunnel requires the following configuration:

../_images/builder5.PNG

Finally click on save to send the configuration to MEX.

3. Calibrate magnetometer

Open MEX PDI Calibration and select the connected MEX on the marked button.

../_images/1.PNG

The following windows will appear, click on OK in both windows to activate the maintenance mode and restart the device.

../_images/2.PNG
../_images/3.PNG

Click on Start to start the calibration process.

../_images/4.PNG

Immediately, start rotating the MEX around each axis.

../_images/movements.png
../_images/movements.gif

Rotation around each axis

The progress bar will increase according to the number of samples measured and the samples will be drawn on each circle (one circle for each rotation plane). It is important to have approximately the same number of samples for each rotation axis. So rotate the MEX around one different axis each 33% (one rotation from 0 to 33%, another different from 33 to 66 and the last remaining from 66 to 100%).

../_images/5.PNG

When the calibration process is finished the following window will pop up.

../_images/6.PNG

Then, a colored percentage will indicate the calibration measurements quality:

  • Red: repeating calibration is recommended.

  • Orange: acceptable.

  • Green: optimal.

../_images/7.PNG

Acceptable calibration example

../_images/8.PNG

Optimal calibration example

If the calibration is good enough, click on save to save the configuration in MEX. export Saves the configuration files in the computer.

Warning

MEX will not be calibrated until save is clicked.

On the other hand, if the calibration is not satisfying, click on Reset Calibration to calibrate again.

Note

Reset Calibration will delete the current calibration in the connected MEX.