Components & Parts Specialist. We Supply, You Satisfy!
  • Welcome!  Sign in  or  Register

  • Wholesale DIY Sound Sensor Module for (For Arduino) (Works with Official (For Arduino) Boards)

     US$4.99

  • Wholesale Rotation Angle Sensor Module Steering Angle Sensor for SCM Development Red

    US$3.99

  • Wholesale LM35 Temperature Sensor Module Heat Sensor Red

     US$3.99

  • Wholesale Ultrasonic Sensor HC-SR04 Distance Measuring Module

     US$2.99

  • Wholesale MQ2 Smoke Gas Sensor Module for (For Arduino) (Works with Official (For Arduino) Boards)

     US$4.99

  • Wholesale Octopus Vibration Detection  Brick Sensor Module

     US$6.29

  • Wholesale MQ-2 Liquefied Gas Iso-Butane Propane Sensor Module - Black

     US$3.18

  • Wholesale Line Hunting Sensor Module for (For Arduino) (Works with Official (For Arduino) Boards)

     US$1.18


  • Wholesale WSDCG01   DIY Temperature And Humidity Sensor Module for (For Arduino)
  • images/v/1255/5161.jpg
  • images/v/1255/5161_1.jpg
  • images/v/1255/5161_2.jpg

WSDCG01 DIY Temperature And Humidity Sensor Module for (For Arduino)

    Qty.Range(unit) Price(per unit) Discount
    Large Order:
  •  US$10.09
  • Quantity:



    Product Details

    Key Features

    Testing code:
    int DHpin = 8; byte dat [5]; byte read_data () {byte data; for (int i = 0; i <8; i + +) {if (digitalRead (DHpin) == LOW) {while (digitalRead ( DHpin) == LOW); / / wait 50us; delayMicroseconds (30); / / determine the duration of the high level to determine whether the data is '0 'or '1'; if (digitalRead (DHpin) == HIGH) data | = (1 << (7-i)); / / high front and low in the post;
    while (digitalRead (DHpin) == HIGH); / / data '1 ', wait for the next one to receive;}} return data;} void start_test () {digitalWrite (DHpin, LOW); / / down the bus, hair start signal; delay (30); / / delay greater than 18ms, so DHT11 start signal can be detected; digitalWrite (DHpin, HIGH); delayMicroseconds (40); / / wait DHT11 response; pinMode (DHpin, INPUT); while after / / DHT11 pulled the bus 80us; (digitalRead (DHpin) == HIGH); delayMicroseconds (80); / / DHT11 a response, low bus 80us; if (digitalRead (DHpin) == LOW); delayMicroseconds (80) start sending data; for (int i = 0; i <4; i + +) / / Receive temperature and humidity data, the parity bit is not considered; dat [i] = read_data (); pinMode (DHpin, OUTPUT);
    digitalWrite (DHpin, HIGH); / / After sending the first data release of the bus, waiting for the signal to start the host next;} void setup () {Serial.begin (9600); pinMode (DHpin, OUTPUT);} void loop () {start_test (); Serial.print ("Current humdity ="); Serial.print (dat [0], DEC); / / display bit integer humidity; ('.') Serial.print; Serial. print (dat [1], DEC); / / display decimal places humidity; Serial.println ('%'); Serial.print ("Current temperature ="); Serial.print (dat [2], DEC); / / display temperature integer bit; Serial.print ('.');
    Serial.print (dat [3], DEC); / / display the temperature of decimal places; Serial.println ('C'); delay (700);}

    Packing List 4×Temperature and humidity sensor modules

    Specifications

    TypeSensor,
    Use ForFor Arduino,
    Sensor FunctionTemperature,
    ModelWSDCG01,
    Dimension(cm)2.8×1.7×0.8,
    Net Weight(kg)0.008,

    Write a Review:

    Tell us what you think about WSDCG01 DIY Temperature And Humidity Sensor Module for (For Arduino), share your opinion with other people. Please make sure that your review focus on WSDCG01 DIY Temperature And Humidity Sensor Module for (For Arduino). All the reviews are moderated and will be reviewed within two business days. Inappropriate reviews will not be posted.

    Have any question or inquire for WSDCG01 DIY Temperature And Humidity Sensor Module for (For Arduino)? Please contact Customer Service. (Our customer representative will get back shortly.)

      Indicates required fields*
      Rating:
      Your Name: *
      Enter your Reviewer Nickname
      Your Email: *
      Review Title: *
      Identifying Code: *
      Review: *

    Search Feedback

    • Did you find what you were looking for?
    • If you need help or have other feedback for Customer Service. Click here

    Newsletter
    for Wholesale

    about the latest offers and deals Subscribe today!

    Product Tags:

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9

    China Electronic components  Wholesale-
    LCD Module, Arduino, LEDs, ICs, Modules, Transistors, Diodes, Resistors, Connectors, Cables...

    388 Categories,5,062 Products,Worldwide shipping to 189 countries.

      paypal       
    Copyright © 2008-2013 Satistronics Store. All Rights Reserved.
    Buy wholesale products at wholesale price from leading Chinese wholesalers, enjoy online wholesale and become a wholesaler now!

    China wholesale, wholesale from China, buy wholesale products from Chinese wholesaler