The SHT20 sensor, also known as the SHT-20 or Sensirion SHT20, is a digital humidity and temperature sensor manufactured by Sensirion. This sensor is design to provide accurate and reliable measurements of relative humidity and temperature. It uses the I2C (Inter-Integrated Circuit) communication protocol to interface with microcontrollers and other digital devices.
Key features of the SHT20 sensor include:
- High Accuracy: The SHT20 sensor is know for its high accuracy in measuring relative humidity and temperature.
- Wide Operating Voltage Range: It typically operates within a wide voltage range, commonly from 2.1V to 3.6V, making it suitable for various applications.
- Low Power Consumption: The sensor has low power consumption, which is beneficial for battery-operated devices.
- Digital Output: It provides digital output data, which is easy to interface with microcontrollers like Arduino.
- Calibration Data: The sensor is factory-calibrat, and calibration coefficients are store internally. This helps ensure accurate readings without the need for user calibration.
- Fast Response Time: It offers a fast response time for humidity and temperature measurements.
How does a Sensor work?
Using this sensor typically involves connecting it to a microcontroller like Arduino via the I2C bus and then reading data from the sensor using appropriate libraries and code. The sensor’s datasheet provides detailed information on its specifications, pinout, and communication protocol, which can be helpful when interfacing with it.
If you want to work with this sensor and require specific information or code examples, please let me know, and I’ll be happy to provide further assistance.
***************************************************************************************************************
/***********************************************
* Company Name:LK Tronics
* Author: Research & Development Department
EXPERT GUIDANCE TO BRING YOUR DREAM PROJECT TO LIFE
* Date: 2020/ 03/ 22
* https://lk-tronics.com/
***********************************************
* All rights reserved. No part of this code may be reproduced, distributed,
* or transmitted in any form or by any means, including photocopying, recording,
* or other electronic or mechanical methods, without the prior written permission
* of LK Tronics, except in the case of brief quotations embodied in
* critical reviews and certain other noncommercial uses permitted by copyright law.
************************************************/
#include <Wire.h>
#include "DFRobot_SHT20.h"
DFRobot_SHT20 sht20;
void setup()
{
Serial.begin(9600);
Serial.println("SHT20 Temperature and Humidity");
sht20.initSHT20(); // Init SHT20 Sensor
delay(100);
sht20.checkSHT20(); // Check SHT20 Sensor
}
void loop()
{
float humd = sht20.readHumidity(); // Read Humidity
float temp = sht20.readTemperature(); // Read Temperature
Serial.print("Temperature: ");
Serial.print(temp, 1);
Serial.print("C");
Serial.print("\t Humidity: ");
Serial.print(humd, 1);
Serial.println("%");
delay(1000);
}
***************************************************************************************************************VISIT OUR FACEBOOK PAGE FOR MORE INFO | MORE PRODUCT IN OUR SHOP