Daini
Published © CC BY-SA

Wireless Temperature monitoring Using DHT-11

How to make Wireless Temperature monitoring Using DHT-11

IntermediateFull instructions provided2 hours7,267
Wireless Temperature monitoring Using DHT-11

Things used in this project

Hardware components

HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Arduino Nano R3
Arduino Nano R3
×1
DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic

Code

Programming

Arduino
#include <SoftwareSerial.h>
SoftwareSerial bt(8, 9); // RX, TX
#include "dht.h"
#define dataPin 3

dht DHT;

int temp;
int hum;

void setup() {
 
 Serial.begin(9600); 
 bt.begin(9600); 
 Serial.println("Ready");
  
}

void loop(){
  int readData = DHT.read11(dataPin);

  hum = DHT.humidity;
  temp = DHT.temperature;

 bt.print(temp); 
 bt.print(";");
 bt.print(hum);  
 bt.println(";");
  
  delay(10000);
}

Credits

Daini

Daini

31 projects • 16 followers

Comments