Module 3.2: Temperature and Humidity Sensing

In Module 3.2, we get an overview of the temperature and humidity sensor we’ll be using for this course. We learn the basics of temperature and humidity measurement, how the sensor works, and how to install the Arduino library to access and control the sensor. After that, we do hands-on labs where we read the temperature and humidity, control the sensor from our command line, and then use the temperature and humidity data to control another device.

Click here for video slides, terminology, downloads and additional references

 

3.2  Temperature and Humidity Sensing

In this video we cover:

  • how the DHT11  temperature and humidity sensor works
  • thermistors
  • analogue sensors
  • digital sensors
  • other sensors to measure temperature

 

 

3.2.1: Hello Temperature and Humidity – Lab 1

In this video we cover:

  • relative versus absolute humidity

In the Lab, we’ll access the DHT11 sensor, and print the current temperature and humidity to the serial monitor.

 

 

3.2.2: Command Line Temperature and Humidity – Lab 2

In this video we dive straight into Lab 2. We’ll create a command to read the current temperature and read the humidity.

 

 

3.2.3: It’s Getting Hot in Here – Lab 3

In this video we dive straight in Lab 2c. We’ll be using information from a sensor to trigger an event or output. We’ll be turning on an LED when the temperature goes above 26 degrees celsius, and then turning it off when it drops below 26 degrees celsius.

 

 

Supporting Materials

Terminology Sheet

Module 3.2 Terminology Cheatsheet (PDF)

 

Video Slides

3:2: Temperature and Humidity Sensing – Complete Slides (PDF)

 

Conversations & Troubleshooting

Module 3.1 Discussion (forum thread)

 

Programming References

Good overview of C++ used in Arduino – Olympia Circuits

More detailed tutorial on Arduino – Tutorials Point


Copy link