Smart Parcel Scale System for Secure Amazon Deliveries by using ESP32

In the modern era of e-commerce and online shopping, parcel theft — commonly known as porch piracy — has become a growing problem. Many customers receive notifications that their package has been delivered, only to find it missing within minutes. To tackle this real-world issue, Arduino Expert has developed an innovative IoT-based Smart Parcel Scale System Solution for a Client using ESP32.

This project demonstrates how embedded systems, IoT, and product design and development can work together to create a secure, intelligent, and automated parcel-handling system. Designed for smart homes, offices, and apartment complexes, the system not only measures the weight of incoming parcels but also verifies and secures them until the rightful owner retrieves them.

By leveraging Arduino-compatible hardware, such as the ESP32, HX711 Load Cell Amplifier, MLX90614 infrared temperature sensor, and IR module, the system ensures accurate parcel detection, anti-theft monitoring, and intelligent human/animal differentiation. It’s a prime example of how Arduino Programming can be applied to solve real-world problems and enhance security through IoT-based automation.

Smart Parcel Scale System for Secure Amazon Deliveries by using ESP32

Project Overview: Smart Parcel Scale System using ESP32

The Smart Parcel Scale System acts as an intelligent delivery and protection unit installed at the doorstep. It is designed to automatically weigh, verify, and secure delivered packages.

Here’s how it works:

  • When a courier places a parcel on the platform, the load cell measures its weight.
  • The ESP32 compares this data with the expected delivery information (via connected APIs or stored data).
  • If the weight matches the expected range, the system confirms the parcel’s receipt and locks its status in the system.
  • Any unauthorized attempt to lift or move the parcel triggers an alarm, while IR sensors detect if someone tries to steal the entire unit.

The MLX90614 infrared sensor adds intelligence to the system by identifying living beings, such as animals, and preventing false alarms — ensuring only genuine theft attempts are detected.

The owner is notified via a mobile app, where they can monitor parcel status, deactivate alarms, or register new deliveries remotely.

Working of Smart Parcel Scale System:

1.Parcel Placement

The parcel receiver platform — made of wood or metal — contains a load cell mounted beneath the top plate. When the delivery person places a parcel on it, the ESP32 activates and begins reading weight data.

2.Weight Measurement and Verification

The load cell with HX711 amplifier sends the weight value to the ESP32. The system compares this reading to expected parcel information (linked via cloud or API).
If the values match, the parcel is “authenticated” and the system enters a secure mode.

3.Security Activation

Once in secure mode, any weight reduction or tampering triggers an alarm through a buzzer or siren, preventing theft.
If someone tries to steal the entire unit, the IR sensor mounted under the device detects movement and instantly triggers the same alarm.

4.Intelligent Animal Detection

The MLX90614 infrared sensor continuously monitors the surface for heat signatures. If a moving object is detected but its temperature corresponds to that of an animal (like a squirrel, cat or dog), the alarm remains off. This smart filtering ensures accurate theft detection.

5.App and IoT Integration

The system connects via Wi-Fi to an IoT platform (such as Blynk/Adafruit IO or a custom app). Users receive real-time notifications and can disarm or reset the system using their smartphone, ensuring seamless user control and convenience.

Components used in Smart Parcel Scale System

  • ESP32 — Main controller with Wi-Fi for IoT communication
  • Load Cell + HX711 Module — Measures the parcel weight accurately
  • MLX90614 Infrared Sensor — Detects living beings to prevent false alarms
  • IR Sensor — Detects unauthorized movement or theft attempts of the scale itself
  • Buzzer/Siren — Alerts during security breaches
  • Mobile App / IoT Dashboard — Enables remote control and monitoring
  • Wooden or Metal Platform — Serves as the parcel placement area

Circuit Diagram of Smart Parcel Scale System using ESP32

ESP32 Code Smart Parcel Scale System

#include "HX711.h"
const int LOADCELL_DOUT_PIN = 25;
const int LOADCELL_SCK_PIN = 33;
HX711 scale;
//**********************************************MLX90614**************************
#include <Wire.h>

#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
//................................................................................
void Error (void);
int a,ir,r,indicator,w=0;
int i = 6;
int in,im,Placement,ip,il,minutes, seconds;
float Weight = 0;
float WEIGHT; // current weight is 165 grams

float W[20];
int P=1;
int Time = 11; // current time

float t=0; 
  float Wtp=1.3;
  float Wtm=.97;
  int Tmp=13;
  int Tmm=9;
  float Wtp2=1.7;
  float Wtm2=.97;
void setup() 
  {

Key Features of Smart Parcel Scale System

  • Automatic Parcel Detection: Measures and registers parcel weight using load cell technology.
  • Anti-Theft Alarm: Activates instantly if a parcel is lifted or tampered with.
  • IoT Connectivity: Built around ESP32 for Wi-Fi and smart notifications.
  • Intelligent Filtering: Uses MLX90614 to differentiate humans and animals.
  • App Integration: Remote control and real-time alerts through a mobile app.
  • Expandable Design: Can register multiple parcels and integrate with home automation.

Applications of Smart Parcel Scale System

  • Smart Home Delivery Systems
  • E-commerce Parcel Lockers
  • Apartment & Office Reception Areas
  • Secure Delivery Boxes for Individual Homes
  • Industrial or Warehouse Package Verification Systems

Conclusion

The ESP32-Based Smart Parcel Scale System is a cutting-edge IoT solution that combines embedded electronics, sensor technology, and smart automation to provide a real-world answer to parcel theft.

Developed by Arduino Expert, this project is a practical demonstration of Product Design and Development, Arduino Programming, and IoT integration in everyday life. It not only secures deliveries but also showcases how smart, connected devices can make modern living safer and more efficient.

With further development, this concept can evolve into a fully commercial smart delivery locker or be integrated into home automation systems — making it a remarkable example of innovation at the intersection of electronics, software, and product design.

Need This Project?

If you need Smart Parcel Scale System Project with or without Modifications or Customization then you can contact us through WhatsApp. We can deliver you this Project in the Following Ways.

Project Code:
we can provide you Project Code for Liquid Vending Machine along with Zoom Assistant, through Zoom meeting for Setup of this Project or any other Arduino Project of your need.

Fully Functional Project with Hardware/Components Shipment:
if you can not make this project yourself then you can use this option. We will assemble the Project and will ship it to your Doorstep with Safe Packaging.

Learn More about the services we offer.

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook
YouTube