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>
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);
}