Load cell Click

Price:
Sale price A$21.12   Inc. GST
SKU:
MIKROE-3168
Out Of Stock

We will notify you when this product becomes available.

This ADC is based on patented Avia technology, and represents an analog front-end device which offers all the required elements for building an accurate load cell application: the internal regulator allows powering up both the ADC section and excitation of the load cell, two 24bit differential channels with the low noise programmable gain amplifier with 32, 64, and 128 gain factor, which allow measurement range selection, mains power 50Hz and 60Hz interference rejection, selectable data output frequency up to 80 samples per second (SPS), and a simple serial communication interface. Load Cell click can be used in a wide range of weight measurement applications, but it can be also utilized to measure the strain force applied on shafts, machine parts, and other similar objects, exposed to forces that cause strain.

How does it work?

The Load Cell click is based on the HX711, a specialized 24bit analog to digital converter (ADC), designed for weight scale applications, made by Avia Semiconductor. Among other sections, this device incorporates two high resolution (24bit) A/D converters (ADC) with differential inputs and internal low-noise programmable gain amplifiers. Since the input voltages are very low, this is required in order to obtain the best possible signal to noise ratio from the load cell connected at the input terminals.

The load cell typically has four strain gauges which are actually planar resistors, are able to change their resistance when compressed or stretched, due to changes in their geometry. The load cell itself is typically a piece of metal with enough elasticity, resistant to the material fatigue, so it can withstand a large number of measurements, before it has to be recalibrated. When a strain force is applied to the load cell, one pair of the strain gauges that form a Wheatstone bridge will become stretched, while the other pair of strain gauges will become compressed. The small voltage difference will appear across the bridge, proportional to the applied stain force. This voltage difference is in the range of mV and can be measured and sampled in order to read the strain force intensity. Therefore, the load cell forms a transducer which directly translates applied force to a voltage.

As already mentioned before, the main task of the HX711 IC is to sample the voltage across the bridge as accurately as possible and with the least amount of noise. The Wheatstone bridge formed by strain gauges is attached to an excitation power source, so that the resistance changes can be detected. The HX711 has a dedicated regulated voltage output, which is used to provide the necessary excitation voltage. Two differential inputs are used to connect the loads, offering various gain factors. The first differential input (labeled as A) offers a selectable gain of 64 X or 128 X. The second differential input (labeled as B) offers fixed 32X gain factor. This offers a possibility to select the desired gain factor, according to the used load cell and the magnitude of the strain force.

Load Cell click offers serial communication utilizing the on-chip clock oscillator. The data output rate is selectable and depends on the logical state of the RTE pin, routed to the mikroBUS™ CS pin. A HIGH logic level on this pin will set the output data rate at 80 samples per second (SPS), while the LOW logic level will set the data rate to 10 SPS. The serial communication of the HX711 IC is rather specific: when the data output pin (DO) goes to a LOW logic level, the host microcontroller (MCU) can start generating clock pulses on the SCK pin. With the next 24 pulses, the data is clocked out, while the 25th clock pulse will set the DO pin to a HIGH logic level again. The number of clock pulses after the DO pin goes LOW is used to determine the gain level and the ADC channel for the next conversion. For example, if 27 pulses are applied after DO pin goes to a LOW logic level, the next conversion will clock out the data from channel A with the gain amplifier (PGA) set to 64X. More information about the communication protocol can be found in the HX711 datasheet. However, the chip communication is taken care of in the library supplied with the Click board™, which contains simple to use functions, compatible with all MikroElektronika compilers.

The SCK pin is also used to power down the IC: if the SCK pin stays HIGH for more than 60µs, the HX711 IC will enter power down mode. As soon as the pin has been pulled to a LOW logic level, (provided that the valid power supply is still present) the IC will power up again and reset the registers to their default values (Input A, PGA set to 128X).

The power supply voltage selection for the logic section for the HX711 is done by moving the SMD jumper labeled as VCC SEL to a desired position: left position to select 3.3V, right position to select 5V. The power supply for the internal LDO is fixed at 5V. This will allow both 3.3V and 5V MCUs to be interfaced with the Click board™ directly.

Specifications

