651.288.7000 info@intertech.com

Raspberry-Pi-logoWell – this is it!  The last lab in Intertech’s free give away of the materials from our Complete Raspberry Pi Training class.  I hope you enjoy the training provided by the materials and you will consider contacting Intertech for future application developer training.

In this last lab, you connect the Pi to a temperature/humidity sensor (via a breadboard).  Specifically, you get readings from an inexpensive DHT22 sensor (as shown below).


Unfortunately, Java is a little bit too slow to create and measure the right digital pulses used to communicate with the sensor.  So you use a program written in the C programming language to communicate with the sensor.

Find Lab 10 here:  http://www.intertech.com/downloads/CompleteRaspberryPi/CRPi-ch10-TempSensor.docx.

Specifically in this lab, you:

  • Connect a temperature/humidity sensor to the breadboard.
  • Learn how small voltage pulses to represent digital communications are used to communicate with the sensor.
  • Explore a program to get input from the temperature/humidity sensor connected by GPIO to the Pi.
  • Execute the C program to read the temperature and humidity from the sensor.

Used with the photo sensor application learned in Lab 9, you have a small, inexpensive Raspberry Pi home weather station.


If you missed any of the previous nine posts, you can get the entire set of labs from the links below.  I believe the Raspberry Pi is a fantastic and inexpensive way to experiment in computing.  I hope you enjoy the labs as much as I and Intertech have enjoyed bringing them too you.

Again, if you haven’t been following along and need to see the other labs, you can find them at the links below.


Like What You've Read?

Subscribe to the Blog.

Every Friday we send that week's content from our Developers via email. Try it out!

Some ad blockers can block the form below.

You have Successfully Subscribed!

Pin It on Pinterest

Share This