The cookie settings on this website are adjusted to allow all cookies so that you have the very best experience. If you continue without changing your cookie settings, we'll assume that you are happy to receive all cookies on our website. However, if you would like to, you can change your settings at any time using the Change cookie settings link in the Special menu. 
    
 
+44 (0)20-84520161 Contact Us
Now FREE Delivery on UK mainland orders over £30+VAT

Temperature and humidity module for Arduino KY-015

  • Details

  • Recommended

  • Send

Details

Item Number
KY015
Item Condition
New
Price
£2.50 (inc VAT £3.00)

Options

Quantity


  • 2SA1015Y Transistor

    2SA1015Y Transistor

    2SA1015Y PNP TO92 ECB 50V 150mA 80MHz Y gain group. Genuine Toshiba

    Replaces 2SA1015

    Complement to 2SC1815Y

    2SA1015Y
    £1.50
  • 2SK30A Transistor

    2SK30A Transistor

    N JFET TO92 SGD 50V 10mA Idss=0.3mA Genuine Toshiba FETs - LIMITED STOCKS

    2SK30A
    £2.75
  • PP3 9Volt Strong Hard Plastic Battery Snaps

    PP3 9Volt Strong Hard Plastic Battery Snaps

    Strong Solid Plastic PP3 9 Volt  Battery Snaps.

    With 150mm Red & Black PVC covered wires emerging at one end.

    Water repellent body.

    Fits 6LF22, LS9V, GP1604G-C1, 6LR6, MN1604, 6LP3146, 1604AU, CRV9, KF00492, 6LR61 and many more  batteries

    PP3H
    £0.50
  • Prototype Breadboard with 400 points

    Prototype Breadboard with 400 points

    Solderless Plug-In Breadboard 0.1 inch - 2.54mm spacing.

    400 Points. 2 x 30 x 5 commoned points. 4 rows of 25 points. Self-adhesive backing, or use free-standing.

    deal for experiments & prototyping.

    BB400T
    £4.00
  • Pot 16mm Stereo Lin 10K

    Pot 16mm Stereo Lin 10K

    16mm diameter Dual Control Pot with knurled & Slotted 6mm dia spindle. PCB Pins 5mm spacing. 10K Lin

    20mm Shaft

    DJN10K
    £2.25
  •  G25D Precision solid Glass Thermistor by Bowthorpe

    G25D Precision solid Glass Thermistor by Bowthorpe

    Bowthorpe G25D Precision Semicondutor Thermistor Bead in a Solid Glass Pellet.

    Connections being by means of twin cunife wires.

    For use in accurate temperature measurement, control or compensation, flow measurement and similar applications.
     
    Resistance at 20C 200K ohms
    Resistance at 25C 156K ohms
    Minimum Resistance 810 ohms
    Tolerance 5%
    Thermal Time Constant 19s
    Dissipation Constant 1.3
    Pmax at 20°C 200mW
    G25D
    £2.50
  • Prototype Breadboard with 830 points

    Prototype Breadboard with 830 points

    Solderless Prototype Plug-In Breadboard 0.1 inch - 2.54mm spacing

    Ideal for experiments & teaching. 830 Points. 2 x 63 x 5 and 4 x 10 commoned points.

    63 rows of 5 points. Self-adhesive backing (or use free-standing).

    Can be used over and over again for prototyping circuits.

    Useful numbered grid. Accepts IC sockets, ICs and pin strips, transistors, resistors capacitors, LEDs, diodes, wire, etc

    BB830
    £5.25
  • LCD screen 16 characters 2 line Arduino compatible

    LCD screen 16 characters 2 line Arduino compatible

    Arduino compatible Backlit LCD screen with 2 lines of 16 Characters (32 total)

    This LCD Screen is a great addition to many Arduino and other projects.
    The blue lit screen is blue has white characters and a backlight.
     
    Specification:
     
    Display Format:  16 Characters x 2 Lines (32 total)
    Character Size: 3.07mm(W) x 6.56mm(H)
    Backlight: Yes
    Dimensions: 80mm(W) x 35mm(H) x 11mm(T)
     
    LCD1602B
    £4.50
  • Stepper Motor 28BYJ-48 with ULN2003 Driver Board

    Stepper Motor 28BYJ-48 with ULN2003 Driver Board

    28BYJ-48 Stepper Motor wih ULN2003 IC & Driver Board

     
    This is a 4 phase 5VDC stepper motor with 4 coils, with a step angle of either 11.25 or 5.625 degrees giving it 32 or 64 steps on the motor using either half or full steps. It also has a 1:64 gearbox built in making the steps at the shaft either 2048 or 4096. It is supplied with a ULN2003 driver board.  
     
    Voltage : 5VDC
    Step angle : 5.625 1/64
    Max Current : 300mA 
    Diameter : 28mm
    Height : 19mm
    Shaft Length : 8mm
    Driver PCB Size : 32x35mm
    28BYJ-48
    £4.50

