This week we were asked to get any sensor and learn as much information about it as we can and ideally try it out. I chose DHT11 Temperature Humidity Sensor.
Description: “Sensor consists of a resistive element and a sense of wet NTC temperature measurement devices, and with a high-performance 8-bit microcontroller connected. Humidity Measure Range 20%-95%, humidity measurement error: +-5%. Temperature Measure Range 0-50°C, temperature measurement error: +-2 degrees. Working voltage: DC 3.3V-5V. Output form: digital output.”
Photo showing the DHT11 sensor
What does the sensor do? – As you probably already guessed, it measures temperature and humidity of the air;
How does the sensor work? – It has thermistor inside to measure the temperature, and uses resistance between the electrodes to detect water vapour.
What are possible applications of the sensor? – You can create a small personal weather session or control temperature in your room using the data from the sensor, or just see if you need to buy a humidifier for you room.
Your project idea using the sensor? – I was thinking I could use it to create a perfect environment for my plants. Currently, I have no clue what temperature or humidity levels my room has and whether they are adequate for the plants. I usually just observed the leaves’ colour. For example, if they’re green, then the plant isn’t dying.
Your experience trying out the sensor (if you did) – I tried to use it, but I had a problem in the code, as for some reason Arduino software couldn’t see the sensor’s library. My project partner Jason also had problems with the sensor, but his monitor reading indicated wrong values.
Update: I tried again using the code from the tutorial, and it gave accurate readings, I think.
The sensor showing the humidity and temperature and its wiring
コメント