# HomeMade Weighing Scale Machine

1,176

3

1

Made a Weighing Scale with a capacity of 200kg. the structure was made from steel laying around. the whole build took 2 days to complete, as the paint took much longer to dry. Arduino was used in this project,

this project involved some metal work like welding and girding to construct the structure of the weighing scale.

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Components and Wiring Diagram

Components used:-

Arduino

LCD 16x2

Hx711 Module

LoadCell 200kg

5volt power bank

and some wires

any doubt about the wiring let me know.

## Step 2: Arduino Code

simply go to http://textuploader.com/dou7o to copy the code for arduino

/* MakerMan Weighing Scale Ver: 1.0

This example code uses bogde's excellent library: https://github.com/bogde/HX711 bogde's library is released under a GNU GENERAL PUBLIC LICENSE

The HX711 does one thing well: read load cells. The breakout board is compatible with any wheat-stone bridge based load cell which should allow a user to measure everything from a few grams to tens of tons. Arduino pin to HX711 A2 -> CLK A1 -> DAT 5V -> VCC GND -> GND

The HX711 board can be powered from 2.7V to 5V so the Arduino 5V power should be fine. */ #include

#include

int button1 = 9; int press1 = 0;

LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

HX711 scale1(A1, A2);

#define MAXFLT 8 // 24 bit resolution is 7 digits

void setup() { lcd.clear(); lcd.begin(16, 2);

lcd.setCursor(0, 0); lcd.print(" Weighing Scale "); lcd.setCursor(0, 1); lcd.print("----MakerMan----"); delay(3000);

lcd.setCursor(0, 0); lcd.print("--Place Weight--"); lcd.setCursor(0, 1); lcd.print(" ..... kg ");

scale1.set_scale(-11410); // BUG: calibrate the scale (higher number, lower reading) scale1.tare(); // reset the scale to zero

pinMode(button1, INPUT); digitalWrite(button1, HIGH); //enable pullups to make pin high

}

void loop() { float r; char buf[MAXFLT + 1]; r = scale1.get_units(5); // average 10 readingslcd.print(scale1.get_units(10), 3); // average 10 readings Serial.println(dtostrf(r, MAXFLT, 3, buf)); lcd.setCursor(0, 1); lcd.print(dtostrf(r, MAXFLT, 2, buf)); // average 10 readings, approx 1 second

{ press1 = digitalRead(button1); if (press1 == LOW) { scale1.tare(); } else { /// do nothing } } }

## Step 3: Video of Weighing Scale

here is the video of the whole build process, where i start with constructing the frame for the scale and to the end integrating arduino. the scale is simply powered by an old power bank.

## Recommendations

• ### Internet of Things Class

22,829 Enrolled

## Discussions

plse help i got problem for calibrating the load cell (150Kg tanita bathroom scale) with your code how can i calibrate my load cell? i used arduino uno + HX711 amplifier
thankyou