How does it work?
Load Cell 3 Click as its foundation uses the PGA302, a high accuracy, low drift, low noise, low power, and versatile signal conditioner automotive grade-qualified device for resistive bridge pressure and temperature-sensing applications from Texas Instruments. The PGA302 provides bridge excitation voltages of 2.5V. The PGA302 conditions sensing and temperature signals by amplifying and digitizing through the analog front end chain and performing linearization and temperature compensation. The conditioned signals can be output in analog form, and, besides that, the signal data can be accessed by an I2C digital interface.
The PGA302 contains two separated analog-front end (AFE) chains with their gain amplifiers for resistive bridge and temperature sensing inputs. The resistive bridge input AFE chain consists of a programmable gain with eight steps from 1.33V/V to 200V/V. For the temperature-sensing input AFE chain, the PGA302 provides a current source that can source up to 1mA for the optional external temperature sensing available on the on-board terminal labeled with TMP+ and TMP-.
After the ADC decimation filters, the digitalized signals are sent to the linearization and compensation calculation digital signal logic. All required parameters for the linearization algorithm and other user data are stored in the integrated EEPROM memory. At the device’s output, a 14-bit DAC is followed by a ratiometric-voltage supply output buffer with a gain of 4 V/V allowing a 0-5V ratiometric voltage system output available on the AN pin on the mikroBUS™ socket.
This Click board™ operates only with a 5V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
Specifications
Type
Force
Applications
Can be used for weight scale and force-sensing applications that use strain gauge load cells and other general resistive bridge signal-conditioning applications.
On-board modules
PGA302 – programmable signal-conditioner device designed for various resistive bridge-sensing applications from Texas Instruments
Key Features
Dual channel analog front-end, 16-bit Sigma-Delta ADC, programmable gain up to 200V/V, on-chip temperature sensor, EEPROM memory for device configuration, calibration and user data, and more.
Interface
Analog,I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
5V
Pinout diagram
This table shows how the pinout on Load Cell 3 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
Load Cell 3 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 5 | – | V |
ADC Resolution | – | 16 | – | bits |
Operating Temperature Range | -40 | +25 | +150 | °C |
Software Support
We provide a library for the Load Cell 3 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.
Library Description
This library contains API for Load Cell 3 Click driver.
Key functions:
loadcell3_cfg_setup
– Config Object Initialization function.loadcell3_init
– Initialization function.loadcell3_default_cfg
– Click Default Configuration function.
Examples description
This library contains API for the Load Cell 3 click driver. The library also includes a function for tare and calibration and weight measurement. This demo application shows an example of weight measurement.
The demo application is composed of two sections :
void application_task ( void ) { weight_val = loadcell3_get_weight( &loadcell3, &cell_data ); log_printf( &logger, " Weight : %.2f grn", weight_val ); Delay_ms( 1000 ); }
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.LoadCell3
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.