c3dhall14
2.1.0.0
|
3D Hall 14 Click is a compact add-on board designed for high-precision position sensing in various applications. This board features the MLX90394, a 3-axis magnetometer from Melexis based on the Triaxis® Hall technology. The MLX90394 offers low power consumption, excellent noise performance, and flexible measurement modes, including intelligent wake-up functions for efficient power management. It communicates via a standard 2-Wire I2C interface and supports fast-mode frequencies up to 1MHz.
We provide a library for the 3D Hall 14 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for 3D Hall 14 Click driver.
c3dhall14_cfg_setup
Config Object Initialization function. c3dhall14_init
Initialization function. c3dhall14_default_cfg
Click Default Configuration function. c3dhall14_get_magnetic_flux
This function reads the raw values of X, Y, and Z axis and converts them to magnetic flux data in microTesla. c3dhall14_get_temperature
This function reads the raw temperature value and converts it to Celsius. c3dhall14_set_range
This function sets the magnetic flux measurement range. This example demonstrates the use of 3D Hall 14 Click board by reading the magnetic field strength from 3 axes and the sensor internal temperature.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Reads data from the sensor and displays them on the USB UART every 200ms.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.