Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HX711 Load Cell Amplifier #99

Closed
arcostasi opened this issue Aug 2, 2021 · 2 comments
Closed

HX711 Load Cell Amplifier #99

arcostasi opened this issue Aug 2, 2021 · 2 comments
Assignees
Labels
open for vote Vote at https://wokwi.com/features

Comments

@arcostasi
Copy link
Contributor

HX711 24-Bit Analog-to-Digital Converter (ADC) for reading load cells/weight scales.

A load cell or a Strain Gauge is basically a Transducer which generates an electrical signal whose magnitude is proportional to the force applied. The various load cell types include Pneumatic, Hydraulic, and strain gauge.

The load cells or Strain gauges can be used in different automation projects. The load cells can be used for the precise weight measurement if properly calibrated. The load cells are commonly used in industrial processes where the weight of certain products is measured. The load cells can be used in automatic bag filling machines. The load cells or strain gauges can be used in infinitely different ways.

HX711 has different gain values which are selectable 32, 64 and 128. Any of the mentioned gains can be selected and used in the programming.

Technical Specifications

  • Operating voltage 4.8-5.5V DC
  • Operating current: 1.6mA
  • Operating temperature: -20 to 85°C
  • SPI Interface
  • Dimensions: 29 x 17 x 4mm (without pins)

Pinouts

HX711-module-pinout

Documents

Library

Code

#include "HX711.h"

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

HX711 scale;

void setup() {
  Serial.begin(9600);
  scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
}

void loop() {
  if (scale.is_ready()) {
    long reading = scale.read();
    Serial.print("HX711 reading: ");
    Serial.println(reading);
  } else {
    Serial.println("HX711 not found.");
  }
  delay(1000);
}
@urish urish added the open for vote Vote at https://wokwi.com/features label Sep 16, 2021
@yepher
Copy link
Contributor

yepher commented Jan 7, 2022

This is the same as issue #101

I created a PR #116 for this

@urish
Copy link
Collaborator

urish commented Oct 10, 2022

Part is ready!

@urish urish closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open for vote Vote at https://wokwi.com/features
Projects
None yet
Development

No branches or pull requests

4 participants