Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 3.7 KB

File metadata and controls

72 lines (50 loc) · 3.7 KB

🧊 Telemetry-Based Smart Cold Storage System

✨ Project Overview

This project implements a Telemetry-Based Smart Cold Storage System using the ESP32 microcontroller and the Blynk IoT Platform. The goal is to provide real-time environmental monitoring and automated thermal control for preserving perishable goods, making it suitable for small-scale and rural storage applications.

The system acts as a network node, wirelessly collecting data and exchanging it with the Blynk cloud through a TCP/IP client-server model, ensuring continuous, remote control capability.

Key Features

  • Real-Time Telemetry: Continuous monitoring of temperature and humidity, with data transmitted via Wi-Fi (IEEE 802.11) to the cloud.
  • Automated Cooling: A Peltier cooling module is controlled by a threshold-based feedback mechanism.
  • Remote Threshold Setting: The user can remotely set the desired temperature threshold via the Blynk mobile application.
  • Local Interface: An LCD provides immediate status updates and local situational awareness.
  • Cost-Effective Design: Achieves advanced automation using accessible hardware components.

🛠️ Technology Stack & Hardware

Component Type Specific Component Function
Microcontroller ESP32 Dev Board Central control unit, manages Wi-Fi and control logic.
IoT Platform Blynk Cloud service for remote data display, control, and alerts.
Sensor DHT11 Measures ambient temperature and humidity.
Actuator Peltier Cooling Module Provides the necessary cooling to regulate temperature.
Driver L298N Motor Driver Controls the direction and power supplied to the Peltier module.
Display I2C LCD Provides local display of current status and values.
Software Arduino IDE (C/C++) Programming environment for the ESP32.

⚙️ Setup and Implementation

1. Circuit/PCB Connections

(Note: You will need to replace the placeholder pins below with the actual pins used in your Arduino code.)

Component Pin on ESP32 Purpose
DHT11 Data Pin [Specific GPIO Pin] Sensor input for environmental data.
L298N Input 1 [Specific GPIO Pin] Digital control for turning the Peltier ON/OFF.
I2C LCD GPIO 21 (SDA) / GPIO 22 (SCL) Standard pins for I2C communication.

2. Software Prerequisites

Ensure you have the following installed in your Arduino IDE:

  • ESP32 Board Package installed via the Board Manager.
  • Required Libraries installed via the Library Manager:
    • Blynk
    • DHT sensor library
    • LiquidCrystal_I2C

3. Blynk App Configuration

  1. Create a new project in the Blynk app to obtain your unique Auth Token.
  2. Set up the following key widgets in your dashboard:
    • Gauge/Display: To display Temperature (linked to Virtual Pin V2).
    • Gauge/Display: To display Humidity (linked to Virtual Pin V3).
    • Slider Widget: To allow the user to set the desired threshold temperature (linked to Virtual Pin V4).
    • LED/Indicator: To show the Cooling System Status (linked to Virtual Pin V6).

4. Code Configuration

Before uploading the code (.ino file), you must update the following three lines with your specific credentials:

#define BLYNK_AUTH_TOKEN "YOUR_BLYNK_AUTH_TOKEN" // <-- Replace with your token from the Blynk app

char ssid[] = "YOUR_WIFI_NETWORK_NAME";        // <-- Replace with your Wi-Fi name
char pass[] = "YOUR_WIFI_PASSWORD";            // <-- Replace with your Wi-Fi password