Lastzelle 5 Click Board
Lastzelle 5 Click Board
Der Load Cell 5 Click Board™ ist eine kompakte Zusatzplatine, die eine Waagenlösung darstellt. Diese Platine verfügt über den AD7780, einen pinprogrammierbaren, stromsparenden 24-Bit-Sigma-Delta-ΣΔ-ADC von Analog Devices. Er wird direkt mit der Wägezelle verbunden, wo das schwache Signal von der Wägezelle durch den internen, rauscharmen, programmierbaren Verstärkungsverstärker des AD7780 verstärkt wird, der auf einen Betrieb mit einer Verstärkung von 128 oder 1 programmiert ist. Er verfügt außerdem über einen Abschaltmodus, mit dem der Benutzer die Stromversorgung des Brückensensors abschalten und den AD7780 ausschalten kann, wenn er nicht konvertiert, wodurch die Batterielebensdauer des Produkts verlängert wird. Dieses Click Board™ verfügt über viele Funktionen, die es zu einer perfekten Lösung für sicherheitskritische Anwendungen und Gewichtsmessanwendungen machen.
Das Load Cell 5 Click Board™ wird durch eine mikroSDK-kompatible Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does the Load Cell 5 Click Board™ Work?
The Load Cell 5 Click Board™ as its foundation uses the AD7780, a pin programmable, low power, low drift 24-bit ΣΔ ADC from Analog Devices, that includes a PGA and uses an internal clock. The AD7780 typically consumes only 330μA and simplifies this weigh scale design since most of the system building blocks are already on the chip. The AD7780 has two filter options selectable via FIL pin(low state - the 16.7Hz, high state - 10Hz) and a Power-Down Mode allowing the user to switch off the power to the bridge sensor and power down the AD7780 when not converting, increasing the battery life.
Since the AD7780 provides an integrated solution for weighing scales, it interfaces directly to the load cell. The only required external components, which are also on the Click board™, are filters on the analogue inputs and capacitors on the reference pins for EMC purposes. The low-level signal from the load cell is amplified by the AD7780's internal PGA programmed via the PWM pin of the mikroBUS™ socket, labelled as GN, to operate with a gain of 128 or 1. The conversions from the AD7780 are then sent to the MCU through SPI serial interface, where the digital information is converted to weight.
The Load Cell 5 Click Board™ uses the 6-wire load cell configuration, which has two sense pins, ground, power supply, and two output connections. The load cell differential SENSE lines connected to the AD7780 reference inputs create a ratiometric configuration immune to low-frequency changes in the power supply excitation voltage. Those sense pins are connected to the high and low sides of the Wheatstone bridge, where voltage can be accurately measured, regardless of the voltage drop due to the wiring resistance.
The AD7780 has separate analogue and digital power supply pins. The analogue and digital power supplies are independent of each other to be different, or the same, potentials achieved with the AVDD SEL jumper. This feature allows selecting the AD7780 power supply between an external power supply (2.7 - 5.25V) and logic voltage levels supplied via mikroBUS™ rails.
Load Cell 5 Click communicates with MCU using a standard SPI interface with a dual-purpose DOUT/RDY line. This line can function as a regular data output pin for the SPI interface or as a data ready pin (interrupt) labelled as RDY and routed on the INT pin of the mikroBUS socket. Also, it uses the RST pin on the mikroBUS™ socket, which performs the Hardware Reset function by putting this pin in a logic low state, and a blue diode labeled as ACTIVE is used to indicate the device's Active Operational Status.
The Load Cell 5 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to properly use the I2C communication lines. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Force |
Applications | The Load Cell 5 Click Board™ be used for safety-critical and weight measurement applications. |
On-board modules | AD7780 - pin-programmable, low power, 24-bit sigma-delta ΣΔ ADC from Analog Devices |
Key Features | Low power consumption, pin-programmable filter response, pin-programmable reset and gain, internal bridge power-down switch, independent interface power supply, and more. |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
PINOUT DIAGRAM
This table shows how the pinout of the Load Cell 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | GN | Gain Selection | |
Reset | RST | 2 | RST | INT | 15 | RDY | Interrupt / Data Ready |
Filter Select | FIL | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | ACTIVE | - | Active State LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | AVDD SEL | Left | AD7780 Supply Voltage Selection VIN/VCC: Left position VIN, Right position VCC |
LOAD CELL 5 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
External Supply Voltage VIN | 2.7 | - | 5.25 | V |
Resolution | 24 | - | - | bits |
Operating Temperature Range | -40 | +25 | +105 | °C |
Software Support
We provide a library for the Load Cell 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on the mikroE Github account.
Library Description
This library contains an API for the Load Cell 5 Click Board™ driver.
Key Functions
loadcell5_cfg_setup
- Config Object Initialization function.loadcell5_init
- Initialization function.loadcell5_default_cfg
- Click the Default Configuration function.
Example Description
This library contains an API for the Load Cell 5 Click driver. The library initializes and defines the SPI bus drivers to read status and ADC data. The library also includes a function for tare, calibration and weight measurement.
The demo application is composed of two sections :
void application_task ( void ) { weight_val = loadcell5_get_weight( &loadcell5, &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.LoadCell5
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 Load Cell 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.
Software Support
We provide a library for the Load Cell 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on the mikroE Github account.
Library Description
This library contains an API for the Load Cell 5 Click Board™ driver.
Key Functions
loadcell5_cfg_setup
- Config Object Initialization function.loadcell5_init
- Initialization function.loadcell5_default_cfg
- Click the Default Configuration function.
Example Description
This library contains an API for the Load Cell 5 Click driver. The library initializes and defines the SPI bus drivers to read status and ADC data. The library also includes a function for tare, calibration and weight measurement.
The demo application is composed of two sections :
void application_task ( void ) { weight_val = loadcell5_get_weight( &loadcell5, &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.LoadCell5
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 Load Cell 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.
Lastzelle 5 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.