Send to Friend

: *
: *
: *
Type the characters you see in the picture:


*

What is the KY-015 DHT11 Module?

The KY015 is a temperature and humidity module for Arduino and other microcontroller projects

 

KY-015 module has a DHT11digital temperature and humidity sensor and a resistor. The DHT11 uses a thermistor for the temperature sensing and a capacitive humidity sensor along with an internal IC to give a digital output for both temperature and humidity.

 

Voltage : 3.3 to 5VDC

Humidity range : 20% to 90% @ 5% RH accuracy

Temperature range : 0C to 50C at 2C accuracy

Size 30x15mm

 

How Can I use the KY-015 Module to monitor temperature and humidity?

Here is an example project to measure temperature and humidity using the KY015 module and an Arduino Uno

 

Temperature and Humidity Sensor

In this project, we will be building a weather station that can measure both temperature and humidity.

This is what you will need:

Tools

Jumper Leads (male to female)

 

Components

Arduino Uno x 1 or Arduino Nano x 1

KY-15 sensor module

 

Libraries

DHT Sensor Library

Adafruit Unified Sensor Library

 

Step 1

First you will nedd to assemble the project. Connect everything together using the wiring diagram bellow for reference.

 

 

Connect the KY-015 sensor module to the Arduino

KY-015                        Arduino   

Ground - - - - - - - - - -  Ground
Vcc - - - - - - - - - - - - - - 3v3
Data - - - - - - - - - - - - -  A0

A 10KΩ pull-up resistor is built in to the KY-015

 

Step 2

Connect your Arduino to the PC and install the above Libraries. If you don’t know how to do this, CLICK HERE and follow the “Installing Arduino Libraries” section.

 

Step 3

We can now create the code to get this all working

First, delete the code in the IDE window, then include the aforementioned libraries:  

#include "DHT.h"

This bit of code imports the DHT library and links it to the sketch.

#define DHTPIN A0
#define DHTTYPE DHT11

This bit of code defines which pin is KY015 connected to and sets the type of sensor (KY015 uses DHT11)

DHT dht(DHTPIN, DHTTYPE);

This bit of code initialises the sensor

void setup() {
  Serial.begin(115200);
  Serial.println(F("DHT11 test!"));
  dht.begin();
}

The setup bit of code initialises serial output with baud rate of 115200 and prints DHT11 test! In the console

void loop() {
   delay(2000);

This bit makes the Arduino wait 2 seconds between measurements

  float h = dht.readHumidity();

Read humidity from the sensor

  float t = dht.readTemperature();
Read temperature from the sensor
  Serial.print(F("Humidity: "));
  Serial.print(h);
  Serial.print(F("%  Temperature: "));
  Serial.print(t);
  Serial.println(F("°C "));
}

Print the latest reading in serial monitor

 

Finished Code:

#include "DHT.h"

#define DHTPIN A0 // Digital pin connected to the DHT sensor
#define DHTTYPE DHT11 // DHT 11
DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(115200);
  Serial.println(F("DHT11 test!"));

  dht.begin();
}

void loop() {
  delay(2000);

  float h = dht.readHumidity();
  float t = dht.readTemperature();

  Serial.print(F("Humidity: "));
  Serial.print(h);
  Serial.print(F("%  Temperature: "));
  Serial.print(t);
  Serial.println(F("°C "));
}

 

Recently Viewed


Trustpilot