Skip to content

Learn about smart devices by designing and building a smart thermostat.

License

Notifications You must be signed in to change notification settings

DavesCodeMusings/smart-thermostat-lab

Repository files navigation

smart-thermostat

A series of labs to build a smart thermostat using MicroPython. Get started by viewing the labs.

Learning objectives

  • Introduction to microcontrollers and MicroPython programming language
  • Writing code to read values from internal and external sensors
  • Building a user interface with the built-in display and touch inputs
  • Communicating with other devices as part of an internet of things (IoT)

Hardware requirements

  • WeMos Lolin32 OLED ESP32 microcontroller (or similar clone).
  • Micro-B USB cable for attaching microcontroller board to host computer.
  • DHT11 (or DHT22) temperature / humidity sensor.
  • Host computer with USB port capable of downloading and installing software below.

Chromebooks used in schools often have policies that prevent installation of software making them unsuitable as a host computer. Windows, Linux, or Mac should work, but check with the school's computer specialist to be sure you can install software and download firmware files from the internet.

Software requirements

Network access requirements

  • The host computer will need access to the internet for downloading host software, MicroPython firmware and modules.
  • The microcontroller will need WiFi access for the internet of things (IoT) labs.

School networks may not be set up to allow access from the microcontroller. It may be possible to use an inexpensive home internet router for the purpose of connecting the microcontrollers to an isolated network.

About

Learn about smart devices by designing and building a smart thermostat.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages