Akash Ravichandran
Published © GPL3+

Working With FRDM-K82F

Knowing about FRDM Board and uploading the demo codes.

IntermediateProtip3 hours1,248
Working With FRDM-K82F

Things used in this project

Story

Read more

Code

ecompass_frdmk82f.wsd

C/C++
When the demo runs successfully, you can see the information below printed to the terminal.
Note: you must rotate the board 360 degrees to get the max / min value of the magnetic field.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To calibrate Magnetometer, roll the board on all orientations to get max and min values
Press any key to start calibrating...
Calibrating magnetometer...
Calibrate magnetometer successfully!
Magnetometer offset Mx: 313 - My: 432 - Mz: 494
Compass Angle: xxxx
CAN BE FOUND IN THE K82F SDK 

Credits

Akash Ravichandran

Akash Ravichandran

15 projects • 98 followers
Developer and a Learner

Comments