Main centres: | 1-3 business days |
Regional areas: | 3-4 business days |
Remote areas: | 3-5 business days |
This Load Cell Amplifier is a small breakout board for the HX711 IC that allows you to easily read load cells to measure weight. By connecting the amplifier to your microcontroller you will be able to read the changes in the resistance of the load cell, and with some calibration, you'll be able to get very accurate weight measurements. This can be handy for creating your own industrial scale, process control or simple presence detection.
HX711 load cell amplifier specification
Library: HX711-master.zip
#include "HX711.h" // HX711.DOUT - pin #A1 // HX711.PD_SCK - pin #A0 HX711 scale(A1, A0); void setup() { Serial.begin(9600); Serial.println("HX711 Demo"); Serial.println("Before setting up the scale:"); Serial.print("read: tt"); Serial.println(scale.read()); Serial.print("read average: tt"); Serial.println(scale.read_average(20)); Serial.print("get value: tt"); Serial.println(scale.get_value(5)); Serial.print("get units: tt"); Serial.println(scale.get_units(5), 1); scale.set_scale(2280.f); scale.tare(); Serial.println("After setting up the scale:"); Serial.print("read: tt"); Serial.println(scale.read()); Serial.print("read average: tt"); Serial.println(scale.read_average(20)); Serial.print("get value: tt"); Serial.println(scale.get_value(5)); Serial.print("get units: tt"); Serial.println(scale.get_units(5), 1); Serial.println("Readings:"); } void loop() { Serial.print("one reading:t"); Serial.print(scale.get_units(), 1); Serial.print("t| average:t"); Serial.println(scale.get_units(10), 1); scale.power_down(); delay(5000); scale.power_up();