VEEK-MT2 User Manual
46
www.terasic.com
July 4, 2016
Demonstration Source Code
Project directory: E_Compass
Bit stream used: VEEK_MT2.sof
Nios II Workspace: E_Compass\software
Demonstration Batch File
Demo Batch File Folder: E_Compass\demo_batch
The demo batch file includes the following files:
Batch File: test.bat, test.sh
FPGA Configure File: VEEK_MT2.sof
Nios II Program: GUI_APP.elf
Demonstration Setup
Execute the test.bat to configure FPGA and launch the NIOS II program (Note*).
The E-Compass will be displayed on the LCD panel.
Touch the Calibration button to start the calibration process. When the button is touched, the LCD
content will be changed as shown in
Rotate VEEK-MT2 in X/Y/Z axis individually. Touch the Finished button when rotation is done.
When the Finished button is touched, the LCD content is changed as shown in
. The
minimal, maximal, and average values are displayed in the LCD. If the value is valid, please touch
Yes button to apply the calibration result.
Keep the VEEK-MT2 on as flat a surface as possible by watching the bubble level on the LCD. The
e-compass will show the accuracy North direction on the LCD.
Summary of Contents for VEEK-MT2
Page 1: ...1 ...