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

How to Use KY-013 Analog Temperature Sensor Module: Examples, Pinouts, and Specs

Image of KY-013 Analog Temperature Sensor Module
Cirkit Designer LogoDesign with KY-013 Analog Temperature Sensor Module in Cirkit Designer

Introduction

The KY-013 Analog Temperature Sensor Module, manufactured by HUABAN (Part ID: KY-013), is a compact and efficient temperature sensing module. It utilizes the LM35 temperature sensor to measure temperature and outputs an analog voltage proportional to the temperature in degrees Celsius. This module is widely used in electronics projects for temperature monitoring and control.

Explore Projects Built with KY-013 Analog Temperature Sensor Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
Image of Pulsefex: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Multi-Zone Soil Moisture Monitor with OLED Display
Image of Soil Moisture Sensor Analog: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
This circuit is designed to collect environmental data using multiple YL-83 modules with YL-69 sondas for soil moisture, and a KY-015 DHT11 sensor for humidity and temperature, all interfaced with an Arduino Nano. Data from the sensors is processed by the Arduino and displayed on an OLED screen, with power supplied by an MB102 Breadboard Power Supply Module.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266 NodeMCU with MAX6675 Thermocouple Interface for Temperature Monitoring
Image of UAS Metrin: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
This circuit is designed to measure temperature using a Type K thermocouple connected to a MAX6675 module, which digitizes the temperature reading. The MAX6675 module interfaces with an ESP8266 NodeMCU microcontroller over a SPI connection, using D5 (SCK), D6 (SO), and D8 (CS) for clock, data output, and chip select, respectively. The ESP8266 is responsible for processing the temperature data, which can then be used for monitoring, control, or communication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Smart Temperature Monitoring System with Bluetooth and Real-Time Clock
Image of bluetooth: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
This circuit is a temperature monitoring system that uses an Arduino UNO to read temperature data from an LM35 sensor, display the data on an LED dot display, and transmit the data via an HC-05 Bluetooth module. Additionally, it includes a DS1307 RTC module for timekeeping.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with KY-013 Analog Temperature Sensor Module

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 Pulsefex: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Soil Moisture Sensor Analog: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
Arduino Nano-Based Multi-Zone Soil Moisture Monitor with OLED Display
This circuit is designed to collect environmental data using multiple YL-83 modules with YL-69 sondas for soil moisture, and a KY-015 DHT11 sensor for humidity and temperature, all interfaced with an Arduino Nano. Data from the sensors is processed by the Arduino and displayed on an OLED screen, with power supplied by an MB102 Breadboard Power Supply Module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of UAS Metrin: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
ESP8266 NodeMCU with MAX6675 Thermocouple Interface for Temperature Monitoring
This circuit is designed to measure temperature using a Type K thermocouple connected to a MAX6675 module, which digitizes the temperature reading. The MAX6675 module interfaces with an ESP8266 NodeMCU microcontroller over a SPI connection, using D5 (SCK), D6 (SO), and D8 (CS) for clock, data output, and chip select, respectively. The ESP8266 is responsible for processing the temperature data, which can then be used for monitoring, control, or communication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of bluetooth: A project utilizing KY-013 Analog Temperature Sensor Module in a practical application
Arduino UNO-Based Smart Temperature Monitoring System with Bluetooth and Real-Time Clock
This circuit is a temperature monitoring system that uses an Arduino UNO to read temperature data from an LM35 sensor, display the data on an LED dot display, and transmit the data via an HC-05 Bluetooth module. Additionally, it includes a DS1307 RTC module for timekeeping.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Environmental monitoring systems
  • Home automation and HVAC systems
  • Industrial temperature sensing
  • Educational and DIY electronics projects
  • Arduino and microcontroller-based projects

Technical Specifications

The KY-013 module is designed for ease of use and compatibility with a wide range of microcontrollers. Below are its key technical details:

Key Specifications

