{"product_id":"mikroe-3168","title":"Load cell click","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis 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.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHow does it work?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe Load Cell click is based on the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/HX711%20datasheet.pdf\"\u003eHX711\u003c\/a\u003e, 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.\u003cbr\u003e \u003cimg src=\"https:\/\/www.mikroe.com\/img\/cms\/load-cell-click-inside-image.jpg\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003eAs 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.\u003c\/p\u003e\n\u003cp\u003eLoad 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 25\u003csup\u003eth\u003c\/sup\u003e 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.\u003c\/p\u003e\n\u003cp\u003eThe 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).\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eApplications\u003c\/td\u003e\n\u003ctd\u003eLoad 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\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOn-board modules\u003c\/td\u003e\n\u003ctd\u003eHX711, a specialized 24bit analog to digital converter (ADC), designed for weight scale applications, made by Avia Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003eLow 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\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eGPIO\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V,5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCompatibility\u003c\/td\u003e\n\u003ctd\u003emikroBUS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eClick board size\u003c\/td\u003e\n\u003ctd\u003eM (42.9 x 25.4 mm)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003ePinout diagram\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis table shows how the pinout on\u003cstrong\u003e Load cell \u003c\/strong\u003e\u003cstrong\u003eclick\u003c\/strong\u003e corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\u003ctable style=\"width: 549px;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth colspan=\"4\"\u003e\u003ca href=\"http:\/\/www.mikroe.com\/mikrobus\/\"\u003e\u003cimg src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" alt=\"Mikrobus logo.png\"\u003e\u003c\/a\u003e\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eAN\u003c\/td\u003e\n\u003ctd\u003ePWM\u003c\/td\u003e\n\u003ctd\u003e16\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eCLK\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSerial Data Clock\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003eRST\u003c\/td\u003e\n\u003ctd\u003eINT\u003c\/td\u003e\n\u003ctd\u003e15\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eDO\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSerial Data Out\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput Data Rate\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eRTE\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3\u003c\/td\u003e\n\u003ctd\u003eCS\u003c\/td\u003e\n\u003ctd\u003eRX\u003c\/td\u003e\n\u003ctd\u003e14\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e4\u003c\/td\u003e\n\u003ctd\u003eSCK\u003c\/td\u003e\n\u003ctd\u003eTX\u003c\/td\u003e\n\u003ctd\u003e13\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003ctd\u003eMISO\u003c\/td\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003e12\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e6\u003c\/td\u003e\n\u003ctd\u003eMOSI\u003c\/td\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003e11\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower supply\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e3.3V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e7\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003ePower Supply\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003e9\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cbr\u003e \u003cstrong\u003eOnboard connectors and indicators\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eLabel\u003c\/th\u003e\n\u003cth\u003eName\u003c\/th\u003e\n\u003cth\u003eDefault\u003c\/th\u003e\n\u003cth\u003eDescription\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePWR\u003c\/td\u003e\n\u003ctd\u003ePWR\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003ePower LED indicator\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eVCC SEL\u003c\/td\u003e\n\u003ctd\u003eVCC SEL\u003c\/td\u003e\n\u003ctd\u003eLeft\u003c\/td\u003e\n\u003ctd\u003eLogic voltage level selection: left position 3.3V, right position 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTB1\u003c\/td\u003e\n\u003ctd\u003eEX+, GND\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003eLoad cell excitation voltage connector\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTB2\u003c\/td\u003e\n\u003ctd\u003eSA+, SA-\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003eLoad cell measurement connector (channel A)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTB3\u003c\/td\u003e\n\u003ctd\u003eSB+, SB-\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003eLoad cell measurement connector (channel B)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eSoftware support\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWe provide a demo application for Load cell Click on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2410\/load-cell-click\"\u003eLibstock\u003c\/a\u003e page, as well as a demo application (example), developed using MikroElektronika \u003ca href=\"https:\/\/shop.mikroe.com\/compilers\"\u003ecompilers\u003c\/a\u003e. The demo can run on all the main MikroElektronika \u003ca href=\"https:\/\/www.mikroe.com\/development-boards\"\u003edevelopment boards\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLibrary Description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eLibrary reads 24-bit digital converted results from the desired channel with determined rate value (which determines the frequency of internal oscillator).\u003cbr\u003e For more details check documentation.\u003c\/p\u003e\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003euint8_t loadcell_readResults( uint8_t inputSel, uint32_t *dataOut )\u003c\/code\u003e - Function reads the converted results from desired channel with determined gate value.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid loadcell_setRate( uint8_t rateSel )\u003c\/code\u003e - Function selects the frequency of internal oscillator.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid loadcell_setMode( uint8_t powerMode )\u003c\/code\u003e - Function puts the device in Power Up or Power Down Mode.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eExample description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe application is composed of three sections :\u003cbr\u003e - System Initialization - Initializes peripherals and pins.\u003cbr\u003e - 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.\u003cbr\u003e - Application Task - (code snippet) - Logs the converted results for both channels with different gate value on UART every 500ms.\u003cbr\u003e \u003cstrong\u003eNote:\u003c\/strong\u003e The converted results are 24-bit digital value (min - 0x800000, max - 0x7FFFFF), and in this example the results will be shown as decimal value.\u003c\/p\u003e\n\u003cpre\u003evoid applicationTask()\n{\nloadcell_readResults( _LOADCELL_CHANN_B_GATE_32_NEXT, \u0026amp;results );\nLongWordToStr( results, text );\nmikrobus_logWrite( \"Channel A (128 Gain): \", _LOG_TEXT );\nmikrobus_logWrite( text, _LOG_LINE );\n\nloadcell_readResults( _LOADCELL_CHANN_A_GATE_64_NEXT, \u0026amp;results );\nLongWordToStr( results, text );\nmikrobus_logWrite( \"Channel B (32 Gain): \", _LOG_TEXT );\nmikrobus_logWrite( text, _LOG_LINE );\n\nloadcell_readResults( _LOADCELL_CHANN_A_GATE_128_NEXT, \u0026amp;results );\nLongWordToStr( results, text );\nmikrobus_logWrite( \"Channel A (64 Gain): \", _LOG_TEXT );\nmikrobus_logWrite( text, _LOG_LINE );\nmikrobus_logWrite( \"\", _LOG_LINE );\n\nDelay_ms( 500 );\n}\u003c\/pre\u003e\n\u003cp\u003eThe full application code, and ready to use projects can be found on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2410\/load-cell-click\"\u003eLibstock\u003c\/a\u003e page. \u003cbr\u003e \u003cbr\u003e Other MikroElektronika libraries used in the example:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eConversions\u003c\/li\u003e\n\u003cli\u003eUART\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eAdditional notes and information\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eDepending on the development board you are using, you may need \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-click\"\u003eUSB UART click\u003c\/a\u003e, \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-2-click\"\u003eUSB UART 2 click\u003c\/a\u003e or \u003ca href=\"https:\/\/shop.mikroe.com\/rs232-click\"\u003eRS232 click\u003c\/a\u003e to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika \u003ca href=\"https:\/\/shop.mikroe.com\/compilers\"\u003ecompilers\u003c\/a\u003e, or any other terminal application of your choice, can be used to read the message.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003emikroSDK\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis click board is supported with \u003ca href=\"https:\/\/www.mikroe.com\/mikrosdk\"\u003emikroSDK\u003c\/a\u003e - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2249\/mikrosdk\"\u003eLibStock\u003c\/a\u003e and installed for the compiler you are using.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400888533275,"sku":"MIKROE-3168","price":1259.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/load-cell-click-thickbox_default-26XYu6aguPabQz.jpg?v=1701962166","url":"https:\/\/mgsl.in\/products\/mikroe-3168","provider":"MG Super Labs","version":"1.0","type":"link"}