Smart Cart Monitoring System using IOT for Rural Transport Automation and Safety

Published Jun 30, 2026
 30 hours to build
 Intermediate

Smart Cart Monitoring System is a system based on the Internet of Things for rural transportation by converting traditional transport carts into smart linked vehicles. It promotes safety, efficiency, and visibility in rural transportation with real-time load monitoring, GPS tracking, obstacle identification, environmental sensing, and automatic emergency alarms. This system provides a low-cost, scalable solution for smarter, more sustainable rural logistics.

display image

Components Used

ESP32 WROOM
WiFi Development Tools - 802.11 ESP32 General Development Kit, embeds ESP32-WROOM-32E, 4MB flash.
1
Load Cell 0-3kg
Seeed Studio Accessories Weight Sensor (Load Cell) 0-3kg
1
MPU6050 Gyroscope and Accelerometer
MPU6050 (Gyroscope + Accelerometer + Temperature) is a combination of 3-axis Gyroscope, 3-axis Accelerometer and Temperature sensor with on-chip Digital Motion Processor (DMP). It is used in mobile devices, motion enabled games, 3D mice, Gesture (motion command) technology etc
1
Ultrasonic Module HC-SR04
Ultrasonic module HC-SR04 is generally used for finding distance value and obstacle detection. It can operate in the range 2cm-400cm.
1
128x32 (0.91") I2C OLED Display
Display Development Tools Monochrome 0.91 128x32 I2C OLED Display
1
N20 DC Motor - 6V with 1:100 Gear Ratio
Adafruit Accessories N20 DC Motor with Magnetic Encoder - 6V with 1:100 Gear Ratio
4
SIM800 GSM GPRS module
SIM800 is a quad-band GSM/GPRS module.
1
Breadboard, Set of Jumper Wires, USB Cable (for ESP32)
Used to assemble and prototype all the components without soldering, Connects the ESP32, MQ-2 sensor, LED, and buzzer on the breadboard,Used to power and program the ESP32 development board.
1
HX711 Load Cell Amplifier
The Load Cell Amplifier is a small breakout board for the HX711 IC that allows you to easilyread load cells to measure weight. By connecting the amplifier to your microcontroller you will be able to read the changes in the resistance of the load cell, and with some calibration, you’ll be able to get very accurate weight measurements.
1
vibration sensor (sw 420)
Detect vibrations or shocks.
1
DHT11 Temperature & Humidity Sensor
Monitors storage environment conditions affecting spoilage.
2
GPS Neo-6m GPS Module
This is a complete GPS module that is based on the NEO 6M GPS. This unit uses the latest technology to give the best possible positioning information and includes a larger built-in 25 x 25mm active GPS antenna with a UART TTL socket. A battery is also included so that you can obtain a GPS lock faster. This is an updated GPS module that can be used with ardupilot mega v2. This GPS module gives the
1
l293d Motor Driver
L293D H-bridge driver is the most commonly used driver for Bidirectional motor driving applications. This L293D IC allows DC motor to drive on either direction. L293D is a 16-pin IC which can control a set of two DC motors simultaneously in any direction.
1
car chasis
Car model prototype, where all the components are mounted
1
AA Batteries
4
Description

 

Step 1: Problem Identification

We began by identifying major challenges in rural transportation, such as overloading, lack of vehicle tracking, poor safety monitoring, absence of obstacle detection, and delayed emergency response. These issues often lead to accidents, cargo damage, and inefficient transport operations. Our goal was to develop a low-cost smart system capable of monitoring these parameters in real time and improving overall transportation safety.

Step 2: Selecting the Core Controller

The ESP32 microcontroller was chosen as the central processing unit because of its built-in Wi-Fi, powerful dual-core processor, low power consumption, and ability to interface with multiple sensors simultaneously. The ESP32 serves as the brain of the entire system, collecting data from sensors, processing information, generating alerts, and communicating with the dashboard.

Step 3: Designing the Sensor Network

To monitor different aspects of the cart, multiple sensors were integrated into the system.

A Load Cell combined with an HX711 amplifier was used to measure the weight carried by the cart and detect overload conditions.

An MPU6050 accelerometer and gyroscope module was added to monitor vibration, acceleration, tilt angle, and overall cart stability.

A Vibration Sensor was incorporated to detect excessive shocks, potholes, collisions, and rough road conditions.

A DHT11 sensor was used to measure temperature and humidity, ensuring that transported goods remain within safe environmental conditions.

An Ultrasonic Sensor was mounted at the front of the cart to detect nearby obstacles and reduce collision risks.

Step 4: Implementing GPS Tracking

A GPS module was integrated to provide real-time location information. The module continuously supplies latitude and longitude coordinates, enabling route tracking, movement monitoring, and improved transportation visibility. This allows operators to know the exact position of the cart at any time.

Step 5: Adding Emergency Communication

To ensure reliable communication in rural areas, a SIM800L GSM module was incorporated into the design. Whenever unsafe conditions such as overload, excessive vibration, abnormal tilt, collision risk, or environmental hazards are detected, the GSM module automatically sends SMS alerts to predefined users. This ensures rapid response even in locations with limited internet connectivity.

Step 6: Developing the User Interface

A 0.96-inch OLED display was added for local monitoring. It displays important information such as load, temperature, humidity, vibration status, obstacle distance, and GPS coordinates in real time.

In addition, an IoT dashboard was developed to provide remote monitoring. The dashboard visualizes sensor data, displays alerts, tracks GPS location, and stores historical records for analysis.

Step 7: Hardware Integration

After selecting all components, the hardware modules were interconnected with the ESP32. Each sensor was connected to the appropriate GPIO pins using communication protocols such as I2C, UART, and digital interfaces. Proper power regulation and grounding were implemented to ensure stable and reliable operation.

Step 8: Software Development

The system firmware was developed using Arduino IDE. Various libraries were integrated to support sensor communication, GPS processing, OLED display control, Wi-Fi connectivity, and GSM communication. The software continuously reads sensor data and manages all system operations.

Step 9: Data Processing and Analysis

The ESP32 continuously acquires data from all sensors and performs filtering, calibration, and processing. Sensor readings are analyzed against predefined thresholds to identify unsafe conditions. Noise reduction techniques and sensor fusion methods are used to improve measurement accuracy and reliability.

Step 10: Dashboard and Cloud Communication

Processed data is transmitted through Wi-Fi to the web-based dashboard. Users can monitor live values such as load, vibration, temperature, humidity, obstacle distance, and GPS location. The dashboard acts as a centralized platform for monitoring and decision-making.

Step 11: Alert Generation

The system continuously checks whether any parameter exceeds safe limits. If an abnormal condition is detected, warning messages are generated immediately. Alerts are displayed on the dashboard and SMS notifications are sent through the GSM module to inform users about potential risks.

Step 12: System Testing and Validation

The completed prototype was tested under various operating conditions. Tests were conducted for load monitoring, vibration detection, obstacle sensing, GPS tracking, dashboard responsiveness, and SMS communication. The results confirmed reliable operation, high alert accuracy, stable communication, and effective real-time monitoring.

Step 13: Final Working of the System

The final system operates in a continuous loop. Sensors collect data from the cart and its surroundings. The ESP32 processes this information and sends it to the dashboard. If all parameters remain within safe limits, monitoring continues normally. If unsafe conditions are detected, immediate alerts are generated and transmitted to users. This creates a smart, connected, and safety-aware transportation platform capable of improving rural mobility and agricultural logistics.

 

Codes

Downloads

Smart Rural Cart Monitoring Download
System Architecture Download

Institute / Organization

School of Engineering and Technology, Jain University
Comments
Ad