Force 5 Click Board
Force 5 Click Board
The Force 5 Click Board™ is a compact add-on board that contains a stable and flexible compensated/amplified micro force sensor. This board features the FMAMSDXX025WC2C3, a piezoresistive-based force sensor offering a digital output for reading force over the specified full-scale force span and a temperature range from Honeywell Sensing and Productivity Solutions. The very stable digital output that is directly proportional to the force applied to the mechanically coupled sphere, enhanced accuracy, and reduced total error band that enhances system performance are just some of the good features that this sensor has. This Click Board™ is suitable for industrial applications such as force/grip measuring equipment, load and compression sensing, robotics, and more.
Force 5 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Force 5 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control the Force 5 Click Board™. The library performs a standard I2C interface communication.
Key Functions
void force5_read_all_data ( force5_data_t *force_data )
- Read all data function.float force5_get_force ( force5_calibration_t calib_data )
- Get force function.float force5_get_temperature ( void )
- Get temperature function.
Example Description
The application is composed of three sections :
- The application is composed of three sections :
- Application Initialization - Initialization driver enables - I2C, calibration the device, display diagnostic states and temperature.
- Application Task - (code snippet) This is an example that demonstrates the use of the Force 5 Click Board™. Force 5 Click board can be used to measure digital output force ( N ). All data logs write on USB uart changes every 500 milliseconds.
void application_task ( ) { force_n = force5_get_force( calib_data ); FloatToStr( force_n, log_text ); mikrobus_logWrite( " Force : ", _LOG_TEXT ); mikrobus_logWrite( log_text, _LOG_TEXT ); mikrobus_logWrite( " N", _LOG_LINE ); mikrobus_logWrite( "-------------------------", _LOG_LINE ); Delay_ms( 500 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- I2C
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The Force 5 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Force 5 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.