Difference between revisions of "Microduino Digital tube temperature and humidity meter(DHT11, SHT10, AM2321)"
(Created page with "{{Language | Microduino 数码管温湿度计(DHT11, SHT10, AM2321)}} {| style="width: 800px;" |- | ==Objective== This tutorial teach you how to use three temperature and humi...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
*Technical parameters | *Technical parameters | ||
− | **Input | + | **Input voltage: 3.3~5.5V DC |
− | ** | + | **Output: Single bus digital signal |
− | **Measure | + | **Measure range: humidity 20-90%RH, temperature 0~50℃ |
− | **Measure | + | **Measure accuracy: humidity +-5%RH, temperature +-2℃ |
− | **Resolution | + | **Resolution ratio: humidity 1%RH, temperature 1℃ |
− | ** | + | **Interchangeability: Can be completely interchangeable |
− | **Long term | + | **Long term stability: <±1%RH/year |
*Application field | *Application field | ||
Line 104: | Line 104: | ||
==Debug== | ==Debug== | ||
− | Step | + | Step 1: Download DHTlib library, uncompress the library to libraries folder of Arduino IDE, then restart IDE. |
https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib | https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib | ||
− | Step | + | Step 2: Copy the code to IDE and compile it. |
− | Step | + | Step 3: Set up the circuit, as follows: |
[[File:Microduino数码管温湿度计连接图(DHT11).jpg|600px|center|thumb]] | [[File:Microduino数码管温湿度计连接图(DHT11).jpg|600px|center|thumb]] | ||
Step 4: Download the program and run it. | Step 4: Download the program and run it. | ||
− | Step | + | Step 5: Observe the digital tube. Find a hot object to close the temperature sensor or blowing on the sensor, the digital tube will display the result. |
==Result== | ==Result== | ||
Line 125: | Line 125: | ||
'''Main parameters''' | '''Main parameters''' | ||
− | Humidity measurement | + | Humidity measurement range: 0~100%RH; |
− | Temperature measurement | + | Temperature measurement range: -40~+123.8℃; |
− | Humidity measurement | + | Humidity measurement precision: ±4.5%RH |
− | Temperature measurement | + | Temperature measurement precision: ±0.5℃ |
==Schematic== | ==Schematic== | ||
Line 186: | Line 186: | ||
==Debug== | ==Debug== | ||
− | Step | + | Step 1: Downlaoad SHT10 library, unzip it to libraries folder of Arduino IDE, and then restart IDE. |
https://github.com/practicalarduino/SHT1x | https://github.com/practicalarduino/SHT1x | ||
− | Step | + | Step 2: Copy the code to IDE and compile it. |
− | Step | + | Step 3: Set up the circuit, as follows: |
[[File:Microduino数码管温湿度计连接图(SHT10).jpg|600px|center|thumb]] | [[File:Microduino数码管温湿度计连接图(SHT10).jpg|600px|center|thumb]] | ||
− | Step | + | Step 4: Download the program and run it. |
− | Step | + | Step 5: Observe the digital tube. Find a hot object to close the temperature sensor or blowing on the sensor, the digital tube will display the result. |
==Result== | ==Result== | ||
Line 212: | Line 212: | ||
'''Product overview''' | '''Product overview''' | ||
AM2321 digital temperature and humidity sensor is a compound sensor with calibrated digital signal output sensor. Using special technology of collecting the data of temperature and humidity, ensure that the product has a very high reliability and excellent long-term stability. Includes a capacitive moisture sensor element and a high precision integrated temperature measuring element, and connected to a high performance microprocessor. The product has excellent quality, super fast response, strong anti-interference ability and extremely high performance-price ratio. | AM2321 digital temperature and humidity sensor is a compound sensor with calibrated digital signal output sensor. Using special technology of collecting the data of temperature and humidity, ensure that the product has a very high reliability and excellent long-term stability. Includes a capacitive moisture sensor element and a high precision integrated temperature measuring element, and connected to a high performance microprocessor. The product has excellent quality, super fast response, strong anti-interference ability and extremely high performance-price ratio. | ||
− | AM2321 communication mode uses both mode, single bus and standard I2C communication mode. Standard single bus interface | + | AM2321 communication mode uses both mode, single bus and standard I2C communication mode. Standard single bus interface which make the system integration becomes simple and fast. Super small volume, low power consumption, signal transmission distance of 20 meters which make it to be the a best choice for all kinds of application, even the most demanding applications. I2C communication mode with a standard communication sequence, the user can be directly hung on the I2C bus, no additional wiring, simple to use. Two kinds of communication mode both used directly output after temperature compensation of humidity, temperature and the CRC check, such as digital information, users no need do the secondary calculation of digital output, no need to compensate the temperature humidity, accurate temperature and humidity information can be got. Two kinds of communication mode are free to switch, users can choose, easy to use. Product has 4 wires, convenient connection, special packaging format can be provided according to user's requirements. |
'''Application field''' | '''Application field''' | ||
Line 270: | Line 270: | ||
==Debug== | ==Debug== | ||
− | Step | + | Step 1: Download AM2312 library, uncompress it to libraries folder of Arduino IDE, and then restart IDE. |
https://github.com/wangdong/AM2321 | https://github.com/wangdong/AM2321 | ||
− | Step | + | Step 2:Copy the code to IDE and compile it. |
− | Step | + | Step 3:Set up the circuit, as follows: |
[[File:Microduino数码管温湿度计连接图(AM2321).jpg|600px|center|thumb]] | [[File:Microduino数码管温湿度计连接图(AM2321).jpg|600px|center|thumb]] | ||
Line 291: | Line 291: | ||
==Video== | ==Video== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 10:10, 28 September 2016
Language: | English • 中文 |
---|
ContentsObjectiveThis tutorial teach you how to use three temperature and humidity sensor, DHT11, SHT10 and AM2321, and use the digital tube to display result. Equipment
First Experiment (DHT11)DHT11 temperature and humidity sensor: Product overview DHT11 digital temperature and humidity sensor is a compound sensor with calibrated digital signal output. It use dedicated digital module acquisition technology and the temperature and humidity sensor technology, ensure that the product has a very high reliability and excellent long-term stability. Sensor consists of a resistance type moisture element and a NTC temperature measuring element, and connected to a high-performance 8-bit microcontroller. So the product has excellent quality, super fast response, strong anti-interference ability and extremely high performance-price ratio. Every DHT11 sensor in extremely precise humidity calibration laboratory calibration. Calibration factor stored in OTP memory in the form of program, the sensor need invoke these calibration coefficient in the detection model process. Single wire serial interface which make the system integration becomes simple and fast. Super small volume, low power consumption, making it to the class application the best choice for even the most demanding applications. Products for single row pin 4 needle assembly, convenient connection
SchematicPin Table:
ProgramRefer to DHT11Segments.ino DebugStep 1: Download DHTlib library, uncompress the library to libraries folder of Arduino IDE, then restart IDE. https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib Step 2: Copy the code to IDE and compile it. Step 3: Set up the circuit, as follows: Step 4: Download the program and run it. Step 5: Observe the digital tube. Find a hot object to close the temperature sensor or blowing on the sensor, the digital tube will display the result. ResultAfter DHT11 sensor near the heat source, the digital tube displayed value will rise, leave the heat source temperature will gradually reduce. Blowing on the sensor, the number will rise too. Second experiment (SHT10)SHT10 temperature and humidity sensor: Main parameters Humidity measurement range: 0~100%RH; Temperature measurement range: -40~+123.8℃; Humidity measurement precision: ±4.5%RH Temperature measurement precision: ±0.5℃ SchematicPin Tables:
ProgramRefer to SHT10Segments.ino DebugStep 1: Downlaoad SHT10 library, unzip it to libraries folder of Arduino IDE, and then restart IDE. https://github.com/practicalarduino/SHT1x Step 2: Copy the code to IDE and compile it. Step 3: Set up the circuit, as follows: Step 4: Download the program and run it. Step 5: Observe the digital tube. Find a hot object to close the temperature sensor or blowing on the sensor, the digital tube will display the result. ResultAfter SHT10 sensor near the heat source, the digital tube displayed value will rise, leave the heat source temperature will gradually reduce. Blowing on the sensor, the number will rise too.
Third Experiment (AM2321)AM2321 temperature and humidity sensor:
Application field Air conditioner, dehumidifier, test and inspection equipment, consumer goods, automotive, automatic control, data recorder, weather stations, household appliances, humidity control, medical, and other relative humidity control. Product advantages Completely interchangeable, the cost is low, long-term stability, relative humidity and temperature measurement, signal transmission distance long, digital signal output, accurate calibration, extremely low power consumption, standard single bus digital interface, standard I2C bus digital interface, communication can be free to choose. SchematicPin Tables:
ProgramRefer to AM2321Segments.ino DebugStep 1: Download AM2312 library, uncompress it to libraries folder of Arduino IDE, and then restart IDE. https://github.com/wangdong/AM2321 Step 2:Copy the code to IDE and compile it. Step 3:Set up the circuit, as follows: Plug in the Microduino-Core and Microduino-FT232R to Microduino-Weatherstation module. Step 4:Download the program and run it. Step 5:Observe the digital tube. Find a hot object to close the temperature sensor or blowing on the sensor, the digital tube will display the result.
ResultAfter AM2321 sensor near the heat source, the digital tube displayed value will rise, leave the heat source temperature will gradually reduce. Blowing on the sensor, the number will rise too.
Video |