Weather station
#include
#include “DHT.h”
#include
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
#define DHTPIN 3
DHT dht(DHTPIN, DHT11);
void setup(){
lcd.begin(16, 2);
dht.begin();
}
Environmentally-responsive and
powered by wind, Windscreen
underscores the relationship
between form and performance
while engaging timely issues
of
energy
consumption
and
production.
Located
on the southern facade of Building
54, Windscreen created an exterior
screen composed of an array
of small-scale, vertical axis wind
turbines. The spinning of these
turbines self-powers their integral
lighting, providing an active,
moving, flickering screen that
visibly indexes wind.
Type: Public Space
Year: 2011
Location: Cambridge, MA,
United States
Client: MIT
http://www.howeleryoon.com
if (isnan(h) || isnan(t) || isnan(f)) {
lcd.print(“NO CONNECTION”);
return;
}
lcd.setCursor(0, 0);
lcd.print(h);
lcd.print(“ % “);
lcd.setCursor(0, 1);
lcd.print(t);
lcd.print(“ C”);
}
150 Lincoln St. 3A
Boston, MA 02111
Windscreen
void loop()
{
delay(1000);
float h = dht.readHumidity();
float t = dht.readTemperature();
(isFahrenheit = true)
float f = dht.readTemperature(true);