tehcwan_canel
Published © LGPL

Temp & Humidity DHT11, Weather monitoring in Mobile App

Monitoring temperature and humidity in our home using DHT11 via bluetooth hc-05

AdvancedFull instructions provided4,646
Temp & Humidity DHT11, Weather monitoring in Mobile App

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
DHT11 Temperature & Humidity Sensor (3 pins)
DHT11 Temperature & Humidity Sensor (3 pins)
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Mobile Phone
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Android Studio
Android Studio

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Schematics

Schematic Components

Pin may not same with actual program, sorry. i dont have schematic software.

Code

DHT11

Arduino
Arduino program that send value of DHT11 via bluetooth to Mobile application
#include <dht.h>
#include <LiquidCrystal_I2C.h>
#include <Wire.h> 
dht DHT;

LiquidCrystal_I2C lcd(0x27,20,4);  // set the LCD address to 0x27 for a 16 chars and 2 line display

#define DHT11_PIN 7

void setup() {
  // put your setup code here, to run once:

  Serial.begin(9600);
  lcd.init();                      // initialize the lcd 
  lcd.backlight();
  lcd.begin(16,2);

}

void loop() {
  // put your main code here, to run repeatedly:

  int chk = DHT.read11(DHT11_PIN);
  lcd.setCursor(0,0); 
  lcd.print("Temp    :");
  lcd.print(DHT.temperature);
  lcd.print((char)223);
  lcd.print("C");
  lcd.setCursor(0,1);
  lcd.print("Humidity:");
  lcd.print(DHT.humidity);
  lcd.print("%");

  Serial.print(DHT.temperature);
  Serial.print("+");
  Serial.print(DHT.humidity);
  Serial.println();
  
  delay(1000);
  

}

Credits

tehcwan_canel
0 projects • 1 follower

Comments