

The MKE-S14_DHT11 is a digital temperature and humidity sensor manufactured by MakerEdu.vn (Part ID: Sensor). It is designed to provide accurate and reliable measurements of environmental conditions, including temperature and relative humidity. The DHT11 features a single-wire digital interface, making it easy to integrate into microcontroller-based projects. Its compact size and low power consumption make it ideal for a wide range of applications.








The following table outlines the key technical details of the MKE-S14_DHT11 sensor:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5.5V |
| Operating Current | 0.3 mA (measuring), 60 µA (standby) |
| Temperature Range | 0°C to 50°C |
| Temperature Accuracy | ±2°C |
| Humidity Range | 20% to 90% RH |
| Humidity Accuracy | ±5% RH |
| Sampling Period | 1 second |
| Communication Interface | Single-wire digital |
| Dimensions | 15.5mm x 12mm x 5.5mm |
The MKE-S14_DHT11 sensor has four pins, as described in the table below:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply pin (3.3V to 5.5V) |
| 2 | DATA | Single-wire digital data output |
| 3 | NC | Not connected (leave unconnected or floating) |
| 4 | GND | Ground pin (connect to the ground of the circuit) |
Below is an example of how to use the MKE-S14_DHT11 sensor with an Arduino UNO. This code uses the popular DHT library.
#include <DHT.h>
// Define the pin connected to the DATA pin of the DHT11 sensor
#define DHTPIN 2
// Define the type of DHT sensor (DHT11 in this case)
#define DHTTYPE DHT11
// Initialize the DHT sensor
DHT dht(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(9600); // Start the serial communication
dht.begin(); // Initialize the DHT sensor
Serial.println("MKE-S14_DHT11 Sensor Initialized");
}
void loop() {
delay(2000); // Wait 2 seconds between readings
// Read temperature and humidity values
float humidity = dht.readHumidity();
float temperature = dht.readTemperature();
// Check if the readings are valid
if (isnan(humidity) || isnan(temperature)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
// Print the readings to the Serial Monitor
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.print(" %\t");
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
}
No Data Output
Inaccurate Readings
"Failed to Read from DHT Sensor" Error
Q: Can the DHT11 measure negative temperatures?
A: No, the DHT11 can only measure temperatures in the range of 0°C to 50°C.
Q: Can I use the DHT11 with a 3.3V microcontroller?
A: Yes, the DHT11 operates within a voltage range of 3.3V to 5.5V, making it compatible with 3.3V systems.
Q: Do I need an external library to use the DHT11 with Arduino?
A: While you can write your own code, it is recommended to use the DHT library for simplicity and reliability.
Q: What is the purpose of the NC pin?
A: The NC (Not Connected) pin is unused and can be left floating or unconnected.
By following this documentation, you can effectively integrate the MKE-S14_DHT11 sensor into your projects and troubleshoot common issues with ease.