diff --git a/Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger.md b/AZ-7798.md similarity index 83% rename from Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger.md rename to AZ-7798.md index daf52ed4..852f2f8f 100644 --- a/Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger.md +++ b/AZ-7798.md @@ -1,10 +1,19 @@ -## AZ7798 CO2 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 +``` +---- + -The AZ7798 CO2 Meter/Datalogger appears to be made by [AZ Instrument](https://www.az-instrument.com.tw), but other branded versions also exist. +The AZ7798 CO2 Meter/Datalogger appears to be made by [AZ Instrument](https://www.az-instrument.com.tw), but other branded versions exist. The CO2 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 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. -### Tasmota Configuration +### Tasmota -In the Configuration -> Configure Module page, select the following for Wemos D1 Mini: -1. **Module Type:** Generic (18) -2. **TX GPIO1 Serial Out:** AZ Tx (117) -3. **RX GPIO3 Serial In:** AZ Rx (118) +In the _Configuration -> Configure Module_ page assign: +1. D1 TX to `AZ Tx (117)` +2. D3 RX to `AZ Rx (118)` ![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-configure.png) -### Tasmota Main After reboot of the device the AZ7798 measurements are shown. ![](https://raw.githubusercontent.com/wiki/adebeun/Sonoff-Tasmota/az7798-main.png) diff --git a/Peripherals.md b/Peripherals.md index 30ad2e90..6c6f224b 100644 --- a/Peripherals.md +++ b/Peripherals.md @@ -10,7 +10,7 @@ More about [general configuration](Sensor-Configuration). - [**AM2301 (DHT21), AM2302 (DHT22), AM2321)**](AM2301) - Temperature and Humidity Sensor (single wire) - [**AM312**](PIR-Motion-Sensors#AM312) - PIR Motion Sensor (single wire) - [**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) - CO2 Meter Datalogger +- [**AZ 7798**](AZ-7798) - CO2 Meter Datalogger - [**BH1750**](BH1750) - Luminosity Sensor - [**BMP280 (BMP085, BMP180)**](BME280) - Pressure Sensor - [**BME280**](BME280) - Temperature, Humidity and Pressure Sensor diff --git a/Supported-sensors.md b/Supported-sensors.md index 71e7f49e..39605606 100644 --- a/Supported-sensors.md +++ b/Supported-sensors.md @@ -3,7 +3,7 @@ - **ADS1x15** A/D Converter (I2C) - [**AM312**](PIR-Motion-Sensors#AM312) PIR Motion Sensor - [**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) CO2 Meter Datalogger +- [**AZ-7798**](AZ 7798) CO2 Meter Datalogger - [**BH1750**](BH1750) Luminosity Sensor - [**BME280 (BMP085, BMP180, BMP280, BME280)**](BME280) Temperature, Humidity and Pressure Sensor - [Sonoff Basic Wiring](Sonoff-Basic-and-BME280)