Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
IoT Based Patient Health Monitoring System Using Blynk App
Just Do Electronics
January 27, 2022
Circuit Diagram :-
Just Scan And Download Mobile App :-
Code :-
//Prateek //www.prateeks.in // Youtube Link :- https://www.youtube.com/c/JustDoElectronics/videos #include
#include
#include
#define BLYNK_PRINT Serial #include
#include
#include
LiquidCrystal_I2C lcd(0x27, 16, 2); #include "DHT.h" #define DHTTYPE DHT11 char auth[] = "ptmBP4extGC_GSI0WGS9B3yokgyewpwt"; char ssid[] = "justdoelectronics"; char pass[] = "123456789"; SimpleTimer timer; #define ONE_WIRE_BUS 4 //D4 uint8_t DHTPin = 18; //D2 DHT dht(DHTPin, DHTTYPE); float Temperature; float Humidity; OneWire oneWire(ONE_WIRE_BUS); DallasTemperature DS18B20(&oneWire); float temp; void setup() { Serial.begin(115200); Blynk.begin(auth, ssid, pass); dht.begin(); DS18B20.begin(); timer.setInterval(1000L, getSendData); timer.setInterval(1000L, getSendData1); lcd.begin(); lcd.backlight(); } void loop() { timer.run(); Blynk.run(); } void getSendData() { Temperature = dht.readTemperature(); Humidity = dht.readHumidity(); Serial.print("Room Temperature: "); Serial.print(Temperature); Serial.println("°C"); Serial.print("Room Humidity: "); Serial.print(Humidity); Blynk.virtualWrite(V0, Temperature); Blynk.virtualWrite(V1, Humidity); lcd.setCursor(0, 0); lcd.print("T :"); lcd.print(Temperature); lcd.setCursor(0, 1); lcd.print("H :"); lcd.print(Humidity); } void getSendData1() { DS18B20.requestTemperatures(); temp = DS18B20.getTempCByIndex(0); Serial.println(temp); Blynk.virtualWrite(V2, temp); //virtual pin V10 lcd.setCursor(9, 0); lcd.print("T :"); lcd.print(temp); lcd.print(" "); }
Video :-
0 Comments
Newer
Older
ESP32 Led Blink With Push Button
ESP32 Interfacing With LDR Sensor
How To Make RFID & Keypad Based Door Lock
ESP32 Interfacing With Ultrasonic Sensor
ESP32 And Fingerprint Sensor Based Biometric Door Lock Security System
Door Lock Security System Using Arduino
How to Make Gas Leak Detector & Auto Exhaust Fan Using Arduino
Vehicle Accident Alert System Using Accelerometer GPS And GSM
NRF Based Servo Motor Control
Plant Watering System With The ESP8266 | Blynk App
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments