Christmas Closure
We will be closed from 24th December to 3rd January. However we will be dispatching orders throughout this period when the postal service is in operation.
We would like to wish all our customers, old and new, a very merry Christmas.
Yodel
Please note: Yodel is currently experiencing issues. Whilst the issue is ongoing, orders placed using this service will be dispatched via Evri or Royal Mail 48 hour service.
DHT11 Arduino Compatible Digital Temperature Humidity Sensor Module
Sensor including resistive humidity sensing component
- Sensor including resistive humidity sensing component
- Fast response, great anti-interference ability and durable
- Signal transmission range: 20m
- Power: 3.5-5V
- Temperature range: 0-50'C
- Humidity range: 20-90%RH
PINOUT | |
---|---|
PIN | DESCRIPTION |
1 | DATA |
2 | VCC (+5V) |
3 | GND |
EXAMPLE CODE
ARD_DHT11_HCARDU0020_Example.pde
/* FILE: ARD_DHT11_HCARDU0020_Example.pde DATE: 02/07/12 VERSION: 0.1 This is a simple example of how to use the HobbyComponents Arduino DHT11 module (HCARDU0020). The module will work with the Arduino DHT11 library available at http://arduino.cc/playground/Main/DHT11Lib without any modification. This code demonstrates the use of this library to output the current temperature and humidity measured by the sensor. You may copy, alter and reuse this code in any way you like but please leave reference to HobbyComponents.com in your comments if you redistribute this code. */ /* Include the DHT11 library available at http://arduino.cc/playground/Main/DHT11Lib */ #include <dht11.h> dht11 DHT11; /* Define the DIO pin that will be used to communicate with the sensor */ #define DHT11_DIO 2 void setup() { /* Setup the serial port for displaying the output of the sensor */ Serial.begin(9600); } /* Main program loop */ void loop() { /* Perform a read of the sensor and check if data was read OK */ if (DHT11.read(DHT11_DIO) == DHTLIB_OK) { /* If so then output the current temperature and humidity to the serial port */ Serial.print("Temperature: "); Serial.print((float)DHT11.temperature, 2); Serial.print("oC\t"); Serial.print("Humidity: "); Serial.print((float)DHT11.humidity, 2); Serial.println("%"); }else { /* If there was a problem reading from then sensor then output an error */ Serial.println("ERROR"); } delay(500); }
Specific References
16 other products in the category
Side Mounted Water Level /...
This water level sensor / float switch can be used to sense when a liquid has reached a set...
25V Voltage Sensor Module
A simple but very useful module which uses a potential divider to reduce any input
Pressure Sensor MPS20N0040D-D
Pressure range :0-5 .8 psi (40kpa);
Product Features:
Solid, MEMS...
HX711 Bridge Sensor Digital...
A very low cost module incorporating with a very high precision 24 ADC and differential high...
Side mounted water level /...
A side mounted waterproof float switch (HCSENS0015) which uses a magnet embedded in the float,...
DHT21 AM2301 Temperature &...
The DHT21 digital temperature sensor is one of the commonest from the range of DHT temperature...
Capacitive Touch Sensor Module
- Main chip: LM393
- Working voltage: DC 5V
- Single channel signal output
-...
Line Hunting Sensor Module
- Photosensitive diode
- Working power: + 5V
- Working current: < 10mA
-...
VL53L0X TOF laser ranging...
The VL53L0X (HCMODU0127) is a new generation Time-of-Flight (ToF) laser-ranging module housed...
IR Distance Sensing Module...
Allows for sensing of solid objects within a fixed range (adjustable with on-board...
PT100 Temperature Probe PTR...
This Platinum thermal resistance probe is an accurate, sensitive, and stable temperature...