Joystick View; Rotation View - Infineon 3D Magnetic Sensor 2 Go User Manual

Table of Contents

Advertisement

TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
3D magnetic sensor evaluation
4.3

Joystick view

The joystick view is a virtual representation of a real joystick with an attached magnet, mounted above the 3D
magnetic sensor.
It is intended to be used with the Joystick adapter available for the 3D Magnetic Sensor 2 Go kit. For order
details and information about the used magnet refer to section
The software measures the magnetic field in all three dimensions and calculates the angles necessary to
determine the joystick position. Further information is given in the application note "Infineon 3D Magnetic
Sensor - How to Make a Magnetic Design for Joystick" which can be found on the Infineon home page.
Figure 29
Joystick view
4.4

Rotation view

In this view the calculated spherical coordinates of the magnetic field are displayed. Additionally it includes a
graphical presentation of the 3D Magnetic Sensor 2 Go rotary knob attachment .
The polar coordinates consist of the radius r as well as the angles Phi and Theta. They are calculated out of the
measured three dimensional magnetic field with following equations:
2
2
2
r = Bx
+ By
+ Bz
Bz
Phi = arccos
r
By
Theta = arctan
Bx
Below the polar coordinates a virtual rotation knob can be found. It can be used with the rotary knob
attachment described in
the GUI turns. This is achieved by measuring the magnetic field and calculating the angle between Bx and By as
described above. Also a push functionality is implemented depending on the radius r of the magnetic field.
User Manual
Hardware
extensions. When the user turns the hardware knob, also the indicator in
Hardware extensions
22
.
1.2
2019-09-06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tle493d-a2b6 ms2goTlv493d-a1b6 ms2go

Table of Contents