|
| 1 | +# ⚙️ ResQTemp — Smart Temperature & Rescue Alert System |
| 2 | + |
| 3 | +**Course:** Computer Organization & Assembly Language (COAL) |
| 4 | +**Semester:** 3rd |
| 5 | +**Submitted To:** Prof. Ghulam Mustafa |
| 6 | +**Submitted By:** |
| 7 | +- 🧠 *Moavia Amir* (2k24_BSAI_72) — [📧 contactmuawia@gmail.com](mailto:contactmuawia@gmail.com) |
| 8 | +- ⚙️ *Muhammad Dawood* (2k24_BSAI_31) — [📧 muhammaddawood@vu.edu.pk](mailto:muhammad.dawood@vu.edu.pk) |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +## 📘 Project Overview |
| 13 | + |
| 14 | +**ResQTemp** is a microcontroller-based **smart temperature control and rescue alert system** integrating **Assembly-level programming** with **IoT and GSM communication**. |
| 15 | +It demonstrates how **low-level hardware control** (in Assembly) can synchronize with **modern IoT automation** to enhance safety and real-time monitoring. |
| 16 | + |
| 17 | +The project monitors temperature using an **LM35 sensor**, controls **fan and LED** responses, and triggers **rescue alerts via SMS and IoT dashboard** after a safety delay if overheating persists. |
| 18 | +Through an **ESP8266 web interface**, users can remotely view temperature data, device status, and location-based alerts in emergency mode. |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## 🧩 Problem Statement |
| 23 | + |
| 24 | +Conventional temperature monitoring systems lack **intelligent decision logic** and **remote visibility**. |
| 25 | +In industrial or laboratory environments, a delayed response to overheating can lead to serious equipment or safety issues. |
| 26 | + |
| 27 | +**ResQTemp** bridges this gap by merging: |
| 28 | +- **Precision hardware control** (Assembly-level logic) |
| 29 | +- **Smart IoT connectivity** |
| 30 | +- **Real-time rescue response** via automated SMS and web alerts |
| 31 | + |
| 32 | +--- |
| 33 | + |
| 34 | +## 🎯 Objectives |
| 35 | + |
| 36 | +- Implement a temperature monitoring system using Assembly language on Arduino. |
| 37 | +- Activate safety outputs (LED/Fan) when temperature crosses threshold. |
| 38 | +- Introduce a 15-second delay before triggering emergency mode (avoiding false alerts). |
| 39 | +- Send a **rescue SMS using SIM900A** and update IoT dashboard via ESP8266 after the delay. |
| 40 | +- Display live readings and system status on a hosted IoT web page. |
| 41 | +- Optionally share GPS/location data for emergency tracking. |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +## 🧠 System Overview |
| 46 | + |
| 47 | +| Component Type | Description | |
| 48 | +|----------------|-------------| |
| 49 | +| **Microcontroller** | Arduino UNO programmed in Assembly (COAL core) | |
| 50 | +| **Sensor** | LM35 – Temperature sensor (analog input) | |
| 51 | +| **Outputs** | LED indicator, Cooling Fan, Buzzer | |
| 52 | +| **IoT Module** | ESP8266 Wi-Fi Module | |
| 53 | +| **GSM Module** | SIM900A — sends rescue SMS automatically | |
| 54 | +| **Web Page** | HTML + CSS dashboard showing live data & alerts | |
| 55 | +| **Language Stack** | Assembly (Arduino), C++ (IoT & GSM logic), HTML/CSS (Web UI) | |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +## 🔬 Working Principle |
| 60 | + |
| 61 | +1. The **LM35 sensor** outputs an analog voltage proportional to temperature. |
| 62 | +2. Arduino executes **Assembly instructions** to: |
| 63 | + - Compare current temperature with threshold |
| 64 | + - Control fan/LED indicators |
| 65 | + - Start a **15-second timer** if overheating continues |
| 66 | +3. If temperature remains high after 15 seconds: |
| 67 | + - Arduino signals the **ESP8266** to update IoT dashboard |
| 68 | + - Arduino triggers the **SIM900A module** to send a **rescue SMS** to predefined numbers |
| 69 | +4. The ESP8266 dashboard displays: |
| 70 | + - Current temperature |
| 71 | + - System status: *Normal / Overheat / Rescue Mode* |
| 72 | +5. Users can monitor and control the system remotely via the IoT dashboard while receiving immediate SMS alerts. |
| 73 | + |
| 74 | +--- |
| 75 | + |
| 76 | +## 🧰 Hardware Requirements |
| 77 | + |
| 78 | +- Arduino UNO |
| 79 | +- LM35 Temperature Sensor |
| 80 | +- ESP8266 Wi-Fi Module |
| 81 | +- SIM900A GSM Module |
| 82 | +- LED, Fan, Buzzer |
| 83 | +- Breadboard, Jumper Wires, Resistors |
| 84 | +- Power Supply (5V) |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | +## 💻 Software Requirements |
| 89 | + |
| 90 | +- Arduino IDE |
| 91 | +- Assembly/C++ Compiler Support |
| 92 | +- HTML + CSS for Web Dashboard |
| 93 | +- Serial Monitor or Web Browser for live data |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +## 🚀 Expected Outcomes |
| 98 | + |
| 99 | +- Fully functional hardware prototype controlling temperature automatically. |
| 100 | +- Real-time monitoring via IoT dashboard hosted on ESP8266. |
| 101 | +- Automated **rescue SMS alerts** via SIM900A module. |
| 102 | +- Demonstration of Assembly-level timing and control accuracy. |
| 103 | +- Proof of concept for combining **COAL + IoT + GSM** principles. |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | +## 🔮 Future Enhancements |
| 108 | + |
| 109 | +- Add ultrasonic sensor for object detection. |
| 110 | +- Integrate camera module for live streaming. |
| 111 | +- Build a mobile app for remote monitoring. |
| 112 | +- Connect to platforms like **ThingSpeak** or **Blynk** for cloud storage. |
| 113 | + |
| 114 | +--- |
| 115 | + |
| 116 | +## 🧾 Folder Structure |
| 117 | + |
| 118 | +```txt |
| 119 | +COAL-ResQTemp/ |
| 120 | +│ |
| 121 | +├── assembly/ |
| 122 | +│ └── main.asm |
| 123 | +│ |
| 124 | +├── esp_web/ |
| 125 | +│ ├── index.html |
| 126 | +│ └── style.css |
| 127 | +│ |
| 128 | +├── circuits/ |
| 129 | +│ └── circuit_diagram.png |
| 130 | +│ |
| 131 | +├── RQT-Proposal.pdf |
| 132 | +├── RQT-Report.pdf |
| 133 | +└── README.md ← (this file) |
| 134 | +``` |
| 135 | +## 🧩 Learning Impact |
| 136 | + |
| 137 | +This project combines ***Computer Organization & Assembly Language*** concepts with ***IoT-based automation + GSM automation***, demonstrating: |
| 138 | + |
| 139 | ++ Real-world integration of low-level control and networked intelligence |
| 140 | + |
| 141 | ++ Strong understanding of hardware-software interfacing |
| 142 | + |
| 143 | ++ Application of COAL principles in modern embedded systems |
| 144 | + |
| 145 | +## 🏁 Conclusion |
| 146 | + |
| 147 | +***ResQTemp*** showcases the power of **combining Assembly programming** precision with **IoT and GSM innovation**. |
| 148 | +It reflects the **NFC IET vision** — merging faith, innovation, and engineering excellence to create impactful, **intelligent systems**. |
| 149 | + |
| 150 | +## 📫 Contact |
| 151 | + |
| 152 | +For collaboration or guidance, connect via: |
| 153 | + |
| 154 | +- [🌐 GitHub Profile](https://github.com/Muawiya-contact) |
| 155 | +- [🎥 YouTube Channel — Coding Moves](https://www.youtube.com/@Coding_Moves) |
| 156 | +- [📧 Email](mailto:contactmuawia@gmail.com) |
| 157 | + |
| 158 | +--- |
0 commit comments