MHZ19B added

Raymond Mouthaan 2018-05-08 14:05:41 +02:00
parent 8479206ff9
commit fe72921478
1 changed files with 41 additions and 5 deletions

@ -292,12 +292,10 @@ After reboot of the device the displays the HC-SR04 distance.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_hc-sr04_main_marked.jpg" width=300>
## Nova Fitness SDS011 PM2.5 PM10 Laser Dust Sensor
## 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>
Nova Fitness SDS011 PM2.5 PM10 Laser Dust Sensor
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;
@ -320,7 +318,6 @@ Connecting the SDS011 to a Wemos Mini D1.
|5V |5V |
|RX (gpio03) |TX |
In the Configuration -> Configure Module page, select the following:
1. **Module Type : 18 Generic**
2. **RX (GPIO03 : 66 SDS0X1**
@ -329,4 +326,43 @@ In the Configuration -> Configure Module page, select the following:
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>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_sds0x1_main_marked.jpg" width=300>
## MH-Z19B CO2 sensor (Serial)
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/mhz19b-co2-sensor-front.jpg" align=right width=225>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/mhz19b-co2-sensor-back.jpg" align=right width=225>
The MH-Z19 sensor is manufactured by Winsen Lt., China and the measurement method used is based on the non-dispersive infrared (NDIR) principle to detect the existence of CO2 in the air.
Key features according to the manufacturer are:
- good sensitivity.
- non-oxygen dependent.
- long life.
- built-in temperature compensation.
- UART serial interface and Pulse Width Modulation (PWM) output.
Principle of operation:
The main components of an NDIR sensor are an infrared source (lamp), a sample chamber or light tube, a light filter and an infrared detector. The IR light is directed through the sample chamber towards the detector. In parallel there is another chamber with an enclosed reference gas, typically nitrogen. The gas in the sample chamber causes absorption of specific wavelengths according to the BeerñLambert law, and the attenuation of these wavelengths is measured by the detector to determine the gas concentration. The detector has an optical filter in front of it that eliminates all light except the wavelength that the selected gas molecules can absorb.
Buy example: [MH-Z19B-Infrared-CO2-Sensor-for-CO2-Monitor-NDIR-Gas-Sensor-CO2-gas-sensor](https://de.aliexpress.com/item/MH-Z19B-Infrared-CO2-Sensor-for-CO2-Monitor-NDIR-Gas-Sensor-CO2-gas-sensor/32823821163.html?ws_ab_test=searchweb0_0,searchweb201602_4_10320_10152_10321_10065_10709_10151_10344_10068_5722815_10342_10547_10343_10322_10340_10341_10548_5722915_10193_5722615_10696_10194_10084_10083_10618_10304_10307_10710_10302_5722715_10180_5711215_10059_10184_308_100031_10319_10103_10624_10623_10622_10186_5711315_5722515_10621_10620,searchweb201603_25,ppcSwitch_5&algo_expid=7a99f4de-3d10-4a1a-bd67-88f95132b1a4-0&algo_pvid=7a99f4de-3d10-4a1a-bd67-88f95132b1a4&priceBeautifyAB=0)
Operating current < 18mA average
Connecting the MHZ19B to a Wemos Mini D1.
| Wemos | SDS011 |
|---|---|
|VCC +5V | Vin |
|GND | GND |
|TX (gpio01) |RX |
|RX (gpio03) |TX |
In the Configuration -> Configure Module page, select the following:
1. **Module Type : 18 Generic**
2. **TX GPIO01 : 56 MHZ Tx**
3. **RX GPIO03 : 57 MHZ Rx**
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_mhz19b_config_marked.jpg" width=300>
After reboot of the device the displays the MHZ-19B measurements.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_mhz19b_main_marked.jpg" width=300>