Project showcase
Weigh Objects with an Arduino Scale

Weigh Objects with an Arduino Scale © GPL3+

Weigh objects, and make decisions based on weight.

  • 68,726 views
  • 22 comments
  • 33 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 Bluetooth Basic Tutorial

by Mayoogh Girish

  • 454,881 views
  • 42 comments
  • 239 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 285,555 views
  • 95 comments
  • 672 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 229,396 views
  • 38 comments
  • 236 respects

OpenCat

Project in progress by Team Petoi

  • 196,047 views
  • 154 comments
  • 1,363 respects
Add projectSign up / Login