HX711 Basic Reading
Materials
Example
Introduction
This example shows how to use SparkFun HX711 to get raw readings from a Load Cell.
Procedure
Connect the Load Cell to HX711.
Connect the red wire of Load Cell to RED pin (Excitation +) of HX711.
Connect the black wire of Load Cell to BLK pin (Excitation -) of HX711.
Connect the green wire of Load Cell to GRN pin (Signal +) of HX711.
Connect the white wire of Load Cell to WHT pin (Signal -) of HX711.
Connect the AMB82-mini to HX711.
Connect the V_USB of AMB82-mini to VDD of HX711.
Connect the GND of AMB82-mini to GND of HX711.
Connect the Pin 2 of AMB82-mini to DAT of HX711.
Connect the Pin 3 of AMB82-mini to CLK of HX711.
The final wiring should look like the diagram below.
Open the example in File -> Examples -> AmebaGPIO -> HXH711 -> BasicReading
Compile and run the example.
The measurements from the Load Cell will be printed at 1s interval. Please take note that this is raw and amplified readings from the Load Cell. We will learn how to calibrate this setup in the next example, so that the output is actually meaningful in grams.