TypeForce
ApplicationsLoad Cell click can be used in a wide range of weight measurement applications, but it can be also utilized to measure the strain force applied on shafts, machine parts, and other similar objects, exposed to forces that cause strain
On-board modulesHX711, a specialized 24bit analog to digital converter (ADC), designed for weight scale applications, made by Avia Semiconductor
Key FeaturesLow power consumption, dual 24bit ADC differential inputs with low noise programmable gain amplifiers, covering gain ratios from 32x up to 128x, no external excitation voltage required, works with a wide range of standard strain gauge type load cells, and more
InterfaceGPIO
CompatibilitymikroBUS
Click board sizeM (42.9 x 25.4 mm)
Input Voltage3.3V or 5V

Pinout diagram

This table shows how the pinout on Load cell click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.pngPinNotes
 NC1ANPWM16CLKSerial Data Clock
 NC2RSTINT15DOSerial Data Out
Output Data RateRTE3CSRX14NC 
 NC4SCKTX13NC 
 NC5MISOSCL12NC 
 NC6MOSISDA11NC 
Power supply3.3V73.3V5V105VPower Supply
GroundGND8GNDGND9GNDGround


Onboard connectors and indicators

LabelNameDefaultDescription
PWRPWR Power LED indicator
VCC SELVCC SELLeftLogic voltage level selection: left position 3.3V, right position 5V
TB1EX+, GND-Load cell excitation voltage connector
TB2SA+, SA--Load cell measurement connector (channel A)
TB3SB+, SB--Load cell measurement connector (channel B)

Software support

We provide a demo application for Load cell Click 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

Library reads 24-bit digital converted results from the desired channel with determined rate value (which determines the frequency of internal oscillator).
For more details check documentation.

Key functions:

  • uint8_t loadcell_readResults( uint8_t inputSel, uint32_t *dataOut ) - Function reads the converted results from desired channel with determined gate value.
  • void loadcell_setRate( uint8_t rateSel ) - Function selects the frequency of internal oscillator.
  • void loadcell_setMode( uint8_t powerMode ) - Function puts the device in Power Up or Power Down Mode.

Example description

The application is composed of three sections :
- System Initialization - Initializes peripherals and pins.
- Application Initialization - Initializes GPIO driver and performs the device reset, after which the next conversion cycle will be for channel A with 128 gate value. This function also selects the frequency of internal oscillator to 10Hz.
- Application Task - (code snippet) - Logs the converted results for both channels with different gate value on UART every 500ms.
Note: The converted results are 24-bit digital value (min - 0x800000, max - 0x7FFFFF), and in this example the results will be shown as decimal value.

void applicationTask(){ loadcell_readResults( _LOADCELL_CHANN_B_GATE_32_NEXT, &results ); LongWordToStr( results, text ); mikrobus_logWrite( "Channel A (128 Gain): ", _LOG_TEXT ); mikrobus_logWrite( text, _LOG_LINE ); loadcell_readResults( _LOADCELL_CHANN_A_GATE_64_NEXT, &results ); LongWordToStr( results, text ); mikrobus_logWrite( "Channel B (32 Gain): ", _LOG_TEXT ); mikrobus_logWrite( text, _LOG_LINE ); loadcell_readResults( _LOADCELL_CHANN_A_GATE_128_NEXT, &results ); LongWordToStr( results, text ); mikrobus_logWrite( "Channel A (64 Gain): ", _LOG_TEXT ); mikrobus_logWrite( text, _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 MikroElektronika libraries used in the example:

  • Conversions
  • UART

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB 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.

Shipping rates Australia wide and New Zealand

Please add the items in cart and proceed to checkout to calculate shipping cost. We have range of shipping options once goods are ready to dispatch. 
1. Regular shipping: Goods will be shipped using Australia post regular shipping service. 
2. Express shipping: Goods will be shipped using Australia post EXPRESS shipping service. 
3. Express split shipping: Local stock from Melbourne will be shipped ASAP (1 business day) using EXPRESS shipment while remaining items from overseas stock when arrived in Melbourne shipped using second EXPRESS shipment. 
4. Pick up from Thomastown, Melbourne is available on appointment between 9 am to 3 pm during business days. 

  

FAQ:

  • How do I estimate shipping for my order?
    • Add products in the shopping cart and head to the checkout page to estimate the shipping.

Dispatch time

Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.

All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.

We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only.  All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider. 

Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request

*Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.

Shipping Destinations

We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available. 

Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html

Receipt of deliveries

Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:

  • leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
  • re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee. 

Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.

Payment & Security

Apple Pay Google Pay Mastercard PayPal Shop Pay Visa

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

You may also like