Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use KY-025: Examples, Pinouts, and Specs

Image of KY-025
Cirkit Designer LogoDesign with KY-025 in Cirkit Designer

Introduction

The KY-025 is a temperature and humidity sensor module that integrates the DHT11 sensor. It is designed to measure environmental temperature and relative humidity, providing digital output for easy interfacing with microcontrollers and other digital systems. The module is widely used in weather stations, home automation systems, and industrial monitoring applications due to its simplicity and reliability.

Explore Projects Built with KY-025

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
Image of padelpro transmitter: A project utilizing KY-025 in a practical application
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Bluetooth-Controlled Flame Detection System with Servo Actuation
Image of apv circuit 1: A project utilizing KY-025 in a practical application
This circuit uses an Arduino Mega 2560 to monitor four KY-026 flame sensors and control four micro servo motors. The HC-05 Bluetooth module allows for wireless communication, enabling remote monitoring and control of the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wireless Joystick-Controlled Interface with Arduino Nano and NRF24L01
Image of Transmitter 11: A project utilizing KY-025 in a practical application
This circuit features an Arduino Nano interfaced with a KY-023 Dual Axis Joystick Module for analog input, and an NRF24L01 module for wireless communication. The joystick provides x and y-axis control signals to the Arduino's analog inputs and a switch signal to a digital input, while the NRF24L01 enables the Arduino to communicate with other devices wirelessly. The 2x 18650 batteries supply power to the Arduino, which in turn powers the joystick and the NRF24L01 module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Joystick Interface with LCD Feedback and Audio Alert
Image of 우주게임: A project utilizing KY-025 in a practical application
This circuit features an Arduino UNO microcontroller connected to a KY-023 Dual Axis Joystick Module, an I2C LCD 16x2 Screen, a Piezo Speaker, and a Pushbutton. The joystick provides two analog inputs to the Arduino for X and Y axis control, while the pushbutton is connected to a digital input for user interaction. The LCD screen displays information via I2C communication, and the Piezo Speaker is driven by a digital output from the Arduino for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with KY-025

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of padelpro transmitter: A project utilizing KY-025 in a practical application
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of apv circuit 1: A project utilizing KY-025 in a practical application
Arduino Mega 2560 Bluetooth-Controlled Flame Detection System with Servo Actuation
This circuit uses an Arduino Mega 2560 to monitor four KY-026 flame sensors and control four micro servo motors. The HC-05 Bluetooth module allows for wireless communication, enabling remote monitoring and control of the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Transmitter 11: A project utilizing KY-025 in a practical application
Wireless Joystick-Controlled Interface with Arduino Nano and NRF24L01
This circuit features an Arduino Nano interfaced with a KY-023 Dual Axis Joystick Module for analog input, and an NRF24L01 module for wireless communication. The joystick provides x and y-axis control signals to the Arduino's analog inputs and a switch signal to a digital input, while the NRF24L01 enables the Arduino to communicate with other devices wirelessly. The 2x 18650 batteries supply power to the Arduino, which in turn powers the joystick and the NRF24L01 module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 우주게임: A project utilizing KY-025 in a practical application
Arduino UNO Controlled Joystick Interface with LCD Feedback and Audio Alert
This circuit features an Arduino UNO microcontroller connected to a KY-023 Dual Axis Joystick Module, an I2C LCD 16x2 Screen, a Piezo Speaker, and a Pushbutton. The joystick provides two analog inputs to the Arduino for X and Y axis control, while the pushbutton is connected to a digital input for user interaction. The LCD screen displays information via I2C communication, and the Piezo Speaker is driven by a digital output from the Arduino for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Weather monitoring systems
  • Home automation (e.g., HVAC control)
  • Greenhouse and agricultural monitoring
  • Industrial environmental monitoring
  • Educational projects and prototyping

Technical Specifications

The KY-025 module is built around the DHT11 sensor and includes additional circuitry for stable operation. Below are the key technical details:

Key Specifications:

Parameter Value
Operating Voltage 3.3V to 5.5V
Operating Current 0.3mA (measuring), 60µA (idle)
Temperature Range 0°C to 50°C
Temperature Accuracy ±2°C
Humidity Range 20% to 90% RH
Humidity Accuracy ±5% RH
Output Signal Digital (single-wire protocol)
Sampling Period ≥2 seconds

Pin Configuration:

The KY-025 module has three pins for interfacing. Below is the pinout description:

Pin Name Description
VCC Power supply input (3.3V to 5.5V)
GND Ground
OUT Digital output for temperature and
humidity data

Usage Instructions

The KY-025 module is straightforward to use and can be easily interfaced with microcontrollers like Arduino. Below are the steps to use the module in a circuit:

Steps to Use:

  1. Connect the Pins:

    • Connect the VCC pin to the 5V (or 3.3V) power supply of your microcontroller.
    • Connect the GND pin to the ground of your microcontroller.
    • Connect the OUT pin to a digital input pin on your microcontroller.
  2. Install Required Libraries:

    • If using Arduino, install the DHT library from the Arduino Library Manager. This library simplifies communication with the DHT11 sensor.
  3. Write and Upload Code:

    • Use the example code below to read temperature and humidity data from the KY-025 module.

Example Arduino Code:

#include <DHT.h>

// Define the pin connected to the KY-025 OUT pin
#define DHTPIN 2

// Define the sensor type (DHT11 for KY-025)
#define DHTTYPE DHT11

// Initialize the DHT sensor
DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(9600); // Start serial communication at 9600 baud
  dht.begin();        // Initialize the DHT sensor
  Serial.println("KY-025 Temperature and Humidity Sensor");
}

void loop() {
  delay(2000); // Wait at least 2 seconds between readings

  // Read temperature and humidity
  float humidity = dht.readHumidity();
  float temperature = dht.readTemperature();

  // Check if readings are valid
  if (isnan(humidity) || isnan(temperature)) {
    Serial.println("Failed to read from DHT sensor!");
    return;
  }

  // Print the results to the Serial Monitor
  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.print(" %\t");
  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" °C");
}

Important Considerations:

  • Ensure the module is powered within its operating voltage range (3.3V to 5.5V).
  • The DHT11 sensor has a sampling period of at least 2 seconds. Avoid reading data more frequently.
  • Place the sensor in an environment free from condensation or direct water exposure to ensure accurate readings.

Troubleshooting and FAQs

Common Issues:

  1. No Output or Incorrect Readings:

    • Cause: Loose or incorrect wiring.
    • Solution: Double-check the connections. Ensure the OUT pin is connected to the correct digital pin on the microcontroller.
  2. "Failed to read from DHT sensor!" Error:

    • Cause: The sensor is not responding or the sampling period is too short.
    • Solution: Ensure a delay of at least 2 seconds between readings. Verify the sensor is properly powered.
  3. Inconsistent Readings:

    • Cause: Environmental interference or unstable power supply.
    • Solution: Place the sensor in a stable environment and use a decoupling capacitor (e.g., 0.1µF) across the power supply pins.

FAQs:

Q: Can the KY-025 measure negative temperatures?
A: No, the DHT11 sensor used in the KY-025 module can only measure temperatures in the range of 0°C to 50°C.

Q: Can I use the KY-025 with a 3.3V microcontroller like ESP8266?
A: Yes, the KY-025 operates within a voltage range of 3.3V to 5.5V, making it compatible with 3.3V systems.

Q: How do I extend the cable length for the KY-025?
A: Use shielded cables to reduce noise and interference. Keep the cable length as short as possible for reliable communication.

By following this documentation, you can effectively integrate the KY-025 module into your projects for accurate temperature and humidity monitoring.