Last Updated on : 2024-11-20 08:51:40
This topic describes the common questions about smart sensors to help you troubleshoot problems.
For the MCU SDK solution, the module is powered off when entering an idle state. The MCU can control the on/off state of the module. It communicates with the module through a serial protocol.
For the SoC solution, sensors run in deep sleep mode when entering an idle state. You can wake it up from deep sleep by either AON timer interrupt or GPIO interrupt.
If you want to connect your MCU with Tuya’s network module through the MCU SDK, submit a service ticket.
0
.0
.For the SoC solution, the internal low-frequency oscillator acts as the clock when the sensor sleeps. It performs calibration every two seconds. The maximum calibration frequency is two seconds. You can adjust it through the register.
Our test result indicates that a 10-hour wake-up timer can have a time drift of 25 seconds.
For the MCU SDK solution, the MCU sends a command to accept an update, then powers the module off and waits for a confirmation from the mobile app. The module performs the update on receiving the confirmation. After the update is installed, the MCU powers the module off.
For the SoC solution, a manual operation can make the sensor’s LED indicator steady on, meaning the module is waiting 60 seconds for an update confirmation from the mobile app. The LED indicator will be off after the module receives the confirmation and starts downloading the update. If the download times out after 120 seconds, the module enters sleep mode.
The manual operation indicates that after the sensor wakes up, the user needs to press a specific button five times within three seconds.
For SoC sensors, the contributing factors to calculating the theoretical daily battery usage include the total time from waking up to reporting data until entering sleep mode, the average current in this process, the times of daily wake-up, and restarts due to wake-up timer. Assume that the total time from waking up to reporting data until entering sleep mode is 12 seconds, the average current in this process is 73 mA, and the times of daily wake-up is 10. Then, the theoretical daily battery usage ((12 × 73) mAs) × 10 × 2 ÷ 3,600 = 4.87 mAh
. Assume 80% of the capacity of the two dry batteries is available. We get the theoretical battery life: 1,500 × 2 × 0.8 ÷ 4.87 = 492 h
.
If the network performance is poor, the sensor will enable a 40-second timer to verify if its connection with the router is active. If getting no response within 40 seconds, the sensor enters sleep mode and its LED indicator will be steady on for 10 seconds to indicate an offline status.
You can use a buck-boost converter to provide a stable 3.3V supply.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback