mirror of https://github.com/arendst/Tasmota.git
AZ7798
parent
c541db8d66
commit
66f5ee6436
|
@ -1,10 +1,19 @@
|
||||||
## AZ7798 CO<sub>2</sub> Meter/Datalogger (Serial)
|
**This feature is not included in precompiled binaries.**
|
||||||
|
To use it you must [compile your build](compile-your-build). Add the following to `user_config_override.h`:
|
||||||
|
```
|
||||||
|
#ifndef USE_AZ7798
|
||||||
|
#define USE_AZ7798 // Add support for AZ-Instrument 7798 CO2 datalogger (+1k6 code)
|
||||||
|
#endif
|
||||||
|
```
|
||||||
|
----
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-front.jpg" align=right width=240>
|
<img src="https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-front.jpg" align=right width=240>
|
||||||
|
|
||||||
The AZ7798 CO<sub>2</sub> Meter/Datalogger appears to be made by [AZ Instrument](https://www.az-instrument.com.tw), but other branded versions also exist.
|
The AZ7798 CO<sub>2</sub> Meter/Datalogger appears to be made by [AZ Instrument](https://www.az-instrument.com.tw), but other branded versions exist.
|
||||||
|
|
||||||
The CO<sub>2</sub> meter is already provided with a PC interface in the form of a logic-level (3V3) serial port, accessible through a 2.5mm stereo jack on the back. The Wemos D1 Mini is connected to this serial port instead, and the PC interface is no longer available.
|
The CO<sub>2</sub> meter is already provided with a PC interface in the form of a logic-level (3V3) serial port, accessible through a 2.5mm stereo jack on the back. The Wemos D1 Mini is connected to this serial port instead, and the PC interface is no longer available.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
### Connecting the AZ7798 to a Wemos D1 Mini
|
### Connecting the AZ7798 to a Wemos D1 Mini
|
||||||
|
|
||||||
The Wemos D1 Mini is fitted inside the meter enclosure. This requires the enclosure to be opened. There are four screws. Two of the screws are hidden behind the type label. Use the tip of a small knife to cut holes in the label.
|
The Wemos D1 Mini is fitted inside the meter enclosure. This requires the enclosure to be opened. There are four screws. Two of the screws are hidden behind the type label. Use the tip of a small knife to cut holes in the label.
|
||||||
|
@ -28,16 +37,14 @@ The power supply for the Wemos D1 Mini is taken directly from the power supply f
|
||||||
|
|
||||||
Make a small right-angle bracket for mounting the Wemos D1 Mini to the meter board. Use double-sided tape to hold everything together.
|
Make a small right-angle bracket for mounting the Wemos D1 Mini to the meter board. Use double-sided tape to hold everything together.
|
||||||
|
|
||||||
### Tasmota Configuration
|
### Tasmota
|
||||||
|
|
||||||
In the Configuration -> Configure Module page, select the following for Wemos D1 Mini:
|
In the _Configuration -> Configure Module_ page assign:
|
||||||
1. **Module Type:** Generic (18)
|
1. D1 TX to `AZ Tx (117)`
|
||||||
2. **TX GPIO1 Serial Out:** AZ Tx (117)
|
2. D3 RX to `AZ Rx (118)`
|
||||||
3. **RX GPIO3 Serial In:** AZ Rx (118)
|
|
||||||
|
|
||||||
![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-configure.png)
|
![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-configure.png)
|
||||||
|
|
||||||
### Tasmota Main
|
|
||||||
After reboot of the device the AZ7798 measurements are shown.
|
After reboot of the device the AZ7798 measurements are shown.
|
||||||
|
|
||||||
![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-main.png)
|
![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-main.png)
|
|
@ -10,7 +10,7 @@ More about [general configuration](Sensor-Configuration).
|
||||||
- [**AM2301 (DHT21), AM2302 (DHT22), AM2321)**](AM2301) - Temperature and Humidity Sensor (single wire)
|
- [**AM2301 (DHT21), AM2302 (DHT22), AM2321)**](AM2301) - Temperature and Humidity Sensor (single wire)
|
||||||
- [**AM312**](PIR-Motion-Sensors#AM312) - PIR Motion Sensor (single wire)<img src="https://i.postimg.cc/qRLyPy1n/APDS-9960-1-720x533.jpg" align=right>
|
- [**AM312**](PIR-Motion-Sensors#AM312) - PIR Motion Sensor (single wire)<img src="https://i.postimg.cc/qRLyPy1n/APDS-9960-1-720x533.jpg" align=right>
|
||||||
- [**APDS-9960**](APDS-9960) - Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
|
- [**APDS-9960**](APDS-9960) - Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
|
||||||
- [**AZ-7798**](Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger) - CO<sub>2</sub> Meter Datalogger
|
- [**AZ 7798**](AZ-7798) - CO<sub>2</sub> Meter Datalogger
|
||||||
- [**BH1750**](BH1750) - Luminosity Sensor
|
- [**BH1750**](BH1750) - Luminosity Sensor
|
||||||
- [**BMP280 (BMP085, BMP180)**](BME280) - Pressure Sensor
|
- [**BMP280 (BMP085, BMP180)**](BME280) - Pressure Sensor
|
||||||
- [**BME280**](BME280) - Temperature, Humidity and Pressure Sensor
|
- [**BME280**](BME280) - Temperature, Humidity and Pressure Sensor
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
- **ADS1x15** A/D Converter (I<sup>2</sup>C)
|
- **ADS1x15** A/D Converter (I<sup>2</sup>C)
|
||||||
- [**AM312**](PIR-Motion-Sensors#AM312) PIR Motion Sensor
|
- [**AM312**](PIR-Motion-Sensors#AM312) PIR Motion Sensor
|
||||||
- [**APDS-9960**](APDS-9960) Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
|
- [**APDS-9960**](APDS-9960) Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
|
||||||
- [**AZ-7798**](Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger) CO<sub>2</sub> Meter Datalogger
|
- [**AZ-7798**](AZ 7798) CO<sub>2</sub> Meter Datalogger
|
||||||
- [**BH1750**](BH1750) Luminosity Sensor
|
- [**BH1750**](BH1750) Luminosity Sensor
|
||||||
- [**BME280 (BMP085, BMP180, BMP280, BME280)**](BME280) Temperature, Humidity and Pressure Sensor
|
- [**BME280 (BMP085, BMP180, BMP280, BME280)**](BME280) Temperature, Humidity and Pressure Sensor
|
||||||
- [Sonoff Basic Wiring](Sonoff-Basic-and-BME280)
|
- [Sonoff Basic Wiring](Sonoff-Basic-and-BME280)
|
||||||
|
|
Loading…
Reference in New Issue