EB - Humidity Temperature Sensor Pro

$13.70

  • Model: EB0200110M
  • Shipping Weight: 6gram
  • 10000 Units in Stock

Add to Cart:



Item specifics

Brand Name:Maker Studio

Product Description

Electronic Brick - Temperature and Humidity Sensor Pro can be used to detect the humidity and temperature of environment at the same time.Compared to the DHT11, this sensor is more precise, more accurate and works in a bigger range of temperature/humidity.

Features

  • Working Voltage: 3.3V-5V
  • Detect Range:20~90%RH;0-50°C
  • Accuracy: ±2%RH;±0.2°C
  • Resolution:0.1%RH;0.1°C
  • Sampling rate: no more than 0.5Hz
  • Low power consumption
  • With Makerduino Demo Code
  • Compact size
  • Weight: 8g

 

Applications

  • Real-time detect
  • Household appliances

Details

aeProduct.getSubject()         

Use with Makerduino

The following steps show how to use EB - Temperature and Humidity Sensor Pro with Makerduino.

Materials

  • Makerduino
  • Electronic Brick Shield
  • EB - Temperature and Humidity Sensor Pro
  • A/B type USB cable
  • Female DuPont wires.

Steps

1. Connect Electronic Brick Shield onto Makerduino to bring out all the Makerduino Pins.

aeProduct.getSubject()

 

2. Connect EB - Temperature and Humidity Sensor Pro to Makerduino as following:                                                                        

aeProduct.getSubject()                                                                        

3. Connect the Makerduino to Computer by the USB cable.

 

4. Download the Makerduino demo code EB - Temperature and Humidity Sensor Pro.zip. Unzip the code directly into the libraries folder.

 

5. Open Makerduino IDE, choose the right Board and Serial Port. Open the sketch EB_HumandTempSensorPro.ino and upload it to the Makerduino.

 

The following is the demo code for EB -  Temperature and Humidity Sensor Pro. (Note: It could be a little different from the code file downloaded. Please follow the downloaded file.)

// Example testing sketch for various DHT humidity/temperature sensors

// Written by ladyada, public domain

 

#include "DHT.h"

 

#define DHTPIN 2     // what pin we're connected to

 

// Uncomment whatever type you're using!

//#define DHTTYPE DHT11   // DHT 11

#define DHTTYPE DHT22   // DHT 22  (AM2302)

//#define DHTTYPE DHT21   // DHT 21 (AM2301)

 

// Connect pin 1 (on the left) of the sensor to +5V

// Connect pin 2 of the sensor to whatever your DHTPIN is

// Connect pin 4 (on the right) of the sensor to GROUND

// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor

 

DHT dht(DHTPIN, DHTTYPE);

 

void setup() {

  Serial.begin(9600);

  Serial.println("DHTxx test!");

 

  dht.begin();

}

 

void loop() {

  // Reading temperature or humidity takes about 250 milliseconds!

  // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)

  float h = dht.readHumidity();

  float t = dht.readTemperature();

 

  // check if returns are valid, if they are NaN (not a number) then something went wrong!

  if (isnan(t) || isnan(h)) {

    Serial.println("Failed to read from DHT");

  } else {

    Serial.print("Humidity: ");

    Serial.print(h);

    Serial.print(" %t");

    Serial.print("Temperature: ");

    Serial.print(t);

    Serial.println(" *C");

  }

}

 

6. Check the Results. After the sketch is successfully uploaded, let's open the Serial Monitor. The Monitor will display following information.

 

aeProduct.getSubject()

 

Download information

https://drive.google.com/?usp=folder&authuser=0&usp=folder#folders/0BzxrU4QvH7jEd3ZJTVdnNUpXNVE

Find EB - Temperature and Humidity  Sensor Pro.zip to download schematic and other material.

 

 

 

about us 02

This product was added to our catalog on Tuesday 11 February, 2014.

Your IP Address is: 54.224.164.166
Copyright © 2017 Maker Studio