mirror of https://github.com/arendst/Tasmota.git
Updated Sonoff TH (markdown)
parent
8c11451bd3
commit
9f0276b093
43
Sonoff-TH.md
43
Sonoff-TH.md
|
@ -1,33 +1,32 @@
|
|||
- [Itead Product Page](https://sonoff.itead.cc/en/products/sonoff/sonoff-th)
|
||||
- [Itead Shop](https://www.itead.cc/smart-home/sonoff-th.html)
|
||||
- [Itead Wiki](https://www.itead.cc/wiki/Sonoff_TH_10/16)
|
||||
Sonoff TH10 or TH16 / Ver 2.0 (year 2017/2018/2019) based on ESP8266.
|
||||
TH10 has a relay rated to 10 amps and TH16 to 16 amps (Input voltage: 90~ 250V AC).
|
||||
## Serial Flashing
|
||||
|
||||
![](https://smartlife.tech/blog/wp-content/uploads/2017/06/SonoffTHDiagram-1.jpg)
|
||||
|
||||
**Model:**
|
||||
Sonoff TH 10 or 16 / Ver 2.0 (year 2017/2018/2019) based on ESP8266
|
||||
The 2.5mm jack socket connects to GPIO14.
|
||||
|
||||
**Led:**
|
||||
One red, one blue
|
||||
### Sonoff sensors with 2.5mm jack
|
||||
Sonoff sells 3 sensors with 2.5mm jack to use with the Sonoff TH.
|
||||
1. [Sonoff TH Sensor Si7021](https://www.itead.cc/wiki/Sonoff_Sensor_Si7021)
|
||||
2. [Sonoff TH Sensor AM2301](https://sonoff.itead.cc/en/products/accessories/am2301)
|
||||
3. [Sonoff Temp Sensor DS18B20](https://sonoff.itead.cc/en/products/accessories/ds18b20)
|
||||
|
||||
**Button:**
|
||||
One button connected to GPIO 0
|
||||
Length of the wire is approximately 47cm apart from DS18b20 sensor that comes with approximately 1m long wire. Can be extended with a Sonoff 5m sensor extension cable.
|
||||
|
||||
**One relay:**
|
||||
Sonoff TH with relay rated to 10 or 16 amps (Input voltage: 90~ 250V AC)
|
||||
**NOTE!!!**
|
||||
Normally a Si7021 sensor is an I<sup>2</sup>C device. The Sonoff labelled Si7021 sensor is BASED on an Si7021, but, to make this sensor plug'n'play on a Sonoff TH an 8-bit MCU is added on the board. This changes the I<sup>2</sup>C communication of an Si7021 sensor to one-wire communication! That is why a "Sonoff SI7021 sensor" doesn't work in combination with a I<sup>2</sup>C library.
|
||||
|
||||
**One jack socket 2.5mm:**
|
||||
The jack socket marks most important difference to the model "Sonoff Basic"(year 2017 to 2019). The jack socket connects to GPIO14.
|
||||
Tasmota supports Sonoff TH with all three Sonoff sensors. Just select module **Sonoff TH (4)** and under GPIO14 configure the sensor you have connected.
|
||||
|
||||
**Sonoff sensors with 2.5mm jack:**
|
||||
Sonoff sells 3 sensors with 2.5mm jack to use with the Sonoff TH. Sonoff TH Sensor Si7021 / Sonoff TH Sensor-AM2301 / Sonoff Temp Sensor-DS18B20. Length of the wires are approximately 47cm. The DS18b20 sensor comes with a wire length of approximately 1m.
|
||||
### NOT SUPPORTED
|
||||
Si7021 sensor contains an integrated resistive heating element that may be used to drive off condensation. It's recommended enabling the heater when the humidity readings are above 80%. Humidity readings above 80% become very unreliable. If the "Sonoff Si7021 sensor" is used at the dew point and condensation occurs on the sensor, the on-chip heater could be activated to dry the sensor and restore operation once the sensor is above the dew point. Turning on the heater will also reduce the tendency of the humidity sensor to accumulate an offset due to "memory" of sustained high humidity conditions. Six different power levels are available. The maximum source current of a GPIO pin on an ESP8266 is about 12mA. So the first power level of 3.09mA and second power level of 9.18mA would be theoretically usable.
|
||||
|
||||
**It's important to clarify: Out of the box a Si7021 sensor is a I<sup>2</sup>C device. The "Sonoff Si7021 sensor" is BASED on an Si7021. But to make this sensor plug&play on a Sonoff Th together with the other two sensors sold by Sonoff, an 8-bit MCU is added on the board. This changes the I<sup>2</sup>C communication of an Si7021 sensor over to a 1-wire communication!** That's why a "Sonoff SI7021 sensor" doesn't work in combination with a I<sup>2</sup>C library.
|
||||
|
||||
Tasmota supports Sonoff TH with all three Sonoff sensors. Sonoff Si7021 / Sonoff TH Sensor-AM2301 / Sonoff Temp Sensor-DS18B20. Just choose o the web interface Sonoff TH and select under GPIO14 the sensor you have connected.
|
||||
|
||||
**NOT SUPPORTED up to now:** The Si7021 contains an integrated resistive heating element that may be used to drive off condensation. It's recommend enabling the heater when the humidity readings are >80%. Humidity readings >80% become very unreliable. If the "Sonoff Si7021 sensor" is used at the dew point and condensation occurs on the sensor, the on-chip heater could be activated to dry the sensor and restore operation once the sensor is above the dew point. Turning on the heater will also reduce the tendency of the humidity sensor to accumulate an offset due to "memory" of sustained high humidity conditions. Six different power levels are available. The maximum source current of a GPIO pin on an ESP8266 is about 12mA. So the first power level of 3.09mA and second power level of 9.18mA would be theoretically usable.
|
||||
|
||||
Keep that in mind if you use this "Sonoff Si7021 sensor" outdoors! Maybe in the future Tasmota finds also a way to support the important heater feature of a "Sonoff Si7021 sensor" .
|
||||
Keep that in mind if you use this "Sonoff Si7021 sensor" outdoors!
|
||||
|
||||
[Si7021 Datasheet](https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf)
|
||||
|
||||
## Official Sources
|
||||
- [Itead Product Page](https://sonoff.itead.cc/en/products/sonoff/sonoff-th)
|
||||
- [Itead Shop](https://www.itead.cc/smart-home/sonoff-th.html)
|
||||
- [Itead Wiki](https://www.itead.cc/wiki/Sonoff_TH_10/16)
|
||||
|
|
Loading…
Reference in New Issue