Firmware Configuration

Last Updated on : 2022-03-29 09:38:39download

Firmware configuration includes two key items, module selection, and firmware information configuration.

Select a module

Firmware Configuration

TYZS5 module description

Model Features Details Remarks
TYZS5 1. Silicon Labs series support low-power modules.
2. Able to connect with the previous TYZS2 series.
3. Various I/O ports, suitable for a variety of products.
4. Flash memory is large enough to support OTA upgrades.
Reference Recommended sensor of Zigbee module

Configure list

Configuration on the IoT Platform

Firmware Configuration

Description

Name Configurable content Remarks
Timeout period 30s to -300s, the default is 30s. Failed access to the network after **s. The device enters the dormant state.
Reset time/s 3s to 10s, the default is 5s. Press and hold the Wi-Fi status button for **s to enable pairing mode.
Reset/pairing button The button when configuring the network, select different I/O interfaces, the default low level is active, that is, the button is pressed to the low level. If the distribution network is high, the hardware is designed to press the button to be high.
Network status indicator The indicator light during network distribution. Select different IO interfaces, the default low level is valid, that is, the low level when the indicator light is on. If the indicator is active at a high level, the hardware design of the network indicator is at a high level.
I2C clock line The temperature and humidity sensor signal output is I2C, and I/O is selected as the clock pin. The default is not configurable, there is no high and low level, only easy to display to the low level.
I2C serial data line The temperature and humidity sensor signal output is I2C, and IO is selected as the data pin. The default is not configurable, there is no high and low level, only easy to display to the low level.
Samplinginterval The interval time for the sensor to collect data regularly, 3 to 600s. The default is 300s. The shorter the interval, the higher the power consumption. The button battery is recommended to be in minutes
Periodic reporting interval After the sensor collects the same data, it will report the repeated data interval, 600 to 3600s, the default is1800s. The shorter the interval, the higher the power consumption. It is recommended to repeat the data, with an interval of more than half an hour.
Temperature threshold Each time the sample is taken, the difference between the latest sampled temperature value and the last temperature value. If this difference is exceeded, it will be reported immediately. If the difference is not exceeded, it will be reported after the regular reporting interval. The default is 0.6°C, a total of 0.3°C, 0.6 °C, 0.9°C three gears. The lower the threshold, the more sensitive the detection and reporting and the higher the power consumption.
Humidity threshold In each sampling, the difference between the latest humidity value sampled and the last humidity value. If the difference exceeds this value, it will be reported immediately. If it does not exceed this value, it will be reported after the regular reporting interval. The default is 6%, a total of 3%, 6 %, 9% three gears. The lower the threshold, the more sensitive the detection and reporting and the higher the power consumption.
Battery type Adopt the power supply battery type, support ordinary battery 3V, rechargeable battery 3.7V. Ordinary battery 3V is sampled internally, and rechargeable battery needs to be stepped down, using an external sampling.
Sampling type Internal sampling for ordinary batteries and external sampling for rechargeable batteries When the rechargeable battery uses external sampling, the pin is fixed.
Voltage maximum The full voltage collected by the load of the working belt corresponds to 100% of the battery power. Generally, 3000mV is selected for ordinary batteries, and 2100mV is generally selected for rechargeable batteries. Exceeding this voltage will also be mapped to 100%.
Voltage minimum The lowest voltage collected by the load of the working belt, which corresponds to 0% of the battery power. Generally, 2500mV is selected for ordinary batteries, and 1800mV is generally selected for rechargeable batteries. Below this voltage will also be mapped to 0%.

Sample example

Ordinary battery (standard 3V) + single lamp

Firmware Configuration

Firmware configuration

  • Network pairing method: long press for 5 seconds to pair (30 seconds timeout).

  • Pairing button: switch button-GPIO11, low-level active.

  • Single light indication: the network indicator light-GPIO12, low-level effective.

  • IIC clock pin: pin—GPIO17, fixed and unmatched.

  • IIC data pin: pin—GPIO16, fixed and unmatched.

  • Battery type: battery type-ordinary battery (standard 3V); sampling type-internal sampling.

    The maximum voltage is 3000mV, and the minimum is 2500mV.

  • Factory default state: It is recommended to disconnect the battery, that is, use the battery isolation sheet or the battery removal state.

Notes

  • This product has no dual lights or anti-tamper.

  • I2C clock pins and data pins are fixed and cannot be used as a low-level active representative.

  • If the battery type is an ordinary battery, then the sampling type selection-internal sampling.

  • The device is more sensitive and can adjust the interval, temperature threshold, and humidity threshold, but the power consumption needs to be considered comprehensively.

One lithium battery (supply voltage: 3.7V) + single light

Firmware Configuration

Firmware configuration

  • Network pairing method: long press for 5 seconds to pair (30 seconds timeout).

  • Pairing button: switch button-GPIO11, low-level active.

  • Single light indication: the network indicator light-GPIO12, low-level effective.

  • IIC clock pin: pin—GPIO17, fixed and unmatched.

  • IIC data pin: pin—GPIO16, fixed and unmatched.

  • Battery type: battery type-rechargeable battery; sampling type-external sampling; (the voltage is divided by 1/2, the recommended maximum voltage is 2100mV, the minimum voltage is 1800mV).

  • Factory default state: It is recommended to maintain certain battery power.

Notes

  • This product has no dual lights or anti-tamper.

  • I2C clock pins and data pins are fixed and cannot be used as a low-level active representative.

  • The device is more sensitive and can adjust the interval, temperature threshold, and humidity threshold, but the power consumption needs to be considered comprehensively.

  • If the battery type is a rechargeable battery, the sampling type is general—external sampling, not the voltage at both ends of the battery, then the sampling pin is selected—GPIO5; the recommended maximum voltage is 2.1V, and the minimum voltage is 1.8V.

  • If you don’t need redundant functions, please don’t configure them; if you have configured the functions, make sure that the hardware is used accordingly, otherwise, abnormalities will occur.