|Now FREE Delivery on UK mainland orders over £30+VAT|
2SA1015Y PNP TO92 ECB 50V 150mA 80MHz Y gain group. Genuine Toshiba
Complement to 2SC1815Y
2SA608 PNP TO92 ECB 40V 100mA 180MHz
N JFET TO92 SGD 50V 10mA Idss=0.3mA Genuine Toshiba FETs - LIMITED STOCKS
6V 1.5A Positive Voltage Regulator TO220.
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
How Can I use the KY-015 Module to monitor temperature and humidity?
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:
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
Ground - - - - - - - - - - Ground
A 10KΩ pull-up resistor is built in to the KY-015
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.
We can now create the code to get this all working
First, delete the code in the IDE window, then include the aforementioned libraries:
This bit of code imports the DHT library and links it to the sketch.
This bit of code defines which pin is KY015 connected to and sets the type of sensor (KY015 uses DHT11)
This bit of code initialises the sensor
The setup bit of code initialises serial output with baud rate of 115200 and prints DHT11 test! In the console
This bit makes the Arduino wait 2 seconds between measurements
Read humidity from the sensor
Read temperature from the sensor
Print the latest reading in serial monitor
Axial Lamp (wires both ends) with bare wires 12V 150mA. Dims: 20 x 4mm. Leads 27mm long
Connections being by means of twin cunife wires.