You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+125-51
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,8 @@ Once wifi credentials have been configured pressing the `Boot` button on the ESP
76
76
77
77
Sensor readings can be published via MQTT for centralised storage and visualition. Each node is configured with its own id and will then publish under `co2monitor/<id>/up/sensors`. The top level topic `co2monitor` is configurable. Downlink messages to nodes can be sent to each individual node using the id in the topic `co2monitor/<id>/down/<command>`, or to all nodes when omitting the id part `co2monitor/down/<command>`
78
78
79
+
SCD3x/SCD4x
80
+
79
81
```
80
82
{
81
83
"co2": 752,
@@ -84,17 +86,51 @@ Sensor readings can be published via MQTT for centralised storage and visualitio
84
86
}
85
87
```
86
88
89
+
BME680
90
+
91
+
```
92
+
{
93
+
"iaq": 19,
94
+
"temperature": "19.2",
95
+
"humidity": "75.6",
96
+
"pressure": 1014
97
+
}
98
+
```
99
+
100
+
SPS30
101
+
102
+
```
103
+
{
104
+
"pm0.5": 16,
105
+
"pm1": 19,
106
+
"pm2.5": 19,
107
+
"pm4": 19,
108
+
"pm10": 19
109
+
}
110
+
```
111
+
87
112
Sending `co2monitor/<id>/down/getConfig` will triger the node to reply with its current settings under `co2monitor/<id>/up/config`
88
113
89
114
```
90
115
{
116
+
"appVersion": 1,
91
117
"altitude": 10,
92
-
"yellowThreshold": 800,
93
-
"redThreshold": 1000,
94
-
"darkRedThreshold": 2000,
118
+
"yellowThreshold": 700,
119
+
"redThreshold": 900,
120
+
"darkRedThreshold": 1200,
95
121
"ledPwm": 255,
96
-
"mac": "xxxxyyzz",
97
-
"ip": "192.168.1.2"
122
+
"mac": "xxyyzz",
123
+
"ip": "1.2.3.4",
124
+
"scd40": true,
125
+
"scd30": true,
126
+
"bme680": true,
127
+
"lcd": true,
128
+
"leds": true,
129
+
"sps30": true,
130
+
"sps30AutoCleanInt": 604800,
131
+
"sps30Status": 0,
132
+
"neopxl": 3,
133
+
"tempOffset": "7.0"
98
134
}
99
135
```
100
136
@@ -103,9 +139,9 @@ A message to `co2monitor/<id>/down/setConfig` will set the node's configuration
103
139
```
104
140
{
105
141
"altitude": 10,
106
-
"yellowThreshold": 800,
107
-
"redThreshold": 1000,
108
-
"darkRedThreshold": 2000,
142
+
"yellowThreshold": 700,
143
+
"redThreshold": 900,
144
+
"darkRedThreshold": 1200,
109
145
"ledPwm": 255
110
146
}
111
147
```
@@ -116,14 +152,28 @@ A message to `co2monitor/<id>/down/setTemperatureOffset` will set the SCD3x/SCD4
116
152
7.0
117
153
```
118
154
155
+
A message to `co2monitor/<id>/down/calibrate` will manually calibrate the SCD3x/SCD4x sensor to the given value:
156
+
157
+
```
158
+
412
159
+
```
160
+
161
+
A message to `co2monitor/<id>/down/setSPS30AutoCleanInterval` will set the SPS30 fan auto-clean interval in seconds to the given value:
162
+
163
+
```
164
+
604800
165
+
```
166
+
167
+
A message to `co2monitor/<id>/down/cleanSPS30` will run a fan clean on the SPS30.
168
+
119
169
A message to `co2monitor/<id>/down/reboot` will trigger a reset on the node.
120
170
121
171
## Supported sensors
122
172
123
173
-[SCD3x CO2, temperature and humidity sensor](https://www.sensirion.com/en/environmental-sensors/carbon-dioxide-sensors/carbon-dioxide-sensors-scd30/)
124
174
-[SCD4x CO2, temperature and humidity sensor](https://www.sensirion.com/en/environmental-sensors/carbon-dioxide-sensors/carbon-dioxide-sensor-scd4x/)
125
175
-[BME680 IAQ, VOC, temperature and humidity sensor](https://www.bosch-sensortec.com/products/environmental-sensors/gas-sensors/bme680/)
126
-
-[SPS30 Small Particulate matter sensor](https://sensirion.com/products/catalog/SPS30/) (coming soon)
176
+
-[SPS30 Small Particulate matter sensor](https://sensirion.com/products/catalog/SPS30/)
127
177
128
178
## Supported displays
129
179
@@ -152,7 +202,15 @@ A BME680 sensor can be directly soldered onto the dedicates footprint or connect
152
202
153
203
## SPS30 Particulate matter sensor
154
204
155
-
Coming soon
205
+
The SPS30 sensor can be connected to the I2C and 5V JST connectors of the pcb.
206
+
207
+
| fn | I2C | 5V | SPS30 |
208
+
| --- | --- | --- | ----- |
209
+
| VDD || +5V | 1 |
210
+
| SDA | SDA || 2 |
211
+
| SCL | SCL || 3 |
212
+
| SEL | GND || 4 |
213
+
| GND || GND | 5 |
156
214
157
215
## other
158
216
@@ -170,40 +228,45 @@ When an ESP32 is used the feather footprint can be used to drive feather wings.
170
228
171
229
A feather controller can be used to drive the sensors and LEDs, but unfortunately not the RFM96.
0 commit comments