Difference between revisions of "Temperature & Humidity Sensor"
From Microduino Wiki
(Changed Outline) |
(Changed Specifications) |
||
Line 5: | Line 5: | ||
This mCookie sensor uses an AM2321 chip and the standard mCookie connector to give you the ability to quickly add high precision temperature measuring and humidity sensing to any Microduino project. The sensor has an on-board microprocessor delivering rapid response, high noise tolerance and excellent data quality. | This mCookie sensor uses an AM2321 chip and the standard mCookie connector to give you the ability to quickly add high precision temperature measuring and humidity sensing to any Microduino project. The sensor has an on-board microprocessor delivering rapid response, high noise tolerance and excellent data quality. | ||
==Specification== | ==Specification== | ||
− | *Electrical | + | *Electrical Specifications |
− | **Operation | + | **Operation Voltage: 2.6~5V; |
− | ** | + | **Output: Data over I2C bus protocol |
− | * | + | *Technical Specifications |
− | ** | + | **Resolution: |
− | * | + | ***0.1 Degrees Celsius (°C) |
− | ** | + | ***0.1 percent (%) Relative Humidity |
− | ** | + | *Dimensions |
− | **1.27mm-pitch | + | **Dimensions of the Sensor: 8mm*11mm |
− | * | + | **Dimensions of the Board: 20mm*10mm |
− | **Interface: | + | ** Connector Interface: 4 Pin, 1.27mm-pitch |
− | ** | + | *Communication Protocol |
+ | **Interface: I¬¬2C | ||
+ | **Pins: SDA (data), SCL (clock), VCC (power) and GND (ground) | ||
==Development== | ==Development== |
Revision as of 17:25, 15 August 2016
ContentsOutlineThis mCookie sensor uses an AM2321 chip and the standard mCookie connector to give you the ability to quickly add high precision temperature measuring and humidity sensing to any Microduino project. The sensor has an on-board microprocessor delivering rapid response, high noise tolerance and excellent data quality. Specification
DevelopmentEquipment
Preparation
Experiment: Detect Temp&Hum Values
#include <Wire.h>
#include <AM2321.h>
void setup() {
Serial.begin(9600);
}
void loop() {
readByAM2321();
delay(500);
}
void readByAM2321()
{
AM2321 am2321;
am2321.read();
Serial.print("(");
Serial.print(am2321.temperature/10.0);
Serial.print(", ");
Serial.print(am2321.humidity/10.0);
Serial.println(')');
}
Program Debugging
ApplicationMicroudino-Temp&Hum can be widely applied in HVAC system, dehumidifier, testing and detection equipment, consumer goods, automobile, automatic control, data recorder, weather station, appliances, humidity control, medical care, and other relative humidity detection control. Video |