Last Updated on : 2024-11-20 08:51:39download
This topic describes how to perform a production test on the no-code development solution of SoC-based infrared (IR) thermostats.
The SoC-based IR thermostat product solution provides two test processes with multiplexing configurations.
Multiplexing: Start the test, read the module firmware information, and then perform tests of the Wi-Fi LED, reset button, IR LED, IR transmission, IR reception, temperature and humidity sensor, and Wi-Fi signal strength detection.
Non-multiplexing: Start the test, read the module firmware information, and then perform tests of the Wi-Fi LED, power LED, reset button, power button, IR LED, IR transmission, IR reception, temperature and humidity sensor, and Wi-Fi signal strength detection.
Place the device under test (DUT) within five meters away from the router without any obstacles.
Within the Wi-Fi coverage area of the same router, make sure that no more than 200 products are tested at the same time, in order to reduce the mutual interference between devices. If you have more than 200 products to test, we recommend that you test them in batches.
In the test environment, use as few non-test routers as possible to reduce interference, thus speeding up the test.
Remove the flag of testing done from DUTs that have been paired for more than 15 minutes.
Remove the connected paired devices from the Smart Life app and power them off 10 seconds later.
At least two devices are required for IR transmitting and receiving tests.
Devices
Device | Quantity | Remarks |
---|---|---|
Device under test | As per your needs | / |
2.4 GHz router for test | One set | Internet connection is not required and a password is optional. |
Deployment
Start the router, place it from DUTs within five meters, and set the router’s SSID to tuya_mdev_test1
.
The following figure shows how to perform a test on SoC-based IR thermostats with non-multiplexing configurations.
The following figure shows how to perform a test on SoC-based IR thermostats with multiplexing configurations.
Test process of the Wi-Fi LED
With the router turned on, the Wi-Fi LED blinks quickly after the device is powered on.
Test process of the power LED
With the router turned on, the power LED blinks slowly.
Test process of the reset button
With the router turned on, the electrical level changes after the reset button is pressed.
Test process of the power button
With the router turned on, the electrical level changes after the power button is pressed.
Test process of the IR LED
After the test is started, press a specified button to turn on the IR LED, and use a camera that contains a charged-coupled device (CCD) to align with the IR LED. You can see the IR LED blinks at an interval of one second for a total of five times consecutively.
Test process of IR transmission and reception
IR transmission: During the test, the primary device receives a 6-byte MAC address sent by the host, and sends the data based on the parsing protocol. The test is passed after the data transmission is completed.
IR reception: During the test, the primary device receives a 6-byte MAC address sent by the secondary device, parses the data, and compares it with the internal raw data. The test is passed if the compared data matches.
Test process of the temperature & humidity sensor
Under normal environmental conditions, the temperature and humidity sensor can collect the temperature data ranging from 0 to 50°C, and the humidity data ranging from 0 to 50%. The data range can be modified to suit the actual test environment.
Test process of Wi-Fi signal strength
During the test, the test software reads the Wi-Fi signal strength, and the module returns the Wi-Fi signal strength value. The test is passed if the value falls between -60 dBm and -10 dBm.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback