c3dhall8
2.0.0.0
|
3D Hall 8 Click is a compact add-on board containing an ultra-small 3D-magnetic sensor for industrial and consumer applications.
We provide a library for the 3DHall8 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 3DHall8 Click driver.
c3dhall8_cfg_setup
Config Object Initialization function. c3dhall8_init
Initialization function. c3dhall8_default_cfg
Click Default Configuration function. c3dhall8_generic_write
3D Hall 8 I2C writing function. c3dhall8_read_sensor_data
Reading sensor data function. c3dhall8_get_xyz_magnetic_matching
Calculating magnetic matching. This application shows capability of 3D Hall 8 Click board.
It configures device and reads sensor data. Sensor is capeable of reading magnetic flux density from 3 axes and temperature.
The demo application is composed of two sections :
Initialization of device communication and application log and configures device.
Reads data from the device and logs it in span of 500ms.
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.