HX711 weegcelversterker module voor het uitlezen van gewichtssensoren en digitale weegschalen.
SKU: OT3331 Número do artigo: AB080 EAN: 8720589817005 Localização: F03.02
Alternativa
Sensor de célula de carga de 3 kg YZC-131 com cablagem - para pesagem digital
€ 6,00
Ver esta alternativa
Como ligar o Módulo Amplificador de Célula de Carga HX711 a um Arduino UNO ou ESP32, com um sketch de exemplo que podes carregar já.
This example connects an HX711 24-bit ADC module to the Arduino Uno to read weight data from a load cell. On startup, the module tares (zeros) the scale and continuously prints weight measurements to the Serial Monitor.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : Weight Reading with HX711 Amplifier
* Board : Arduino UNO (arduino:avr:uno)
* Parts : HX711 Load Cell Amplifier
* 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 DOUT_PIN = 3;
const int SCK_PIN = 2;
HX711 scale;
void setup() {
Serial.begin(115200);
Serial.println(F("HX711 Load Cell Demo"));
scale.begin(DOUT_PIN, SCK_PIN);
Serial.println(F("Taring... ensure no weight is on the scale."));
scale.set_scale();
scale.tare();
Serial.println(F("Tare complete. Place weight on load cell."));
}
void loop() {
if (scale.is_ready()) {
long reading = scale.get_units(5);
Serial.print(F("Reading: "));
Serial.println(reading);
} else {
Serial.println(F("HX711 not detected."));
}
delay(500);
}
Bibliotecas necessárias: HX711 Arduino Library 0.7.5
Wiring diagram and example code generated by Codey.online — https://www.codey.online
This project interfaces an HX711 24-bit load cell amplifier with the ESP32. On startup, the sketch tares the scale and then continuously outputs raw load cell readings to the Serial Monitor at 115200 baud. Powering the HX711 from 3.3V ensures signal levels are directly compatible with ESP32 GPIOs.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : HX711 Load Cell Weight Measurement
* Board : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
* Parts : HX711 Load Cell Amplifier
* 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 (GPIO 19 for DOUT, GPIO 18 for SCK)
const int DOUT_PIN = 19;
const int SCK_PIN = 18;
HX711 scale;
void setup() {
Serial.begin(115200);
while (!Serial) { delay(10); }
Serial.println("HX711 Weight Sensor Demo");
scale.begin(DOUT_PIN, SCK_PIN);
Serial.println("Initializing sensor...");
delay(1000);
if (scale.is_ready()) {
scale.set_scale(); // Set default scale factor
scale.tare(); // Reset the scale to 0 (tare)
Serial.println("Tare complete. Place weight on the load cell.");
} else {
Serial.println("HX711 not detected. Check wiring.");
}
}
void loop() {
if (scale.is_ready()) {
long reading = scale.get_units(5); // Average of 5 readings
Serial.print("Raw reading: ");
Serial.println(reading);
} else {
Serial.println("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
O módulo utiliza o HX711 como controlador, um chip conversor S/D de 24 bits, especialmente projetado para balanças digitais. Este módulo inclui um ou dois sensores de peso, que fornecem uma resistência variável dependendo do peso.
Com o amplificador HX711 Load Cell, você pode ler sensores de peso de forma simples para determinar o peso. Como o sinal diferencial de um sensor de peso é muito pequeno, não é possível ligá-lo diretamente a um Arduino, sendo necessário usar este amplificador.
O módulo HX711 está equipado com um ADC de 24 bits, permitindo detetar até as menores diferenças de peso. Com a ajuda de pesos de calibração, você pode criar uma balança muito precisa.
| Dimensões | 33.50 x 20.30 x 3.00 mm |
|---|---|
| Peso | 2.2 grama |
| Tensão de trabalho | 5V |
| Consumo de energia | aprox. 1.6mA (ativo), < 1 uA (modo de suspensão) |
| Modelo | HX711 |
| Resolução do ADC | 24 bit |
| Número de células de carga | 2 peças (4 fios) ou 4 peças (3 fios) |
correto, tudo me parece conforme
Não ficas satisfeito? Tens 30 dias após a receção para devolver o produto.
Tudo sobre devoluções
Módulo Amplificador de Célula de Carga HX711