Temperature Sensor

Introduction

You can use Temp & Humi Sensor to get temperature and humidity of your house.

This demo will show you how to get the value and show it to LCD.

Hardware Required:

  • Arduino

  • Temp & Humi Sensor

  • LCD

Circuit:

Temp & Humi Sensor connect to A0.

About the connect of LCD, please refer to LCD

Code:

Open Arduino IDE, click File -> Shetchbook -> TempHumiSensor.

You can get humidity by readHumidity() and temperature by readTemperature(). This 2 function will return a float value.

About LCD, please refer to LCD.

Help us make it better

Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!