#include <WiFi.h>
#include <HTTPClient.h>
const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASSWORD";
String serverUrl = "http://YOUR_N8N_WEBHOOK_URL";
int flexPins[5] = {34, 35, 32, 33, 36};
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting...");
}
Serial.println("Connected to WiFi");
}
void loop() {
int sensorData[5];
for (int i = 0; i < 5; i++) {
sensorData[i] = analogRead(flexPins[i]);
}
String jsonData = "{";
jsonData += "\"f1\":" + String(sensorData[0]) + ",";
jsonData += "\"f2\":" + String(sensorData[1]) + ",";
jsonData += "\"f3\":" + String(sensorData[2]) + ",";
jsonData += "\"f4\":" + String(sensorData[3]) + ",";
jsonData += "\"f5\":" + String(sensorData[4]);
jsonData += "}";
if (WiFi.status() == WL_CONNECTED) {
HTTPClient http;
http.begin(serverUrl);
http.addHeader("Content-Type", "application/json");
int response = http.POST(jsonData);
Serial.println(response);
http.end();
}
delay(3000);
}
AI Function Node -> Telegram Node -> Google Sheets
Example AI Logic:
if (f1 > 2000 && f2 < 1500) => HELLO
if (f3 > 2000) => HELP
-----------------------------------------------------------
TELEGRAM BOT SETUP
-----------------------------------------------------------
Steps:
1. Open Telegram
2. Search BotFather
3. Create bot using /newbot
4. Get API Token
5. Connect token in n8n Telegram Node
-----------------------------------------------------------
GOOGLE SHEETS STRUCTURE
-----------------------------------------------------------
Columns:
Timestamp | Gesture | F1 | F2 | F3 | F4 | F5
-----------------------------------------------------------
THINGSPEAK SETUP
-----------------------------------------------------------
Channel Fields:
Field1 = Gesture
Field2 = Sensor Average
API Example:
https://api.thingspeak.com/update?api_key=YOUR_KEY&field1=HELLO
-----------------------------------------------------------
AI POWER PREDICTION LOGIC
-----------------------------------------------------------
Formula:
Power = Base + (Sensor Load × Transmission Factor)
Example:
function predictPower($gesturesPerMin) {
$base = 0.5;
$tx = 0.2 * $gesturesPerMin;
return $base + $tx;
}
-----------------------------------------------------------
VOICE NOTIFICATION FLOW
-----------------------------------------------------------
Gesture -> Text -> TTS Engine -> Audio -> Telegram Voice Message
-----------------------------------------------------------
FUTURE ENHANCEMENTS
-----------------------------------------------------------
- CNN-based sign recognition
- Camera-based gesture detection
- MQTT instead of HTTP
- Edge AI on ESP32-S3
- Mobile app dashboard
-----------------------------------------------------------
END OF PROJECT FILE
-----------------------------------------------------------
*/
?>
If you want, I can also convert this into:
🌐 Fully working PHP website dashboard (live IoT panel)
📊 Real-time web dashboard with charts (ThingSpeak + JS)
📱 Mobile-friendly UI version
⚡ Complete GitHub project structure
Just tell me 👍
SVSEmbedded will do new innovative thoughts. Any latest idea will comes we will take that idea & implement that idea in a few days. We always encourage the students to take good ideas/projects. SVSEmbedded providing latest innovative electronics projects to B.E/B.Tech/M.E/M.Tech students. We developed thousands of projects for engineering student to develop their skills in electrical and electronics
Thursday, 18 June 2026
AI-Based Sign Language to Speech Conversion System
AI-Based Smart ATM Security System with Face Recognition
🚀 AI-Based Smart ATM Security System
ESP32 + Face Recognition + IoT + n8n Automation + Telegram Alerts
📌 Project Overview
This system uses ESP32-CAM with AI-based face recognition to secure ATM access. It integrates IoT cloud platforms, Telegram alerts, Google Sheets logging, and n8n automation workflows.
🧰 Components List
- ESP32-CAM module
- FTDI Programmer
- PIR Motion Sensor
- Buzzer
- Relay Module
- Power Supply
🔌 Circuit Connections
PIR Sensor → GPIO 13
Buzzer → GPIO 12
Relay → GPIO 14
FTDI TX → U0R
FTDI RX → U0T
VCC → 5V
GND → GND
🔄 System Flow
Motion Detected → Capture Face → AI Verification
↓
Authorized → Grant Access
Unauthorized → Trigger Alarm + Send Alerts
↓
Log to Google Sheets + ThingSpeak
↓
n8n Automation → Telegram Notification
💻 ESP32 Sample Code
#include "esp_camera.h" #includeconst char* ssid = "YOUR_WIFI"; const char* password = "YOUR_PASS"; void setup() { Serial.begin(115200); WiFi.begin(ssid, password); } void loop() { Serial.println("Monitoring ATM..."); delay(2000); }
⚙️ n8n Automation Flow
Webhook Trigger → Telegram Alert → Google Sheets → ThingSpeak Update
📲 Telegram Bot Setup
Create Bot via BotFather: /newbot API Format: https://api.telegram.org/bot/sendMessage
☁️ ThingSpeak Setup
https://api.thingspeak.com/update?api_key=API_KEY&field1=1
🧠 AI Power Prediction
if motion_events > 50:
power = "HIGH"
elif motion_events > 20:
power = "MEDIUM"
else:
power = "LOW"
🚀 Future Enhancements
- DeepFace AI recognition
- Anti-spoofing detection
- Mobile app dashboard
- Blockchain security logs
AI-Based Smart Battery Management System for EV Applications
🚀 AI-Based Smart Battery Management System for EV Applications
📌 Project Overview
This project is an AI-powered Smart Battery Management System using ESP32, IoT cloud platforms, n8n automation, Telegram alerts, Google Sheets logging, and ThingSpeak dashboard for EV applications.
⚡ System Architecture
ESP32 Sensors → WiFi → ThingSpeak / n8n Webhook → AI Processing → Decision Engine → Telegram Alerts → Google Sheets Logging
🔋 Components List
- ESP32 Microcontroller
- Voltage Sensor Module
- Current Sensor (INA219 / ACS712)
- Temperature Sensor
- Relay Module
- OLED Display (optional)
- Battery Pack
🔌 Circuit Diagram (Text)
Battery → Voltage Sensor → ESP32 GPIO34 Current Sensor → I2C (SDA/SCL) Temperature Sensor → GPIO 4 Relay → GPIO 26 Buzzer → GPIO 27
💻 ESP32 Code
#include <WiFi.h>
#include <HTTPClient.h>
const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASSWORD";
String server = "http://api.thingspeak.com/update?api_key=YOUR_KEY";
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
}
void loop() {
float voltage = analogRead(34);
float current = analogRead(35);
float temp = analogRead(32);
if(WiFi.status() == WL_CONNECTED){
HTTPClient http;
String url = server +
"&field1=" + String(voltage) +
"&field2=" + String(current) +
"&field3=" + String(temp);
http.begin(url);
http.GET();
http.end();
}
delay(5000);
}
⚙️ n8n Automation Flow
Webhook → IF Condition (Battery Check) → Telegram Alert → Google Sheets Log
📲 Telegram Bot Setup
- Create bot using BotFather
- Get API Token
- Use token in n8n Telegram node
- Get Chat ID from getUpdates API
📊 Google Sheets Integration
Store real-time battery data such as voltage, current, temperature, SOC, and alerts.
☁️ ThingSpeak Dashboard
Used for real-time IoT visualization of EV battery parameters using channels and API keys.
🤖 AI Logic
Power = Voltage × Current If Temp > 45°C → Warning If Voltage < 11V → Critical Alert SOC = (Current / Capacity) × 100
🔊 Voice Alert System
Telegram + AI Text-to-Speech system sends voice alerts when battery is critical.
🚀 Future Enhancements
- Machine Learning Battery Prediction
- Mobile App Dashboard
- GPS Tracking System
- Edge AI on ESP32
📦 Deployment Steps
- Upload ESP32 code
- Configure WiFi
- Setup n8n workflow
- Connect Telegram Bot
- Enable ThingSpeak channel
- Connect Google Sheets
AI-Based Smart Bus Tracking and Passenger Monitoring System
🚍 AI-Based Smart Bus Tracking System
ESP32 + IoT + AI + n8n + Telegram + Google Sheets + ThingSpeak
Last Updated:
📌 Project Overview
This system uses ESP32 to track bus location, monitor passengers, predict power usage using AI logic and send alerts via Telegram.
🧠 Key Features
- Live GPS Tracking
- Passenger Counting System
- AI Power Prediction
- Cloud Dashboard (ThingSpeak)
- Google Sheets Logging
- Telegram Voice Alerts via n8n
🔧 Components Used
- ESP32 Board
- NEO-6M GPS Module
- IR Sensors (2)
- ACS712 Current Sensor
- DHT11 Sensor
- Buzzer
📡 System Architecture
Sensors → ESP32 → Cloud (ThingSpeak / Google Sheets)
↓
n8n Automation
↓
Telegram Voice Alerts + Dashboard
📊 AI Prediction Formula
Power Prediction:
P = (0.5 × Temperature) + (0.8 × Passenger Count) + (0.3 × Current)
🚨 Alert System Logic
if (passengerCount > 40) {
sendTelegramAlert("Overcrowding detected!");
}
📥 ESP32 Data Flow
GPS → Latitude, Longitude
IR Sensors → Passenger Count
DHT11 → Temperature
ACS712 → Power Usage
All data → ThingSpeak + Google Sheets
🤖 n8n Automation Flow
Webhook Trigger
↓
Check Passenger Limit
↓
Generate Alert Message
↓
Send Telegram Voice Notification
↓
Store Data in Google Sheets
📲 Telegram Integration
BotFather → Create Bot Get Token Send API Request: https://api.telegram.org/bot/sendMessage
☁️ ThingSpeak Setup
Channel Fields:
Field1 → Latitude
Field2 → Longitude
Field3 → Passenger Count
Field4 → Temperature
Field5 → Power Prediction
📈 Future Enhancements
- AI Camera Passenger Detection
- Mobile App Integration
- Face Recognition for Driver
- Smart Ticketing System
- Edge AI (TinyML on ESP32)
🏁 Conclusion
This project is a complete AI-powered IoT transportation system combining ESP32, cloud computing, automation, and real-time analytics for smart city applications.
AI-Based Smart Flood Detection and Early Warning System
AI-Based Smart Healthcare Assistant Chatbot with IoT Sensors
"; /* ===================================================== */ echo "1. Project Overview
"; echo "This project is an AI-powered Smart Healthcare Monitoring System using:
- ESP32 Microcontroller
- MAX30102 Heart Rate & SpO2 Sensor
- DHT22 Temperature & Humidity Sensor
- ThingSpeak Cloud Dashboard
- n8n Automation
- Telegram Bot Alerts
- Google Sheets Logging
- Voice Notification System
2. Components List
"; echo "| Component | Quantity | Purpose |
|---|---|---|
| ESP32 Dev Board | 1 | Main Controller |
| MAX30102 Sensor | 1 | Heart Rate & SpO2 Monitoring |
| DHT22 Sensor | 1 | Temperature & Humidity |
| OLED Display | 1 | Display Sensor Data |
| Buzzer | 1 | Emergency Alert |
| LEDs | 2 | Status Indicators |
| Breadboard | 1 | Circuit Prototyping |
| Jumper Wires | Several | Connections |
3. Circuit Connections
"; echo "| Sensor | ESP32 Pin |
|---|---|
| DHT22 DATA | GPIO4 |
| MAX30102 SDA | GPIO21 |
| MAX30102 SCL | GPIO22 |
| Buzzer | GPIO18 |
| OLED SDA | GPIO21 |
| OLED SCL | GPIO22 |
4. System Flowchart
"; echo "↓
Initialize ESP32
↓
Connect WiFi
↓
Read Sensor Data
↓
Analyze Health Conditions
↓
Upload to ThingSpeak
↓
Send Data to n8n
↓
Store in Google Sheets
↓
Check Alert Conditions
↓
Send Telegram Voice Alert
↓
Repeat Loop
5. ESP32 Arduino Source Code
"; echo "#include <HTTPClient.h>
#include "ThingSpeak.h"
#include "DHT.h"
const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASSWORD";
WiFiClient client;
unsigned long channelID = YOUR_CHANNEL_ID;
const char* writeAPIKey = "YOUR_API_KEY";
#define DHTPIN 4
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
float temperature;
float humidity;
int heartRate = 78;
int spo2 = 97;
void setup(){
Serial.begin(115200);
WiFi.begin(ssid, password);
while(WiFi.status() != WL_CONNECTED){
delay(1000);
Serial.println("Connecting...");
}
ThingSpeak.begin(client);
dht.begin();
}
void loop(){
temperature = dht.readTemperature();
humidity = dht.readHumidity();
ThingSpeak.setField(1, temperature);
ThingSpeak.setField(2, humidity);
ThingSpeak.setField(3, heartRate);
ThingSpeak.setField(4, spo2);
ThingSpeak.writeFields(channelID, writeAPIKey);
delay(15000);
}
6. ThingSpeak Setup
"; echo "- Create ThingSpeak Account
- Create New Channel
- Add 4 Fields
- Copy Channel ID
- Copy Write API Key
- Paste into ESP32 Code
7. Telegram Bot Setup
"; echo "- Open Telegram
- Search BotFather
- Type /newbot
- Enter Bot Name
- Enter Username
- Copy Bot Token
8. n8n Workflow
"; echo "Workflow Process:
↓
Receive Sensor Data
↓
Save to Google Sheets
↓
Analyze Data
↓
IF abnormal condition
↓
Send Telegram Alert
↓
Generate Voice Notification
9. Google Sheets Integration
"; echo "| Column | Description |
|---|---|
| Timestamp | Date and Time |
| Temperature | Body Temperature |
| Humidity | Humidity Value |
| Heart Rate | BPM Value |
| SpO2 | Oxygen Level |
10. AI Power Prediction Logic
"; echo "AI adjusts upload frequency based on battery percentage.
| Battery Level | Action |
|---|---|
| > 70% | Upload every 15 seconds |
| 40% - 70% | Upload every 1 minute |
| < 40% | Deep Sleep Mode |
11. Voice Notification Automation
"; echo "Voice alerts are generated using:
- Google Text-to-Speech API
- Telegram Audio Messages
- n8n Automation
Patient oxygen level is critically low.
Please seek medical assistance.
12. Future Enhancements
"; echo "- Machine Learning Health Prediction
- Firebase Integration
- Mobile App Dashboard
- GPS Tracking
- ECG Monitoring
- Cloud AI Analytics
13. Deployment Applications
"; echo "| Application | Use Case |
|---|---|
| Hospitals | Patient Monitoring |
| Elderly Care | Remote Health Tracking |
| Fitness Monitoring | Health Analytics |
| Rural Healthcare | Remote Diagnostics |
14. Conclusion
"; echo "This AI-Based Smart Healthcare Assistant combines:
- IoT
- AI
- Cloud Computing
- Automation
- Healthcare Analytics
The system provides real-time monitoring, AI predictions, Telegram alerts, cloud dashboards, and automated healthcare assistance.
"; echo "


