Dies ist eine alte Version des Dokuments!
HX711 digital load-cell sensor
Partlist
Count | Description | Value |
---|---|---|
1 | PCB | all SMD-parts mounted already |
1 | pin-header | 10-pin |
Application
Connect the load cell with the sensor-pcb as shown in the diagram. After this step, connect the load cell to your Gscheiduino (or any other Arduino-compatible PCB):
You can use our library from github to control the PCB:
Democode
A simple example program can be found here:
#include "HX711.h" // HX711.DOUT - pin #A1 // HX711.PD_SCK - pin #A0 HX711 scale(A1, A0); void setup() { Serial.begin(38400); Serial.println("HX711 Demo"); scale.set_scale(-723960); // this is for scaling, here for 3kg loadcell scale.tare(); // zeroing } void loop() { Serial.println(scale.get_units(10), 2); // mean value from 10 measurements, 2 digits delay(100); }