Parameter Value
Sensor Type LM35 Analog Temperature Sensor
Operating Voltage 4V to 30V
Output Voltage Range 0V to 1.5V (for -55°C to 150°C)
Temperature Range -55°C to +150°C
Accuracy ±0.5°C (at 25°C)
Output Type Analog Voltage
Dimensions 18mm x 10mm x 8mm

Pin Configuration

The KY-013 module has three pins for easy interfacing. The table below describes each pin:

Pin Name Pin Number Description
VCC 1 Power supply input (4V to 30V)
GND 2 Ground connection
OUT 3 Analog voltage output (temperature)

Usage Instructions

The KY-013 Analog Temperature Sensor Module is simple to use and can be connected directly to a microcontroller or an analog-to-digital converter (ADC). Follow the steps below to integrate the module into your project:

Connecting the KY-013 to an Arduino UNO

  1. Wiring:

    • Connect the VCC pin of the KY-013 to the 5V pin on the Arduino UNO.
    • Connect the GND pin of the KY-013 to the GND pin on the Arduino UNO.
    • Connect the OUT pin of the KY-013 to an analog input pin (e.g., A0) on the Arduino UNO.
  2. Arduino Code: Use the following example code to read the temperature from the KY-013 module and display it in the Serial Monitor:

    // KY-013 Analog Temperature Sensor Example Code
    // Reads temperature in Celsius and displays it on the Serial Monitor.
    
    const int sensorPin = A0; // KY-013 OUT pin connected to Arduino A0
    float voltage;            // Variable to store sensor output voltage
    float temperature;        // Variable to store calculated temperature
    
    void setup() {
      Serial.begin(9600); // Initialize Serial communication at 9600 baud
    }
    
    void loop() {
      int sensorValue = analogRead(sensorPin); // Read analog value from sensor
      voltage = sensorValue * (5.0 / 1023.0);  // Convert ADC value to voltage
      
      // LM35 outputs 10mV per degree Celsius
      temperature = voltage * 100.0; // Convert voltage to temperature in Celsius
    
      // Print temperature to Serial Monitor
      Serial.print("Temperature: ");
      Serial.print(temperature);
      Serial.println(" °C");
    
      delay(1000); // Wait 1 second before next reading
    }
    

Important Considerations

  • Ensure the module is powered within its operating voltage range (4V to 30V).
  • Avoid exposing the sensor to temperatures beyond its specified range (-55°C to +150°C).
  • Use proper decoupling capacitors near the power supply pins to reduce noise.
  • For accurate readings, place the sensor in a stable environment and avoid rapid temperature changes.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output or Incorrect Readings:

    • Cause: Incorrect wiring or loose connections.
    • Solution: Double-check the wiring and ensure all connections are secure.
  2. Fluctuating Temperature Readings:

    • Cause: Electrical noise or unstable power supply.
    • Solution: Add a 0.1µF capacitor between the VCC and GND pins to filter noise.
  3. Output Voltage Does Not Change:

    • Cause: Sensor damaged or operating outside its temperature range.
    • Solution: Verify the sensor's operating conditions and replace it if necessary.
  4. Temperature Readings Are Offset:

    • Cause: Calibration issue or incorrect conversion formula.
    • Solution: Verify the conversion formula in the code and recalibrate if needed.

FAQs

Q1: Can the KY-013 module measure negative temperatures?
Yes, the LM35 sensor on the KY-013 module can measure temperatures as low as -55°C. However, the output voltage will be 0V for negative temperatures unless additional circuitry is used.

Q2: Is the KY-013 compatible with 3.3V microcontrollers?
Yes, the KY-013 can operate at 3.3V, but the output voltage range will be lower, which may reduce resolution. Ensure the ADC reference voltage matches the sensor's output range.

Q3: How can I improve the accuracy of the temperature readings?
Place the sensor in a stable environment, avoid rapid temperature changes, and use a high-resolution ADC for better accuracy.

Q4: Can I use the KY-013 for water temperature measurement?
The KY-013 is not waterproof. To measure water temperature, use a waterproof casing or a dedicated waterproof temperature sensor.

By following this documentation, you can effectively integrate the KY-013 Analog Temperature Sensor Module into your projects and troubleshoot common issues.