Overview
Me Temperature and Humidity Sensor is a sensor that contains a calibrated digital signal output. It adopts specific digital module collecting technology and temperature-humidity sensing technology to ensure high reliability and excellent long-term stability. This module can measure the temperature from 0℃ to 50℃. Users can use it to build a cost-effective temperature and humidity monitoring system. Its yellow ID means that it has a single-digital port and needs to be connected to the port with yellow ID on Makeblock Orion.
Technical specifications
● Power supply voltage: 5V DC
● Control mode: Single bus digital signal
● Power supply current: max 2.5mA
● Temperature range: 0-50℃ ± 2℃
● Humidity range: 20-90% RH ± 5% RH
● Precision: 1% RH, 1℃
● Module dimension: 51 x 24 x 18mm(L x W x H)
Functional characteristics
● Small size and low power consumption
● Strong anti-interference ability
● Total calibrated digital output
● White area of module is the reference area to contact metal beams
● Support Arduino IDE programming and provide runtime library to simplify programming
● Adopt RJ25 port for easy connection
● Provide pins to support most Arduino Baseboards
Pin definition
The port of Me Temperature and Humidity Sensor has three pins, and their functions are as follows:
Wiring mode
● Connecting with RJ25
Since the port of Me Temperature and Humidity Sensor has yellow ID, you need to connect the port with yellow ID on Makeblock Orion when using RJ25 port. Taking Makeblock Orion as example, you can connect to ports No. 3, 4, 5, 6, 7, and 8 as follows:
● Connecting with Dupont wire
When the Dupont wire is used to connect the module to the Arduino UNO Baseboard, its DATA pin should be connected to digital port as follows:
Guide to programming
● Arduino programming
If you use Arduino to write a program, the library Makeblock- Library-master should be invoked to control the Me Temperature and Humidity Sensor. This is a routine to read the current temperature and humidity through Arduino programming.The function of the code segment is: to read the result measured by Me Temperature and Humidity Sensor, and output the result to the serial monitor in Arduino IDE. Upload the code segment to the Makeblock Orion and click the Arduino serial monitor, and then you will see the running result as follows:
Principle analysis
Me Temperature and Humidity Sensor is composed of sensor DHT11, which comprises a resistive humidity-sensing component and an NTC temperature-measuring component. Calibration coefficients are stored in OTP memory in the form of program, and invoked by the sensor during processing the detection signal. Adopting single bus serial port, the sensor can implement two-way communication with the microprocessor by a bus only, and the time period of one communication is about 4ms. The system integration becomes quick and easy.