The problem
Vaccines, dairy, seafood, and pharmaceuticals spoil when the cold chain breaks — a truck's refrigeration unit fails, a warehouse door stays open, and nobody notices until the goods are ruined. Existing loggers record temperature locally, but their records can be edited or lost, so there is no trustworthy proof of what happened in transit. This project builds a GPS-enabled IoT tracker that logs temperature and humidity through the journey and anchors the readings to a blockchain ledger, creating a tamper-evident record that the sender, transporter, and receiver can all verify.
How it works
The ESP32 collects temperature and humidity readings from the DHT22 sensor and geographic coordinates from the NEO-6M GPS module. Current temperature and operating status are shown locally on the OLED display.
The ESP32 sends collected information through Wi-Fi to a backend service. The backend processes the shipment record and can submit selected data or a cryptographic representation of the record to a blockchain smart contract. This creates a traceable history of cold-chain conditions that can later be checked for abnormal temperature events or missing records.
Design clarification: blockchain logging is implemented in this build, not optional. Every batch of sensor readings is hashed and the hash is written to the ledger via smart contract; the full readings live in the database for fast queries. Verification means re-hashing a database record and comparing it with the on-chain hash — a mismatch proves the record was altered.
Project features
- Real-time temperature and humidity monitoring
- GPS-based shipment location tracking
- Automatic timestamped logistics data logging
- Blockchain-based tamper-resistant record storage through backend integration
- OLED display for live temperature and device status
- ESP32-based IoT connectivity and data processing
- Temperature threshold monitoring for cold-chain conditions
- Historical shipment and sensor-data tracking
What is included
Source code, circuit diagram, component information, project report, abstract, presentation, firmware configuration, backend/blockchain architecture guidance and basic setup support.
Limitations & prerequisites
- This is an academic prototype and not a certified pharmaceutical or industrial cold-chain monitoring device.
- DHT22 accuracy and response time are suitable for demonstration but may not meet regulated industrial cold-chain requirements.
- GPS reception may be weak or unavailable indoors, inside metal containers or in obstructed environments.
- Internet connectivity is required for real-time remote monitoring and blockchain logging.
- Blockchain records depend on successful backend and network communication.
- Battery operating time depends on GPS usage, Wi-Fi activity, transmission frequency and battery capacity.
- Hardware components may vary depending on availability.
- Blockchain network, cloud hosting, API, domain or third-party service charges are not included unless specifically agreed.
- Additional dashboards, mobile applications, GSM/4G communication or advanced analytics require separate customisation.
- Delivery time may change when additional hardware or software features are requested.
Components & software requirements
Hardware requirements:
ESP32 development board, NEO-6M GPS module, DHT22 temperature and humidity sensor, OLED display, LiPo battery, charging/power module, connecting wires, prototype base/enclosure and supporting electronic components.
Software requirements:
Arduino IDE or compatible ESP32 development environment, embedded firmware, backend/API service, database if historical records are required, and blockchain smart contract or blockchain service for immutable logging.
Required tools or applications:
Arduino IDE, web browser, serial monitor, backend development environment and compatible blockchain development/testing tools.
Delivery information
Built to order. Typical build time 3–4 weeks from order confirmation, including device assembly, smart-contract deployment on the agreed test ledger, dashboard setup, and a simulated shipment run to demonstrate excursion alerts and hash verification before dispatch.
Support terms
- 30 days of support over WhatsApp/email: device setup, dashboard access, and the hash-verification walkthrough.
- One video call to run a demo shipment and verify a temperature record against the blockchain.
- The report and PPT cover the system architecture, the hash-anchoring design, and the excursion-alert logic for viva.