Bluetooth LE Lights Production Test

Last Updated on : 2022-06-07 07:45:46download

This topic describes how to perform production tests on a single Bluetooth LE lighting product. The test items mainly include the Bluetooth LE function and the communication capability between the module and the control board.

Background information

The process of production tests on no-code solutions for the Bluetooth LE lighting is classified into pre-aging production tests and post-aging production tests. The pre-aging production test can only be performed once, and it cannot be performed again after it is completed. The post-aging production test can be repeated, but it can only be performed after the pre-aging production test is completed.

Scope of application

It applies to no-code solutions for Bluetooth LE multi-color and white light whose firmware supports the new production test process (the post-aging production test can be repeated).

Indicator of successful production test

  • Cool white light:: The brightness changes from the dimmest to the brightest and to the dimmest in cycles with a duration of one second for each brightness level.
  • Cool and warm white light: The light changes from cold light to warm light in sequence, and the brightness changes from the dimmest to the brightest and to the dimmest in cycles with a duration of one second for each brightness level.
  • Multi-color light (RGB): The light change from red to green and to blue in sequence, and the brightness changes from the dimmest to the brightest and to the dimmest in cycles with a duration of one second for each brightness level.
  • Cool white and multi-color light (RGBW): The light changes from red to green to blue and to cold light in sequence, and the brightness changes from the dimmest to the brightest and to the dimmest in cycles with a duration of one second for each brightness level.
  • Cool and warm white and multi-color light (RGBCW): The light changes from red to green to blue, to cold light and to warm light in sequence, and the brightness changes from the dimmest to the brightest and to the dimmest in cycles with a duration of one second for each brightness level.

Preparation

Device preparation

Device Quantity Notes
Products under test One /
Bluetooth LE beacon One Only one beacon can exist in the test environment.

Things to note

  • Place the beacon no more than 10 meters away from the device under test without any obstacles.

    Note: When using the surrounding aging rack for production testing, make sure that the device under test will not be blocked by metal or surrounded by other products.

  • Remove the paired devices from the Tuya Smart app, Smart Life app, or OEM app, and wait 10 seconds to power off the device.
  • The pre-aging production test can only be performed once, and it cannot be performed again after it is completed. The post-aging production test can be repeated, but it can only be performed after the pre-aging production test is completed.

Flowchart of the production test

  • The process of the production test for cool white light
    Bluetooth LE Lights Production Test
  • The process of the production test for cool and warm white light
    Bluetooth LE Lights Production Test
  • The process of the production test for RGB light
    Bluetooth LE Lights Production Test
  • The process of the production test for RGBW light
    Bluetooth LE Lights Production Test
  • The process of the production test for RGBCW light
    Bluetooth LE Lights Production Test

Procedure

This section uses the RGBCW light as an example to describe the test procedure. For more information about the production tests on other lights, see the flowcharts above and the production test procedure below.

Pre-aging test

  1. Power on all the lights under test and check whether the lights are in normal initial status (Whether they are always on or flickering quickly after power-on).
    • If the light is in normal initial status, proceed with the next step.
    • If some lights appear abnormal initial status, wait 15 seconds to power on all the lights again. If the abnormal lights still appear after power-on, consider them as faulty devices.
  2. When the light is in the normal initial status, power off the light.
  3. Power on the Bluetooth LE beacon.
  4. Power on the light, and wait for the module to automatically search for the production test beacon.
  5. Check whether the module is authorized.
    • Authorized: The lights are in a cycle status for two minutes. The cycle status: Red for one second, green for one second, blue for one second, cold light for one second, and warm light for one second. The brightness value of the light is 100% during the whole cycle.

      Note:

      • If the lights are powered off within two minutes after entering the cycle and then powered on, the timing of the cycle status will restart.
      • If the light under test is a semi-finished product and you do not want the light to enter the aging process, it must be powered off within two minutes after entering the cycle.

    • Authorization fails: The lights flicker slowly. You can consider the slowly flickering light as faulty devices.
  6. Wait until the cycle runs for two minutes, and observe the status of the light.
    The light changes from red to green to blue to cool white to warm white in cycle five times. When the cool white light is always on, the product enters the aging process. During the aging process, the lights will be in cool white light for 20 minutes, warm white light for 20 minutes, and multi-color light for 10 minutes.
  7. After the aging process is completed, observe the status of the light.
    At this point, the light should be dimly green. Otherwise, the light is considered faulty.
  8. Power off the normal lights.
    At this point, the pre-aging test process is completed.

Post-aging production test

  1. Refer to step 1 to step 5 of the pre-aging production test to check whether the module is authorized successfully (Whether the light are in a cycle status).
    The cycle status: The lights change colors from red to green, to blue, to cold light, and to warm light in sequence. The brightness changes from the dimmest to the brightest and to the dimmest with a duration of one second for each brightness level.
  2. If the light is in normal status, power it off. If the light is in abnormal status, consider it a faulty device.
    The production test is completed.