Projects / Lift overload alarm model

Lift overload alarm model

Beginner1.5 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. NANO++351 g

    Mount the load cell

    Fix one end, load the other end and keep wires clear.

  2. NANO+352 g

    Wire the HX711

    Follow the colours in the table.

  3. NANO

    Read raw values

    Set CAL to 1 and print the readings with a known weight.

  4. NANO

    Work out CAL

    Raw reading divided by the weight in grams.

  5. NANO++355 g

    Tare and test

    Upload and check several known weights.

  6. NANO

    Set the limit

    Change LIMIT_G and place a heavier weight.

  7. NANO

    Hear the alarm

    Buzzer and lamp should start above the limit.

In short

How do you build a lift overload alarm model?

A load cell under a model lift floor sounds an alarm if the weight limit is passed. You need Arduino Nano, Load cell 20 kg, HX711 load cell amplifier, Active buzzer 5 V, LED 5 mm red, Resistor 220 Ω, 16x2 LCD with I2C backpack (PCF8574), Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm). It takes 7 steps and about 90 minutes.

Level
Beginner
Time
About 90 min
Parts
9

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
HX711 VCCNano 5VPower
HX711 GNDNano GNDGround
HX711 DTNano D3Data
HX711 SCKNano D2Clock
Load cell red wireHX711 E+Excitation
Load cell black wireHX711 E-Excitation
Load cell white wireHX711 A-Signal
Load cell green wireHX711 A+Signal, swap white and green if the reading goes negative
LCD I2C VCC and GNDNano 5V and GNDPower
LCD I2C SDA and SCLNano A4 and A5I2C
Active buzzer +Nano D6Alarm
Red LED and 220 Ω resistorNano D7 through the resistor, LED to GNDOverload lamp

Code

This is a model: do not use it to certify a real lift or hoist, which need approved safety systems. Mount the load cell so the platform sits on its free end and the other end is fixed, with arrow direction matching the force. To calibrate, first tare the empty platform, then place a known weight (a 1 kg water bottle or a kitchen-scale weighed object), read the raw value with CAL set to 1 and divide the raw reading by the weight in grams to get CAL. Keep the platform clear of the frame so nothing rubs. Use a hysteresis in a real design so that the alarm does not flutter near the limit. Arduino IDE, board "Arduino Nano" (processor ATmega328P, or ATmega328P (Old Bootloader) for clones).

Runs on a virtual Arduino Nano in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).

// Library: HX711 by bogde. LiquidCrystal_I2C for the display.
#include <HX711.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

HX711 scale;
LiquidCrystal_I2C lcd(0x27, 16, 2);
const byte DT = 3, SCK_PIN = 2, BUZZ = 6, LED = 7;
float CAL = 420.0;            // raw units per gram, set during calibration
const float LIMIT_G = 2000;   // model limit in grams, change as you like

void setup() {
  Serial.begin(9600);
  pinMode(BUZZ, OUTPUT); pinMode(LED, OUTPUT);
  lcd.init(); lcd.backlight();
  scale.begin(DT, SCK_PIN);
  scale.set_scale(CAL);
  scale.tare();               // empty platform
  lcd.print("Ready");
}

void loop() {
  float g = scale.get_units(5);
  bool over = g > LIMIT_G;
  digitalWrite(LED, over);
  digitalWrite(BUZZ, over ? (millis() / 200) % 2 : LOW);
  lcd.setCursor(0, 0);
  lcd.print(g, 0); lcd.print(" g      ");
  lcd.setCursor(0, 1);
  lcd.print(over ? "OVERLOAD        " : "OK              ");
  Serial.println(g);
}

What the serial monitor should show

Open the serial monitor at the baud rate in the code. This is what our simulator prints for a virtual Arduino Nano with its sensors at their default values. Your numbers will follow your real readings, but the format should match.

0.00

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
Empty platformClose to 0 g
1 kg weightAbout 1000 g after calibration
Weight above the limitAlarm and lamp
Weight removedAlarm stops

If it does not work

Negative readings

Swap the signal wires A+ and A-.

Drifting reading

Let the board warm up and keep the load cell still.

Wrong weight

Recalibrate CAL with a known weight.

No reading

Check DT and SCK pins and the 5 V supply.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the lift overload alarm model?

Arduino Nano, Load cell 20 kg, HX711 load cell amplifier, Active buzzer 5 V, LED 5 mm red, Resistor 220 Ω, 16x2 LCD with I2C backpack (PCF8574), Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the lift overload alarm model take to build?

About 90 minutes for a beginner maker, in 7 steps.

How do I know the lift overload alarm model works?

Empty platform: Close to 0 g. 1 kg weight: About 1000 g after calibration. Weight above the limit: Alarm and lamp.

Negative readings: what should I check?

Swap the signal wires A+ and A-.

Drifting reading: what should I check?

Let the board warm up and keep the load cell still.

Wrong weight: what should I check?

Recalibrate CAL with a known weight.

No reading: what should I check?

Check DT and SCK pins and the 5 V supply.