punroon13
Published

First Step for Newbie: The Humidity Box

This project is for you newbies. I think this one will be great for you.

BeginnerShowcase (no instructions)324
First Step for Newbie: The Humidity Box

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
LED (generic)
LED (generic)
green one
×1
paper box
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

humidity_box_Co5zxB18DU.fzz

Code

dht11 humidity box

C/C++
it is a humidity sensor that you can buy it anywhere
#include<dht.h>
dht DHT;

// if you require to change the pin number, Edit the pin with your arduino pin.

#define DHT11_PIN 3

void setup() {
pinMode(12,OUTPUT);

Serial.begin(9600);

Serial.println("welcome to TechPonder Humidity and temperature Detector"); }

void loop() { // READ DATA

int chk = DHT.read11(DHT11_PIN);

Serial.println(" Humidity " );

Serial.println(DHT.humidity, 1);

Serial.println(" Temparature ");

Serial.println(DHT.temperature, 1);

delay(2000);

digitalWrite(12,HIGH);
delay(100);
digitalWrite(12,LOW);
delay(100);




}

Credits

punroon13

punroon13

1 project • 2 followers

Comments