magneto14 2.1.0.0
|
Magneto 14 Click is a compact add-on board with an accurate and reliable magnetic device. This board features the MA735, a contactless angle sensor with ABZ, and PWM output from Monolithic Power Systems. The MA735 sensor has a 9-bit to 13-bit resolution of the absolute angle encoder.
We provide a library for the Magneto 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 Magneto 14 Click driver.
magneto14_cfg_setup
Config Object Initialization function. magneto14_init
Initialization function. magneto14_default_cfg
Click Default Configuration function. magneto14_get_angle
Magneto 14 gets the angular position function. magneto14_get_field_strength
Magneto 14 gets the magnetic field strength function. magneto14_get_mgh
Magneto 14 gets the MGH function. This library contains API for the Magneto 14 Click driver. The demo application reads and displays the magnet's angular position in degrees.
The demo application is composed of two sections :
Initialization of SPI module and log UART. After driver initialization, the app executes a default configuration.
This example demonstrates the use of the Magneto 14 Click boardâ„¢. Reads and displays the magnet's angular position in degrees. Results are being sent to the UART Terminal, where you can track their changes.
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.