loadcell7 2.1.0.0
|
Load Cell 7 Click is a compact add-on board representing a weigh scale solution. This board features the ADS1230, a high-precision 20-bit delta-sigma analog-to-digital converter (ADC) with an outstanding noise performance from Texas Instruments. This SPI-configurable ADC (read-only) offers selectable gain and data rate values, supporting a full-scale differential input of ±39mV/±19.5mV and 10SPS/80SPS, respectively. It comes with an onboard low-noise programmable gain amplifier (PGA) and onboard oscillator providing a complete front-end solution.
We provide a library for the Load Cell 7 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 Load Cell 7 Click driver.
loadcell7_cfg_setup
Config Object Initialization function. loadcell7_init
Initialization function. loadcell7_tare_scale
This function calculates the ctx->tare_scale which is the raw ADC readings of the empty container. loadcell7_calibrate_weight
This function calibrates the weight by calculating the ctx->weight_scale for the input calibration weight. loadcell7_get_weight
This function calculates the weight of the goods in grams. This example demonstrates the use of Load Cell 7 click by measuring the weight in grams of the goods from the load cell sensor connected to the click board.
The demo application is composed of two sections :
Initializes the driver and reads the tare scale of the empty container, and after that, it calibrates the weight scale with a known calibration weight.
Reads the net weight of the goods in grams approximately once per second and logs the results on the USB UART.
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.