techlab:projekte:inhouse:co2anzeige

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
techlab:projekte:inhouse:co2anzeige [2019/02/26 09:27] – [Bauteile] ivotechlab:projekte:inhouse:co2anzeige [2019/03/27 21:21] (current) – [CO2-Anzeige] cedric.solenthaler
Line 1: Line 1:
 +====== CO2-Anzeige ======
 +  * Verantwortlich: Blc und Schüler
 +  * Aktuelle Messwerte: https://co2.tech-lab.ch/
 +  * Projekt-Beschrieb: https://co2.tech-lab.ch/img/projekt.pdf
 +  * [[techlab:projekte:inhouse:lora|Mehr zu LoRa]]
 +  * Code & CAD: https://github.com/techlabksbg/schulzimmer-wetterstation
 +  * Öffentliche Seite [[techlab:projekte:inhouse:co2anzeige|bitte auf dem Laufenden halten]]. Danke
 +
 +===== Weitere 5 Stationen =====
 +
 +==== Bauteile ====
 +=== Bestellt ===
 +  * 6 Stück: CO2-Sensor https://www.aliexpress.com/item/1pcs-MH-Z19-NDIR-CO2-Sensor-Module-infrared-co2-sensor-0-5000ppm/32815796002.html
 +  * 50 Stück: Neopixel (WS2812b) https://www.aliexpress.com/item/10-1000pcs-WS2812B-4pins-5050-SMD-Black-White-version-WS2812-Individually-Addressable-Digital-RGB-LED-Chip/32453497583.html
 +  * 6 Stück: Servo (metal gears): https://www.aliexpress.com/item/Metal-Gear-Digital-MG90S-9g-Servo-Upgraded-SG90-High-Speed-For-Rc-Helicopter-Plane-Boat-Car/32868412353.html
 +  * 10 Stück: RFM95W plus PCB-Adapter: https://www.aliexpress.com/item/free-shipping-10pcslot-RFM95W-20dBm-100mW-868Mhz-915Mhz-DSSS-spread-spectrum-wireless-transceiver-module-SPI-SMD/32833031804.html und https://www.aliexpress.com/item/Serial-Port-WIFI-ESP8266-Module-Adapter-Plate-With-IO-Lead-Out-For-ESP-07-ESP-08/32881827067.html
 +  * 10 Stück ESP32-Dev-Boards: https://www.aliexpress.com/item/ESP-32-ESP-32S-Development-Board-WiFi-Bluetooth-Ultra-Low-Power-Consumption-Dual-Cores-ESP32-Board/32844181786.html
 +
 +=== Noch offen, zu diskutieren ===
 +  * Temp/Humidity/TVOC? 
 +
 +==== Design ====
 +Möglichkeit: CO2 Anzeige in Kombination mit Uhr
 +
 +Möglichkeit: Anzeige der Luftfeuchtigkeit und Temperatur
 +
 +===== Prototyp =====
 +
 +  * ESP32 mit LoRa.
 +  * Evtl. Luftfeuchtigkeit auch noch messen.
 +  * Evtl. WLAN-Aktivitätsanzeige (Packet-Counter). Wäre aber auf 2.4GHz und Channel-Hopping limitiert.
 +  * Evtl. Luftdrucksensor, damit könnte öffnen und Schliessen von Türen und Fenstern festgestellt werden.
 +  * Evtl. Lautstärkemessung :-P
 +=== Pinout ===
 +Reservierte Pins:
 +  * LoRa Pins: 5, 14, 18, 19, 26, 27
 +  * Oled Pins: 4, 15, 16
 +  * Serielle Kommunikation mit CO2-Sensor: 13, 12 (RX, TX)
 +  * Servos: 1 Pin pro Servo. Zur Zeit pin 17. (noch mögliche Pins: 23, 25, 17)
 +  * NeoPixel: Pin 25
 +  * Temp/Hum/VOC-Sensor: CJMCU-8118, 2 Pins: ''Wire.begin(SDA_PIN, SCL_PIN);'' Default 21,22
 +{{:techlab:projekte:htb1jvkwh5mnbknjszfoq6zosfxal.jpg?200|}}
 +
 +=== Protokoll ===
 +  * Messstation sendet folgendes Packet:
 +    * 2 Bytes, Little Endian, ID der Station 
 +    * 2 Bytes, Packetnummer, fortlaufend
 +    * Messwerte, je nach StationsID:
 +      * z.B. 2 Bytes, Little Endian, PPM (-1 -> Keine Messung)
 +      * 2 Bytes: Temperatur (zur Zeit 10*(T+273))
 +      * 2 Bytes: Luftfeuchtigkeit (zur Zeit 100*p)
 +    * Checksum: XOR-Summe der vorangehenden Bytes.
 +