Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
techlab:projekte:inhouse:co2anzeige [2019/02/26 09:27] – [Bauteile] ivo | techlab:projekte:inhouse:co2anzeige [2019/03/27 21:21] (current) – [CO2-Anzeige] cedric.solenthaler | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== CO2-Anzeige ====== | ||
+ | * Verantwortlich: | ||
+ | * Aktuelle Messwerte: https:// | ||
+ | * Projekt-Beschrieb: | ||
+ | * [[techlab: | ||
+ | * Code & CAD: https:// | ||
+ | * Öffentliche Seite [[techlab: | ||
+ | |||
+ | ===== Weitere 5 Stationen ===== | ||
+ | |||
+ | ==== Bauteile ==== | ||
+ | === Bestellt === | ||
+ | * 6 Stück: CO2-Sensor https:// | ||
+ | * 50 Stück: Neopixel (WS2812b) https:// | ||
+ | * 6 Stück: Servo (metal gears): https:// | ||
+ | * 10 Stück: RFM95W plus PCB-Adapter: | ||
+ | * 10 Stück ESP32-Dev-Boards: | ||
+ | |||
+ | === Noch offen, zu diskutieren === | ||
+ | * Temp/ | ||
+ | |||
+ | ==== Design ==== | ||
+ | Möglichkeit: | ||
+ | |||
+ | Möglichkeit: | ||
+ | |||
+ | ===== 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, | ||
+ | * 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/ | ||
+ | {{: | ||
+ | |||
+ | === Protokoll === | ||
+ | * Messstation sendet folgendes Packet: | ||
+ | * 2 Bytes, Little Endian, ID der Station | ||
+ | * 2 Bytes, Packetnummer, | ||
+ | * 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. | ||
+ | |||