Aktionen

Welcome to the Phytotron: Unterschied zwischen den Versionen

Aus exmediawiki

K
Zeile 31: Zeile 31:
  
 
===20.05.22 – DIY Greenhouse Workshop ===
 
===20.05.22 – DIY Greenhouse Workshop ===
 +
 +
 +
<tt>
 +
/*
 +
  GREENHOUSE WORKSHOP @ KHM KÖLN
 +
  BY PHYTOTRON – MAY 2022
 +
 +
  SENSOR INFO
 +
  DHT - Hum / Temp Sensor
 +
  Humidity Range: 0-100% 
 +
  Temperature range: -40 - 125°C
 +
 
 +
  D2 ---> SIG
 +
  5V ---> +
 +
  GND ---> -
 +
*/
 +
 +
// Include libraries
 +
#include <DHT.h>
 +
 +
// Define constant values
 +
#define DHTPin 2    // Define sensor data pin
 +
#define DHTType DHT22  // Define sensor model: DHT 22  (AM2302)
 +
 +
// Instantiate DHT library using constants
 +
DHT dht(DHTPin, DHTType); // Initialize DHT sensor for normal 16mhz Arduino
 +
 +
// Variables
 +
float h;  // a variable called "hum" stores the humidity value
 +
float t; // a variable called "temp" stores the temperature value
 +
 +
void setup() {
 +
  // put your setup code here, to run once:
 +
  Serial.begin(9600); // initialize serial monitor at baud rate 9600
 +
  dht.begin(); // call dht object to run its begin function & allow it start reading sensor data
 +
}
 +
 +
void loop() {
 +
  // put your main code here, to run repeatedly:
 +
  delay(2000); // Delay 2000ms = 2s
 +
  //Read data and store it to variables hum and temp
 +
  h = dht.readHumidity();
 +
  t = dht.readTemperature();
 +
  // check if values are numbers, if not, print error message
 +
  if (isnan(h) || isnan(t)) {
 +
        Serial.println("Failed to read from the DHT sensor, check wiring.");
 +
        return;
 +
    }
 +
  //Print temp and humidity values to serial monitor
 +
  Serial.print("Humidity: ");
 +
  Serial.print(h);
 +
  Serial.print(" %, Temp: ");
 +
  Serial.print(t);
 +
  Serial.print("°C");
 +
  Serial.println();
 +
}
 +
</tt>

Version vom 18. Mai 2022, 14:32 Uhr

Wöchentlich Freitag 11:00 - 13:00 & 14:00 - 16:00

22.04. – 08.07.2022

Filzengraben 8-10, exMedia Lab 4.03

---

Phytotron, von griechisch [] (phyton) für Pflanze und [] (-tron), eine Nachsilbe, die auf ein Instrument verweist.

Das Phytotron ist eine neue Forschungseinheit zur Untersuchung der Wechselwirkungen zwischen lebenden Organismen und ihrer Umwelt und ein Ideenbeschleuniger für die Auseinandersetzung mit bio-technologischen Medien.

Das Phytotron ist ein spezieller Arbeitsbereich innerhalb des exMedia Labors, der 2021 in Betrieb genommen wurde. Es bietet eine voll ausgestattete Laborumgebung für mikro- und makrobiologische Experimente und die Kultivierung von Pflanzen, Bakterien und Pilzen. Es verfügt u.a. über eine Sicherheitswerkbank zum sterilen Arbeiten, Inkubatoren und Klimakammern sowie verschiedene Mikroskope.

Mit Welcome to the Phytotron laden wir dazu ein, den neuen Arbeitsbereich im exMedia Labor ken- nenzulernen und die eigene Interessenslage auszuloten. Das wöchentliche Seminar umfasst unterschiedliche Aktivitäten und Angebote: Laboreinführungen, gemeinsame Experimente und Workshops (zu Themen wie Phytotronkonstruktion und Biostatistik) werden ergänzt durch monatliche Treffen zum inhaltlichen Austausch (jour fixe) sowie individuelle Sprechstunden. Darüber hinaus besteht die Möglichkeit zur eigenständigen Arbeit an Kunst- und Forschungsprojekten.

---

Welcome to the Phytotron

06.05.22 – Arduino Datalogger Workshop

13.05.22 – Viktoriabad Bonn Visit

20.05.22 – DIY Greenhouse Workshop

/*

  GREENHOUSE WORKSHOP @ KHM KÖLN
  BY PHYTOTRON – MAY 2022
  SENSOR INFO
  DHT - Hum / Temp Sensor
  Humidity Range: 0-100%  
  Temperature range: -40 - 125°C 
  
  D2 ---> SIG
  5V ---> +
  GND ---> -
  • /

// Include libraries

  1. include <DHT.h>

// Define constant values

  1. define DHTPin 2 // Define sensor data pin
  2. define DHTType DHT22 // Define sensor model: DHT 22 (AM2302)

// Instantiate DHT library using constants DHT dht(DHTPin, DHTType); // Initialize DHT sensor for normal 16mhz Arduino

// Variables float h; // a variable called "hum" stores the humidity value float t; // a variable called "temp" stores the temperature value

void setup() {

 // put your setup code here, to run once:
 Serial.begin(9600); // initialize serial monitor at baud rate 9600
 dht.begin(); // call dht object to run its begin function & allow it start reading sensor data

}

void loop() {

 // put your main code here, to run repeatedly:
 delay(2000); // Delay 2000ms = 2s
 //Read data and store it to variables hum and temp
 h = dht.readHumidity();
 t = dht.readTemperature();
 // check if values are numbers, if not, print error message
 if (isnan(h) || isnan(t)) {
       Serial.println("Failed to read from the DHT sensor, check wiring.");
       return;
   }
 //Print temp and humidity values to serial monitor
 Serial.print("Humidity: ");
 Serial.print(h);
 Serial.print(" %, Temp: ");
 Serial.print(t);
 Serial.print("°C");
 Serial.println();

}