USER MANUAL EN CM2302/DHT22 temperature and humidity sensor module WPSE345 whadda.
Introduction To all residents of the European Union Important environmental information about this product This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.
What is Arduino® Arduino® is an open-source prototyping platform based on easy-to-use hardware and software. Arduino® boards are able to read inputs – light-on sensor, a finger on a button or a Twitter message – and turn it into an output – activating of a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.
Features • ultra-low power consumption • long transmission distance • standard digital single bus output • excellent long-term stability • high-precision NTC Connection WPB100/Arduino® UNO WPSE345 5V VCC GND GND digital pin 2 (or other one) DAT Test Example 1. Download the VMA345_tutorial.zip and DHT_Library.zip from our website and unzip the VMA345_tutorial.zip into an INO sketch. 2. Open the Arduino IDE and load the VMA345_tutorial.ino. 3. Add the DHT_library to the IDE.
4. Now, compile and upload the sketch. 5. Open the serial monitor. 6. This would be the result.
Sample Sketch /* How to use the DHT-22 sensor with Arduino uno Temperature and humidity sensor More info: http://www.ardumotive.com/how-to-use-dht-22-sensor-en.html Dev: Michalis Vasilakis // Date: 1/7/2015 // www.ardumotive.com */ //Libraries #include dht DHT; //Constants #define DHT22_PIN 2 // DHT 22 (AM2302) - what pin we're connected to //Variables float hum; //Stores humidity value float temp; //Stores temperature value void setup() { Serial.
whadda.com Modifications and typographical errors reserved - © Velleman Group nv. WPSE345_v01 Velleman Group nv, Legen Heirweg 33 - 9890 Gavere.