Project showcase
Weigh Objects with an Arduino Scale

Weigh Objects with an Arduino Scale © GPL3+

Weigh objects, and make decisions based on weight.

  • 93,874 views
  • 24 comments
  • 55 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

About this project

I found a dead scale at work, the electronics were fried. I figured the load cell inside was still good, and would be fun to hack. I stripped out the load cell, and connected it to an Arduino with a HX711 amplifier / 24 bit ADC.

Schematic
Output


Code

Load Cell SketchC/C++
Copy into Arduino IDE and upload to your Arduino. Don't forget to install library (see code line 4)
/* sample for digital weight scale of hx711
 * library design: Weihong Guan (@aguegu)
 * library host on
 *https://github.com/aguegu/ardulibs/tree/3cdb78f3727d9682f7fd22156604fc1e4edd75d1/hx711
 */
 // See original article and code / library link at http://arduinotronics.blogspot.com/2015/06/arduino-hx711-digital-scale.html

// Hx711.DOUT - pin #A2
// Hx711.SCK - pin #A3

#include <Hx711.h>
Hx711 scale(A2, A3);

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

void loop() {
  Serial.print(scale.getGram(), 1);
  Serial.println(" g");
  delay(200);
}

Schematics

Schematic
created with schemeit from digikey
Hx711%20schematic

Comments

Similar projects you might like

Arduino UNO High Precision Counting Scale

Project showcase by Fedeasche

  • 25,602 views
  • 11 comments
  • 51 respects

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 869,704 views
  • 84 comments
  • 488 respects

High Precision Scale with Arduino

Project showcase by mPelectronic

  • 19,917 views
  • 14 comments
  • 50 respects

Connected Weight Scale Using Sigfox

Project in progress by Polytech Sorbonne - EISE5 - Levert, Maury, Rosanne

  • 5,762 views
  • 1 comment
  • 6 respects
Add projectSign up / Login