. SmartElectronicsDIY: (Arduino / ESP8266 | IoT | Smart Water Management)

Automatic Fire Detection Suppression System(Arduino Uno | Embedded + Safety System)

This system automatically detects fire using flame and smoke sensors and activates a water pump to suppress it. At the same time, it triggers an alarm and can send alerts (optional GSM/IoT).

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Showing posts with label (Arduino / ESP8266 | IoT | Smart Water Management). Show all posts
Showing posts with label (Arduino / ESP8266 | IoT | Smart Water Management). Show all posts

Miniature IoT Water TDS & Level Monitor Cum Controller (Arduino / ESP8266 | IoT | Smart Water Management))

 Title:

👉 IoT Based Water TDS and Level Monitoring with Automatic Pump Controller

Objective:
To continuously monitor water quality (TDS) and water level, display values locally and on mobile/cloud, and automatically control a water pump based on level & quality thresholds.

Why this project matters:


2️⃣ SYSTEM FEATURES

✅ Real-time TDS (ppm) monitoring
✅ Water level sensing (Low / Medium / High)
Automatic motor ON/OFF
IoT dashboard (Blynk / ThingSpeak)
✅ Mobile alerts
✅ Compact miniature working model


3️⃣ BLOCK DIAGRAM 



4️⃣ HARDWARE REQUIREMENTS

ComponentQuantity
ESP8266 NodeMCU (recommended)1
TDS Sensor Module1
Water Level Sensor (or Float Switch)1
Relay Module (5V)1
Mini Water Pump1
16x2 LCD (I2C)1
Jumper WiresAs needed
5V Power Supply1
Mini Tank / Bottle1

5️⃣ PIN CONNECTIONS (NodeMCU)

🔌 TDS Sensor

TDS ModuleNodeMCU
AOA0
VCC3.3V
GNDGND

🔌 Water Level Sensor

SensorNodeMCU
SignalD5
VCC3.3V
GNDGND

🔌 Relay Module

RelayNodeMCU
IND6
VCCVIN
GNDGND

🔌 LCD (I2C)

LCDNodeMCU
SDAD2
SCLD1

6️⃣ WORKING LOGIC

  • If Water Level LOW → Pump ON

  • If Water Level HIGH → Pump OFF

  • If TDS > Limit (e.g. 500 ppm) → Alert

  • Data sent to IoT App


7️⃣ ARDUINO / ESP8266 CODE (FULL)

#define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> #include <LiquidCrystal_I2C.h> char auth[] = "Your_Blynk_Auth"; char ssid[] = "WiFi_Name"; char pass[] = "WiFi_Password"; LiquidCrystal_I2C lcd(0x27, 16, 2); #define TDS_PIN A0 #define LEVEL_PIN D5 #define RELAY_PIN D6 int tdsValue = 0; void setup() { Serial.begin(9600); pinMode(LEVEL_PIN, INPUT); pinMode(RELAY_PIN, OUTPUT); digitalWrite(RELAY_PIN, HIGH); lcd.init(); lcd.backlight(); Blynk.begin(auth, ssid, pass); } void loop() { Blynk.run(); int level = digitalRead(LEVEL_PIN); tdsValue = analogRead(TDS_PIN); int ppm = map(tdsValue, 0, 1023, 0, 1000); lcd.setCursor(0,0); lcd.print("TDS:"); lcd.print(ppm); lcd.print(" ppm "); lcd.setCursor(0,1); if(level == LOW){ lcd.print("Tank: LOW "); digitalWrite(RELAY_PIN, LOW); } else { lcd.print("Tank: FULL "); digitalWrite(RELAY_PIN, HIGH); } Blynk.virtualWrite(V0, ppm); Blynk.virtualWrite(V1, level); delay(1000); }

8️⃣ IoT MOBILE APP (BLYNK)

Widgets:

  • Gauge → TDS Value (V0)

  • LED → Water Level (V1)

  • Button → Manual Pump Control (optional)