/SmartWindow

SmartWindow

Primary LanguageCMIT LicenseMIT

SmartWindow

An automated window controller

Our Mission

This project is part of a course at the University of Applied Sciences (HAW) Hamburg. The general purpose of the course is to find ways to enhance the classroom environment using RIOT. The easiest way to counteract any bad classroom atmosphere is to open or close one or multiple windows. Thus increasing the students' ability to concentrate.

Multiple factors can be taken into consideration to determine whether a window should be opened or closed:

  • air quality
  • temperature
  • street noise
  • humidity
  • rain
  • outside windspeed

To accomplish our goal we defined criteria that have to be met to trigger the opening or closing of a window. Sensors measure the physical value of the aforementioned factors. And actuators physically open and close a window.

For the purpose of this course we used a simple window model consisting of an aluminum frame and a picture sized glass plate.

Hardware

The following hardware is used:

Software Architecture

The software in this project follows a simple layer architecure. This is not strictly following the OSI model.

Layer Software Hardware
Presentation HTML RasPi
Application Python Webserver RasPi
Data Storage MySQL Database RasPi
Logic Window Controller (C++) RasPi
Network C/C++ programs RasPi/Phytec
Physical C program Phytec/Sensors

architecture