CO2 Ampel: Unterschied zwischen den Versionen

Aus Un-Hack-Bar
Zur Navigation springen Zur Suche springen
Zeile 35: Zeile 35:
 
|GND
 
|GND
 
|MH-Z19 (GND)
 
|MH-Z19 (GND)
 
 
 
|-
 
|-
 
|RX2 / D16
 
|RX2 / D16
|MH-Z19
+
|MH-Z19 (TX)
 
 
 
 
 
|-
 
|-
 
|TX2 / D17
 
|TX2 / D17
|MH-Z19
+
|MH-Z19 (RX)
 
 
 
 
 
|-
 
|-
 
|GND
 
|GND
Zeile 62: Zeile 56:
 
|GND
 
|GND
 
|WS2812 (GND)
 
|WS2812 (GND)
 
 
 
|-
 
|-
 
|D4
 
|D4
 
|WS2812 (DI)
 
|WS2812 (DI)
 
 
 
|-
 
|-
 
|GND
 
|GND
Zeile 78: Zeile 68:
 
|I2C SCL / D22
 
|I2C SCL / D22
 
|SSD1306 (SCL)
 
|SSD1306 (SCL)
 
 
 
 
 
 
|}
 
|}
<br />
 

Version vom 25. Oktober 2020, 13:22 Uhr

Material

benötigtes Material zum erstellen einer CO2 Ampel


CO2 Sensor: MH-Z19

Microcontroller: ESP32 (30 PIN)

Display: OLED Display SSD 1306

Warnton: Buzzer

Warnlicht: WS2812 LED Ring


Litze: 6 x Signal, 3 x VCC, 4 x GND



Die einzelnen Bauteile werden wie folgt an den ESP32 angelötet:



ESP32 Bauteile
VIN MH-Z19 (VCC)
GND MH-Z19 (GND)
RX2 / D16 MH-Z19 (TX)
TX2 / D17 MH-Z19 (RX)
GND KY-012 (GND)
D12 KY-012 (Signal/+)
3V3 SSD1306 (VCC)
3V3 WS2812 (VCC)
GND WS2812 (GND)
D4 WS2812 (DI)
GND SSD1306 (GND)
I2C SDA / D21 SSD1306 (SDA)
I2C SCL / D22 SSD1306 (SCL)