mirror of https://github.com/arendst/Tasmota.git
sds011 changes
parent
9579df7436
commit
8b79a485eb
|
@ -264,7 +264,7 @@ HumRes<a id="HumRes"></a>|Humidity sensor resolution<BR>`0..3` = maximum number
|
|||
PressRes<a id="PressRes"></a>|Pressure sensor resolution<BR>`0..3` = maximum number of decimal places
|
||||
Sensor13<a id="Sensor13"></a>|[INA219](http://www.ti.com/product/INA219) low voltage current sensor calibration mode<BR>`0` = set INA219 calibration to max 32V and 2A<BR>`1` = set INA219 calibration to max 32V and 1A<BR>`2` = set INA219 calibration to max 16V and 0.4A
|
||||
Sensor15<a id="Sensor15"></a>|[Automatic Baseline Correction](https://github.com/arendst/Tasmota/blob/c97ea4d9176eb7e87abff5f963a0f1c60f0a5e52/sonoff/xsns_15_mhz19.ino#L47) for [MH-Z19B](MH-Z19B) CO<sub>2</sub> sensor<BR>`0` = disabled<BR>`1` = enabled *(default)*<BR>`2` = disable and start manual calibration from 400 ppm of CO<sub>2</sub><BR>`9` = reset sensor to factory defaults<BR>`1000` = sets measurement range to 1000ppm CO<sub>2</sub><BR>`2000` = sets measurement range to 2000ppm CO<sub>2</sub><BR>`3000` = sets measurement range to 3000ppm CO<sub>2</sub><BR>`5000` = sets measurement range to 5000ppm CO<sub>2</sub>
|
||||
Sensor20<a id="Sensor20"></a>|[Nova Fitness SDS011](Wemos-D1-Mini-and-Nova-Fitness-SDS011-Laser-Dust-Sensor) dust sensor.  »6.5.0.3<BR>1..255` = number of seconds before TelePeriod to poll the sensor
|
||||
Sensor20<a id="Sensor20"></a>|[Nova Fitness SDS011](SDS011) dust sensor.  »6.5.0.3<BR>1..255` = number of seconds before TelePeriod to poll the sensor
|
||||
Sensor27<a id="Sensor27"></a>|[APDS-9960](APDS-9960) sensor commands<BR>`0` = enable light level and proximity sensor / disable gestures *(default)* <BR> `1` = enable gesture mode/ disable light level and proximity sensor<BR> `2` = enable gestures with half gain / disable light and proximity sensor<BR>`3..255` = Set [ATIME register](APDS-9960#known-issues) for different integration times
|
||||
Sensor29<a id="Sensor29"></a>|MCP23008 / MCP23017 I<sup>2</sup>C GPIO Expander configuration ([additional details](MCP230xx))<BR>`Reset<x>` = reset all pins<BR>x = `1..6`<BR>`1` = INPUT mode, no reporting, no pull-up<BR>`2` = INPUT mode, report on CHANGE, pull-up enabled<BR>`3` = INPUT mode, report on LOW, pull-up enabled<BR>`4` = INPUT mode, report on HIGH, pull-up enabled<BR>`5` = OUTPUT mode (if enabled by `#define USE_MCP230xx_OUTPUT`)<BR>`6` = inverted OUTPUT mode (if enabled by `#define USE_MCP230xx_OUTPUT`)<BR><BR>`pin,pinmode{,intpullup\|outstate{,repmode}}`<br>[Continue reading...](MCP230xx#device-configuration)
|
||||
Sensor34<a id="Sensor34"></a>|  »6.6.0<BR>[HX711 load cell](https://github.com/bogde/HX711) sensor calibration<BR>`1` = reset display to 0<BR>`2` = start calibration<BR>`2` `<value>` = set reference weight in grams and start calibration<BR>`3` = show reference weight in grams<BR>`3` `<value>` = set reference weight in grams<BR>`4` = show calibrated scale value<BR>`4` `<value>` = set calibrated scale value<BR>`5` = show max weight in gram<BR>`5` `<value>` = set max weight in grams<BR>`6` = show single item weight in grams<BR>`6` `<value>` = set single item weight in grams. Once the item weight is set, when items are added to the scale, the telemetry message will report `Count` as the number of items on the scale<BR>`7` = save current weight to be used as start weight on restart<BR>`8` `0/1`   »6.6.0.13<BR> `0` = disable JSON message on weight change over 4 grams<BR> `1` = enable JSON message on weight change over 4 grams
|
||||
|
|
|
@ -56,7 +56,7 @@ More about [general configuration](Sensor-Configuration).
|
|||
- **SCD30** - CO<sub>2</sub> sensor (I<sup>2</sup>C)
|
||||
- **SDM120** - Modbus Energy Meter (serial)
|
||||
- **SDM630** - Modbus Energy Meter (serial)
|
||||
- [**SDS011 (SDS021)**](Wemos-D1-Mini-and-Nova-Fitness-SDS011-Laser-Dust-Sensor) - Laser Dust Sensor
|
||||
- [**SDS011 (SDS021)**](SDS011) - Laser Dust Sensor
|
||||
- **SGP30** - Gas and Air Quality sensor (I<sup>2</sup>C)
|
||||
- **SHT1x** - Temperature and Humidity sensor (I<sup>2</sup>C)
|
||||
- [**SHT30**](Wemos-D1-Mini-and-SHT30-Shield-High-Precision-Humidity-&-Temperature) - Humidity & Temperature Sensor
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/pm2.5_sensor_sds011.jpg" align=right width=300>
|
||||
|
||||
Nova PM Sensor SDS011 can measure the air quality very accurately by measuring air particles or dust based on laser detection.
|
||||
|
||||
Specifications:
|
||||
|
||||
* Voltage: 4.7 - 5.3V DC (5V DC with <20mV ripple advised)
|
||||
* Power consumption: 70mA ±10mA (in operation), <4mA (laser and fan sleep mode)
|
||||
* Measuring range: 0.0-999.9 μg/m3
|
||||
* PM2.5 and PM10 output
|
||||
|
||||
See [manufacturer site](http://www.inovafitness.com/en/a/chanpinzhongxin/95.html) for more information.
|
||||
|
||||
## Configuration
|
||||
### Wiring
|
||||
|
||||
| SDS011 | ESP8266 |
|
||||
|---|---|
|
||||
|GND |GND |
|
||||
|5V |5V |
|
||||
|TX |GPIO RX |
|
||||
|RX |GPIO TX |
|
||||
|
||||
### Tasmota
|
||||
In the _Configuration -> Configure Module_ page assign:
|
||||
1. GPIO RX to `SDS0X1 Tx (101)`
|
||||
2. GPIO TX to `SDS0X1 Rx (70)`
|
||||
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_sds0x1_config_marked.jpg" width=300>
|
||||
|
||||
### Tasmota Main
|
||||
After reboot of the device the displays the SDS011 measurements.
|
||||
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_sds0x1_main_marked.jpg" width=300>
|
||||
|
||||
### OpenHab
|
||||
|
||||
```sensors.items
|
||||
Number Dust_Sensor_2_5 "PM 2.5 [%.2f µg/m³]" <door> (Dust) {mqtt="<[mosquitto:tele/dust/SENSOR:state:JSONPATH($.SDS0X1['PM2.5'])]"}
|
||||
Number Dust_Sensor_10 "PM 10 [%.2f µg/m³]" <door> (Dust) {mqtt="<[mosquitto:tele/dust/SENSOR:state:JSONPATH($.SDS0X1['PM10'])]"}
|
||||
```
|
|
@ -47,7 +47,7 @@
|
|||
- **SCD30** CO<sub>2</sub> sensor (I<sup>2</sup>C)
|
||||
- **SDM120** Modbus Energy Meter (Serial)
|
||||
- **SDM630** Modbus Energy Meter (Serial)
|
||||
- [**SDS011 (SDS021)**](Wemos-D1-Mini-and-Nova-Fitness-SDS011-Laser-Dust-Sensor) Laser Dust Sensor
|
||||
- [**SDS011 (SDS021)**](SDS011) Laser Dust Sensor
|
||||
- **SGP30** Gas and Air Quality sensor (I<sup>2</sup>C)
|
||||
- **SHT1x** Temperature and Humidity sensor (I<sup>2</sup>C)
|
||||
- [**SHT30**](Wemos-D1-Mini-and-SHT30-Shield-High-Precision-Humidity-&-Temperature) Humidity & Temperature Sensor
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
## Nova Fitness SDS011 PM2.5 PM10 Laser Dust Sensor (Serial)
|
||||
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/pm2.5_sensor_sds011.jpg" align=right width=300>
|
||||
|
||||
The SDS011 using principle of laser scattering,can get the particle concentration between 0.3 to 10µm in the air. It with digital output and built-in fan is stable and reliable.
|
||||
|
||||
Accurate and Reliable: laser detection, stable, good consistency;
|
||||
Quick response: response time is less than 10 seconds when the scene changes;
|
||||
Easy integration: UART output (or IO output can be customized), fan built-in;
|
||||
High resolution: resolution of 0.3µg/m3;
|
||||
|
||||
Measurementparameters PM2.5, PM10
|
||||
Range 0.0-999.9µg /m3
|
||||
Rated voltage 5V
|
||||
Rated current 70mA±10mA
|
||||
|
||||
See [Nova Fitness SDS011 PM2.5 PM10 Laser Dust Feinstaub Sensor](https://inovafitness.de/produkt/sds011) (German) for more information.
|
||||
|
||||
### Connecting the SDS011 to a Wemos Mini D1
|
||||
|
||||
| Wemos | SDS011 |
|
||||
|---|---|
|
||||
|GND |GND |
|
||||
|5V |5V |
|
||||
|TX (gpio01) |RX |
|
||||
|RX (gpio03) |TX |
|
||||
|
||||
### Tasmota Configuration
|
||||
In the Configuration -> Configure Module page, select the following:
|
||||
1. **Module Type : 18 Generic**
|
||||
2. **TX (GPIO01) Serial Out : 101 SDS0X1 Tx**
|
||||
3. **RX (GPIO03) Serial In : 70 SDS0X1 Rx**
|
||||
|
||||
_Readings are performed every teleperiod seconds (Tasmota Default is 300 seconds = 5 min)._
|
||||
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_sds0x1_config_marked.jpg" width=300>
|
||||
|
||||
### Tasmota Main
|
||||
After reboot of the device the displays the SDS011 measurements.
|
||||
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_sds0x1_main_marked.jpg" width=300>
|
||||
|
||||
### OpenHab configuration
|
||||
|
||||
```sensors.items
|
||||
Number Dust_Sensor_2_5 "PM 2.5 [%.2f µg/m³]" <door> (Dust) {mqtt="<[mosquitto:tele/dust/SENSOR:state:JSONPATH($.SDS0X1['PM2.5'])]"}
|
||||
Number Dust_Sensor_10 "PM 10 [%.2f µg/m³]" <door> (Dust) {mqtt="<[mosquitto:tele/dust/SENSOR:state:JSONPATH($.SDS0X1['PM10'])]"}
|
||||
```
|
Loading…
Reference in New Issue