Refreshing Windows

Made by rheaajep

Found in DioT 2019: Augmented Objects

Refreshing windows is a concept that came out of interviewing my roommate, who wanted some ventilation and felt suffocated since she couldn't open windows during winter. The concept is that the windows get information about the weather outside by being connected to the internet and if it's reasonable, a servo motor opens them. As the window is opened, the heater is controlled as well to increase the heater's temperature to keep a pleasant climate inside the room.

0

Intention

The intention was to create windows that understand my flatmate's requirement and open itself to give some ventilation during the winter season, but while doing so and letting the cold air in, the temperature inside should be accordingly controlled to give not only fresh air but also warm atmosphere. 

0

Goal

The solution involves a window that gets the weather data from the internet, if the temperature is too chilly it will avoid opening the window, but it it's reasonably cold, the window will get opened to let some fresh air in. While doing so, the temperature inside the room would be monitored to see it's warm enough and if it isn't the heater would be controlled to balance the climate in the room to let a person enjoy some cold and fresh air while also not making the room extremely cold. 

0

Process

I started the project by implementing a temperature sensor which would be used to monitor the room. later I started thinking of ideas the way it would be connected to the heater. I later installed LEDs to indicate the heater's temperature is being increased and used a servo to open the windows. So the Servo would open the windows, and then TMP36 would read the data, if it's getting very cold, the heater would be adjusted and this is when one led glows, if still the temperature is cold, the heater would again be adjusted which is shown by the blinking of second led. 

0

Outcome

The temperature sensor is getting the analog values and printing it on the serial monitor and when it is in a certain range, the first led blinks. It checks again for the readings which is equivalent to checking if the temperature inside the room is still cold, and if it is the second led blinks.  


0

Next Steps

Next step would be to get the weather data from the internet and feed it to the window which will influence the action of the servo while also implementing by actually opening the window, since the temperature values that I took are quite arbitrary. The window can also be controlled by a voice command. 

0

Reflection

The logic was implemented the way I wanted to though I had difficulty in getting a low temperature from the sensor and to get a certain value that would blink the LEDs. 

0

References and Acknowledgement

I would like to thank Professor Daragh for his help in the lab and guidance in the design of this project. 

https://www.allaboutcircuits.com/projects/servo-motor-control-with-an-arduino/

https://learn.adafruit.com/tmp36-temperature-sensor/using-a-temp-sensor


0
Servo servo_window;
int sensor=A1;
int angle=0;
int sensor1=D4;
int sensor2=D2;
void setup() {
Serial.begin(9600);
servo_window.attach(D7);
pinMode(sensor1,OUTPUT);
pinMode(sensor2,OUTPUT);
}
void loop() {
for(angle=0;angle<90;angle+=1)
{
    servo_window.write(angle);
    delay(15);
}
int reading=analogRead(sensor);

if(reading>840 && reading<880)
{
digitalWrite(sensor1,HIGH);
Serial.println(reading);
}
if(reading>830 && reading<850)
{
digitalWrite(sensor2,HIGH);
Serial.println(reading);
}
    }
Click to Expand
x
Share this Project

Courses

49713 Designing for the Internet of Things

· 18 members

A hands-on introductory course exploring the Internet of Things and connected product experiences.


Focused on
Skills
Tools
About

Refreshing windows is a concept that came out of interviewing my roommate, who wanted some ventilation and felt suffocated since she couldn't open windows during winter. The concept is that the windows get information about the weather outside by being connected to the internet and if it's reasonable, a servo motor opens them. As the window is opened, the heater is controlled as well to increase the heater's temperature to keep a pleasant climate inside the room.

Created

January 31st, 2019