Education

Education

Education

Humidity and Temperature Sensor

Robo Explorers

The DHT11 Temperature and humidity sensor is integrated in the Blue Elixir Board which measures the temperature and humidity around us!

It is linked with a DPDT switch which we also used before in our Yellow Tyro Board and while activating the Ultrasonic sensor.

Here is how The DHT11 sensor is integrated in the arduino code:



#include <dht11.h> // WEINCLUDE THE DHT11 LIBRARY DEVELOPED BY ARDUINO

dht11 DHT;
#define DHT11_PIN 11 // THE SENSOR IS CONNECTED TO THE D11 PIN OF ARDUINO

void setup() {
  Serial.begin(9600); 

}

void loop() {

  int chk = DHT.read(DHT11_PIN); //HERE WE READ FROM THE SENSOR

}

Learn from a Professional

Book a Class

Socials

info.jumplabs@gmail.com

Call Us

+4550142069

+919560372931

Damgade 82, 6400 Sønderborg

© Jumplabs Inc. 2023

Reach out to Us

Socials

info.jumplabs@gmail.com

Call Us

+4550142069

+919560372931

Damgade 82, 6400 Sønderborg

© Jumplabs Inc. 2023

Reach out to Us