Beställt på vardagar före 14:00 = skickas samma dag. 30 dagars ångerrätt

Kopplingsschema och kodexempel

Så här kopplar du Viktgivare upp till 50KG till en Arduino UNO eller ESP32, med ett exempel­sketch som du kan ladda upp direkt.

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.

Kopplingsschema: Viktgivare upp till 50KG på en Arduino UNO
Kopplingsschema · Klicka för att förstora
Kopplingstabell: Viktgivare upp till 50KG på en Arduino UNO
Kopplingstabell · Klicka för att förstora
50kg_Load_Cell_Weight_Measurement_with_H.ino · kompilerad och testad
/*
 * ==================================================================
 *  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);
}

Nödvändiga bibliotek: 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.

Kopplingsschema: Viktgivare upp till 50KG på en ESP32 DevKit V1
Kopplingsschema · Klicka för att förstora
Kopplingstabell: Viktgivare upp till 50KG på en ESP32 DevKit V1
Kopplingstabell · Klicka för att förstora
50kg_Load_Cell_with_HX711_Amplifier.ino · kompilerad och testad
/*
 * ==================================================================
 *  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);
}

Nödvändiga bibliotek: HX711 Arduino Library 0.7.5

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

Produktsäkerhet
Tillverkare
OTRONIC
Meerweg 76A, 2121 VC BENNEBROEK, Nederland
support@otronic.nl
Ansvarig i EU
OTRONIC
Meerweg 76A, 2121 VC BENNEBROEK, Nederland
support@otronic.nl
Säkerhetsinformation
Läs produktinformationen och eventuell manual före användning. Elektroniska moduler och delar är avsedda för personer med teknisk kunskap; förvara dem utom räckhåll för barn. Använd endast angiven spänning och anslut eller koppla inte loss något medan kretsen är spänningssatt. Lämna uttjänt elektronik och batterier till en insamlingsplats; släng dem inte i hushållsavfallet.

Viktgivare upp till 50KG

Denna vågcell eller viktgivare kan hantera en vikt upp till 50KG. Om du vill väga en större vikt är det möjligt att kombinera sensorn. Genom att till exempel använda 4 vågceller på 50KG blir den maximala vikten 200KG.

Material: Aluminium

Kapacitet: 50KG

Kan användas med Arduino, ESP32 eller ESP8266 i kombination med HX711 Weegcelversterker.

Mått
Längd: 3,88cm
Bredd: 3,88cm
Höjd: 1,21cm

  • Vågsensor
  • Upp till 50 kg
  • 3,88 cm
  • Aluminium
Vid uppspelning laddas videon från YouTube.

Varför välja denna produkt?

  • Upp till 50 kg – Mäter vikter upp till 50 kg.
  • Kombinerbart intervall – Kan kombineras för högre maxvikt.
  • Aluminium material – Tillverkad av aluminium.
  • Lämplig för Arduino – Kan användas med Arduino, ESP32 eller ESP8266.
Specifikationer
Bredd3,88 cm
Lämplig förArduino / ESP32 / ESP8266
Materialaluminium
Längd3,88 cm
Kompatibel medHX711 Vågcellförstärkare
Höjd1,21 cm
Kapacitet50KG

Köps ofta tillsammans

Totalt: 36 kr

Recensioner

Inga omdömen än.

Skriv ett omdöme
Ditt omdöme

Frakt & returer

Frakt

  • Paket med spårning85 kr5 arbetsdagar
  • Paket med spårning104 kr5 arbetsdagar
  • Paket med spårning124 kr5 arbetsdagar
  • Paket med spårning130 kr5 arbetsdagar
Allt om frakt

Returer

Inte nöjd? Du har 30 dagars ångerrätt efter leverans för att returnera produkten.

Allt om returer

Tidigare visade