Melexis launched a cost-effective position sensor based on Triaxis® Hall technology.

It is an absolute position sensor suited for consumer and industrial markets.

  • electronic throttle body
  • throttle handle sensor
  • transmission sensor
  • thumbwheel sensor
  • height sensor
  • 1-d joystick
  • mix table fader
  • gaming
  • drones
  • potentiometer replacement


With a small set of core parameters with respect to other Triaxis® position sensors, it is suited for any design where reduced performances are admitted. In fact, the MLX90340 targets the essential. It is able to sense the three spatial components Bx, By and Bz of the applied magnetic field thanks to an integrated magnetic concentrator (IMC) mounted on its surface and to compute the position of the magnet without any contact. In this way, it can decode the absolute position of any moving magnet in the range from 20mT to 70mT (e.g. rotary position from 0deg to 360deg with ± 1deg accuracy and 12 bits resolution or linear displacement up to ±20mm).

With a supply voltage of 5V and an extended temperature range from -40°C up to +150°C, it offers a ratiometric analog output or PWM open drain/push-pull output (from 100Hz to 1kHz).

The chip embeds a DSP that receives data from the ADC and processes the angle information through the output stage as displayed in the following:

Both 4 different pre-programmed analog versions (90deg, 180deg, 270deg, 360deg) and a programmable (standard) version are available.

The required hardware for programming the standard version of MLX90340 consists of a PTC-04 Programmer and a dedicated daughter board PTC-DB90316. As for the software requirements, Melexis Programmable freeware Toolbox and a dedicated FIRMWARE are needed. With the linearization algorithm it is possible to set 4 arbitrary points of calibration or 17 fixed points of calibration in order to achieve the desired output:

4 arbitrary points calibration method

16 segments calibration method

Dimac Red team strongly supports customers from the designing and development activity to the on-field programming.

Please contact us for additional information and support.

Credits to

D. Viganò
(Project / Field Application Engineer)