Encomendado em dias úteis antes das 14:00 = enviado no mesmo dia e, em 98% dos casos, entregue no dia seguinte. Devolução gratuita 30 dias para refletir 1 ano de garantia

Esquema de ligação e exemplo de código

Como ligar o Sensor de peso até 50KG a um Arduino UNO ou ESP32, com um sketch de exemplo que podes carregar já.

50kg Load Cell Weight Measurement with HX711

This project measures weight using a 50kg load cell connected to an Arduino Uno via an HX711 amplifier module. The sketch tares the scale at startup and repeatedly outputs the measured weight to the Serial Monitor. You can calibrate the reading by adjusting the calibration factor with a known weight.

Esquema de ligação: Sensor de peso até 50KG num Arduino UNO
Esquema de ligação · Clique para ampliar
Tabela de ligação: Sensor de peso até 50KG num Arduino UNO
Tabela de ligação · Clique para ampliar
50kg_Load_Cell_Weight_Measurement_with_H.ino · compilado e testado
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : 50kg Load Cell Weight Measurement with HX711
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : 50kg Load Cell Weight Sensor
 *  Libraries : HX711 Arduino Library 0.7.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include "HX711.h"

const int LOADCELL_DOUT_PIN = 3;
const int LOADCELL_SCK_PIN = 2;

HX711 scale;

// Adjust this calibration factor after testing with a known reference weight
float calibration_factor = -7050.0;

void setup() {
  Serial.begin(115200);
  while (!Serial) {
    ; // Wait for serial port to connect
  }

  Serial.println(F("--- HX711 Load Cell Scale ---"));
  Serial.println(F("Initializing scale, do not place weight on the sensor..."));

  scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
  scale.set_scale(calibration_factor);
  scale.tare(); // Reset the scale to 0

  Serial.println(F("Tare complete. Ready for measurements."));
}

void loop() {
  if (scale.is_ready()) {
    float weight = scale.get_units(5);
    Serial.print(F("Weight: "));
    Serial.print(weight, 2);
    Serial.println(F(" units"));
  } else {
    Serial.println(F("HX711 not ready."));
  }

  delay(500);
}

Bibliotecas necessárias: HX711 Arduino Library 0.7.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

50kg Load Cell with HX711 Amplifier

This project reads weight values from a single 50kg half-bridge load cell using an HX711 amplifier and two 1kΩ resistors to complete the Wheatstone bridge. Connect the circuit, upload the sketch, and open the Serial Monitor at 115200 baud to view real-time weight sensor readings.

Esquema de ligação: Sensor de peso até 50KG num ESP32 DevKit V1
Esquema de ligação · Clique para ampliar
Tabela de ligação: Sensor de peso até 50KG num ESP32 DevKit V1
Tabela de ligação · Clique para ampliar
50kg_Load_Cell_with_HX711_Amplifier.ino · compilado e testado
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : 50kg Load Cell with HX711 Amplifier
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : 50kg Load Cell Weight Sensor
 *  Libraries : HX711 Arduino Library 0.7.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include "HX711.h"

// Pin definitions for HX711
const int DOUT_PIN = 19;
const int SCK_PIN = 18;

HX711 scale;

void setup() {
  Serial.begin(115200);
  Serial.println("50kg Load Cell Demo");

  scale.begin(DOUT_PIN, SCK_PIN);

  Serial.println("Taring scale... Please keep sensor unloaded.");
  delay(1000);
  scale.tare();
  Serial.println("Tare complete. Ready for readings!");
}

void loop() {
  if (scale.is_ready()) {
    long rawValue = scale.get_value(5);
    Serial.print("Raw Load Cell Value: ");
    Serial.println(rawValue);
  } else {
    Serial.println("HX711 not found or not ready.");
  }
  
  delay(500);
}

Bibliotecas necessárias: HX711 Arduino Library 0.7.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Sensor de peso até 50KG

Esta célula de carga ou sensor de peso pode suportar um peso até 50KG. Se quiser pesar um peso maior, então é possível combinar o sensor. Por exemplo, usando 4 células de carga de 50KG, o peso máximo torna-se 200KG.

Material: Alumínio

Capacidade: 50KG

Para usar com Arduino, ESP32 ou ESP8266 em combinação com o HX711 Weegcelversterker.

Dimensões
Comprimento: 3,88cm
Largura: 3,88cm
Altura: 1,21cm

  • Gewichtsensor
  • Tot 50 kg
  • 3,88 cm
  • Aluminium
Ao reproduzir, o vídeo do YouTube é carregado.

Por que escolher este produto?

  • Tot 50 kg – Meet gewichten tot 50KG.
  • Combineerbaar bereik – Te combineren voor hoger maximaal gewicht.
  • Aluminium materiaal – Gemaakt van aluminium.
  • Geschikt voor Arduino – Te gebruiken met Arduino, ESP32 of ESP8266.
Especificações
Largura3,88 cm
Adequado paraArduino, ESP32, ESP8266
Materialaluminium
Comprimento3,88 cm
Compatível comHX711 Weegcelversterker
Altura1,21 cm
Capacidade50KG

Frequentemente comprados juntos

Total: € 6,93

Avaliações

Ainda sem avaliações.

Escrever uma avaliação
A tua avaliação

Envio & devoluções

Envio

  • Pacote com Track & Trace€ 6,20Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 7,35Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 8,50Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 9,15Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
Tudo sobre envios

Devoluções

Não ficas satisfeito? Tens 30 dias após a receção para devolver o produto.

Tudo sobre devoluções

Vistos recentemente

Breadboard Combinado 4 em 1 Grupo

Breadboard Combinado 4 em 1 Grupo

€ 10,40
Módulo de Relé de Estado Sólido 5V

Módulo de Relé de Estado Sólido 5V

€ 2,35
Módulo Sensor Infravermelho de Contagem - 5mm

Módulo Sensor Infravermelho de Contagem - 5mm

€ 1,50
Kit RF 433Mhz STX882 e SRX882

Kit RF 433Mhz STX882 e SRX882

€ 4,70
Servo SG-5010 180 graus

Servo SG-5010 180 graus

€ 5,45