Codey OnlineArduino & ESP32 component library › 50kg Load Cell Weight Sensor
50kg Load Cell Weight Sensor
Sensors

50kg Load Cell Weight Sensor

50kg Load Cell Weight Sensor, Electronic Kitchen Scale Strain Gauge

Width: 38.1 mm

Pinout — 50kg Load Cell Weight Sensor

Pin Signal Description
rood analog rood - middentap/signaal (naar HX711 A+; bij 4 cellen naar E+/E-/A-/A+)
zwart analog zwart - uiteinde rekstrookje (excitatie, naar HX711 E-)
wit analog wit - uiteinde rekstrookje (excitatie, naar HX711 E+)

Wiring notes

Losse halve-brug loadcell met 3 draden: rood = middentap/signaal, wit en zwart = de twee uiteinden van het rekstrookje. Dit is een HALVE brug en kan NOOIT direct op de Arduino/ESP32 - hij hoort altijd op een HX711-versterker. Twee scenario's: (a) EEN losse cel -> vul de brug aan met 2 vaste weerstanden (bv. 2x 1k) zodat er een volledige brug ontstaat: rood -> HX711 A+, de weerstandsdeler-midden -> A-, wit/zwart -> E+/E-. (b) VIER cellen samen -> vormen samen een volledige brug: de signaaldraad (rood) van elke cel gaat naar respectievelijk HX711 E+, E-, A- en A+. De HX711 gaat vervolgens via VCC/GND/DT/SCK naar de microcontroller.

Example wiring diagram — 50kg Load Cell Weight Sensor

From To Wire
board:5V x1:VCC red
board:GND x1:GND black
board:D3 x1:DT green
board:D2 x1:SCK blue
x2:rood x1:A+ yellow
x2:zwart x1:E- purple
x2:wit x1:E+ cyan

Example Arduino code — 50kg Load Cell Weight Sensor

This example was written and compile-checked for the arduino-uno. Codey Online adapts it to any other supported board for you.

#include <HX711.h>

// HX711 wiring must match the JSON wiring block exactly.
const int HX711_DT = 3;
const int HX711_SCK = 2;

HX711 scale;

// Adjust this calibration factor after placing a known weight on the sensor.
// A negative value is common with some load cell orientations.
float calibration_factor = -7050.0;

void setup() {
  Serial.begin(9600);
  while (!Serial) {
    ;
  }

  Serial.println("HX711 load cell example");
  Serial.println("Remove all weight from the load cell during tare.");

  scale.begin(HX711_DT, HX711_SCK);
  scale.set_scale(calibration_factor);
  scale.tare();

  Serial.println("Tare complete.");
}

void loop() {
  // Read average value from the HX711.
  float weight = scale.get_units(10);

  Serial.print("Weight: ");
  Serial.print(weight, 2);
  Serial.println(" units");

  delay(500);
}

Related components

18650 Battery Shield with USB-C Charger and 5V Boost Converter

18650 Battery Shield with USB-C Charger and 5V Boost Converter

2.4 inch OLED Display I2C 3.3V

2.4 inch OLED Display I2C 3.3V

3.5 inch TFT LCD Shield

3.5 inch TFT LCD Shield

Accelerometer and Gyroscope I2C MPU-6050

Accelerometer and Gyroscope I2C MPU-6050

Build your Arduino or ESP32 project with AI

Describe what you want to build. Codey Online writes the code, draws the wiring diagram, compiles it and flashes your board straight from the browser.

Start for free