PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Monday 2:35 p.m.–3:05 p.m.

Keeping cool, using a Raspberry PI to create a networked temperature sensor

Dwight Hubbard

Audience level:


Want to keep things cool? Come learn how to build a networked temperature sensor using a Raspberry PI, some simple hardware, and Python.


In this talk, I'll show you everything you need to know to create a simple wifi-enabled (Internet of Things) temperature sensor. Using a couple of inexpensive components, a Raspberry Pi, and some handy Python libraries. You do not need to have any previous experience with Raspberry Pi or hardware projects. This talk will cover how to wire the simple circuit, and some Python libraries to make creating the sensor simple. Finally we’ll cover how to create a simple app to communicate with the device from a web browser. I'll wrap up the talk with pointers on replicating the data for persistent storage and setting up larger networks of sensors and a quick demo of the sensor in action.