magneto13 2.1.0.0
|
Magneto 13 Click is a compact add-on board with an accurate and reliable magnetic device. This board features the MA736, a contactless digital angle sensor from Monolithic Power Systems. It is a MagAlpha sensor that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder or a rotating shaft. The MA736 sensor supports a wide range of magnetic field strengths, end-of-shaft, and side-shaft (off-axis mounting) spatial configurations.
We provide a library for the Magneto 13 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 13 Click driver.
magneto13_cfg_setup
Config Object Initialization function. magneto13_init
Initialization function. magneto13_default_cfg
Click Default Configuration function. magneto13_get_angle
Magneto 13 gets the angular position function. magneto13_get_field_strength
Magneto 13 gets the magnetic field strength function. magneto13_set_mag_field_thd
Magneto 13 sets the magnetic field threshold function. This library contains API for the Magneto 13 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 13 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.