Skip to content

Commit 535b9df

Browse files
committed
add part list, wiring; update TODOs
1 parent 186f16e commit 535b9df

File tree

1 file changed

+41
-18
lines changed

1 file changed

+41
-18
lines changed

README.md

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,46 @@
11
# CO2 Meter with ESP32
22

3-
## Status
4-
5-
:construction: **Still in development!** :construction:
6-
7-
No final version at the moment! :construction_worker: :building_construction:
8-
93
## Description
104

115
Messasure CO2 particles in to the air.
6+
Warns when you should ventilate the room.
127

138
## Features
149

15-
- ...
10+
- Measure CO2 concentration in room
11+
- MQTT support (for Node-Red or Home Assistant)
12+
- easy integration in own WiFi network (Hotspot settings-page)
13+
- OLED display: can used independently thanks to the measured values shown on the display
14+
15+
## Parts
16+
17+
- [ESP32 Development Board](https://www.banggood.com/ESP32-Development-Board-WiFi+bluetooth-Ultra-Low-Power-Consumption-Dual-Cores-ESP-32-ESP-32S-Board-p-1109512.html?rmmds=myorder&cur_warehouse=CN)
18+
- [NDIR CO2 Sensor MH-Z14A](https://www.banggood.com/NDIR-CO2-Sensor-MH-Z14A-PWM-NDIR-Infrared-Carbon-Dioxide-Sensor-Module-Serial-Port-0-5000PPM-Controller-p-1248270.html?rmmds=myorder&cur_warehouse=CZ)
19+
- [0.96 Inch OLED Display 128\*64 SSD1306](https://www.banggood.com/3pcs-White-0_96-Inch-OLED-I2C-IIC-Communication-Display-128+64-LCD-Module-p-1572835.html?cur_warehouse=CN&rmmds=search)
20+
21+
## Sketch
22+
23+
![sketch](/docs/sketch_bb.png)
24+
25+
## Wireing
26+
27+
### CO2 sensor (MH-Z14A)
28+
29+
| Pin on Sensor | description | Pin on ESP32 |
30+
| ------------- | ----------- | -------------------------------- |
31+
| 16 | GND | GND |
32+
| 17 | Power (5V) | VIN (can also used as 5V output) |
33+
| 18 | UART RXD | GPIO17 (UART 2 TX) |
34+
| 19 | UART TXD | GPIO16 (UART 2 RX) |
35+
36+
### OLED display (SSD1306)
37+
38+
| Pin on Sensor | description | Pin on ESP32 |
39+
| ------------- | ------------ | ---------------- |
40+
| GND | GND | GND |
41+
| VCC | Power (3.3V) | 3V3 |
42+
| SCL | | GPIO22 (I2C SCL) |
43+
| SDA | | GPIO21 (I2C SDA) |
1644

1745
## Setup
1846

@@ -64,22 +92,17 @@ Topic: co2-meter/`{device ID}`/out/`{command}`
6492
| network.ip | ip address of the module | string |
6593
| co2.isPreheating | TRUE if the sensor is preheated | boolean |
6694
| co2.isReady | TRUE if the sensor is ready | boolean |
67-
| co2.temperature | ... | number |
68-
| co2.ppm | ... | number |
69-
70-
## Sketch
71-
72-
![sketch](/docs/sketch_bb.png)
95+
| co2.temperature | temperature from sensor (in °C) | number |
96+
| co2.ppm | CO2 concentration in the air (in ppm) | number |
7397

7498
## TODOs
7599

76100
- [x] buy sensor and ESP32
77101
- [x] soldering first prototype
78102
- [x] add WifiManager to easy setup
79-
- [ ] create sketch
80-
- [ ] test firmware
81-
- [ ] test OTA updates
103+
- [x] create sketch
104+
- [x] test firmware
105+
- [x] test OTA updates
106+
- [x] add part list
82107
- [ ] create housing (from wood)
83-
- [ ] create example flow with [Node-RED](https://nodered.org/)
84-
- [ ] add part list
85108
- [ ] add video doc

0 commit comments

Comments
 (0)