Last Updated on : 2024-06-21 03:25:18download
Tuya’s offline voice IoT solution combines offline voice modules and IoT modules. You can remotely control the product through offline voice and mobile app, and you can also call mobile app scenes by voice.
Tuya provides offline voice modules, IoT modules, mobile phone panel components, and offline voice IIC protocols, to provide you with fast product connection solutions.
For products with complex functions that require a separate MCU to process, it is recommended to use a custom solution with MCU serial port.
For products with simple functions that can be processed by offline voice modules directly, it is recommended to use the no-code development solution.
This section only describes the general product creation steps. For more information, see Create Products.
On Tuya Developer Platform, select a product.
Take the Wi-Fi offline voice aroma diffuser as an example, select the aroma diffuser category, select a custom solution and Wi-Fi + Bluetooth protocol.
Contact the Tuya account manager to assist in binding the specified Wi-Fi module and firmware, and open the voice system data points 203 to 208.
Select Visualized DIY Panel.
Edit the panel and choose to add an offline voice assistant.
You can freely adjust the initial position, icon, background, and transparency of the voice assistant.
Edit the preset control text and scene text already supported by the offline voice module.
Complete panel editing, testing, and release.
Complete product configuration such as multi-language, pairing copywriting, and third-party voice skills, and release the product.
Schematic diagram reference of offline voice + Wi-Fi module WB3S solution
Schematic diagram reference of offline voice + Zigbee module ZS3L
Microphone installation location selection
It is necessary to expand the pickup range as much as possible to avoid obstruction.
Place it on the front of the product to ensure maximum sound pickup. In short, the microphone needs to be reasonably designed on the front/top/bottom position of the product, and the microphone’s pickup range must be maximized.
There are usually two ways to open the shell of the microphone installation position. One is that the microphone is completely exposed parallel to the product surface, and the other is that one or more small holes are opened in the microphone, and the diameter of the central opening is 1.5 to 4 mm. The relationship between the center hole diameter and the panel depth (thickness): the hole diameter is required to be >80% of the hole depth.
For machines where the microphone position does not vibrate during work, generally, a thin rubber sleeve is used for the microphone (the overall diameter is about 7.2 mm after the rubber sleeve is put on). For machines where the microphone position vibrates during work, it is necessary to avoid vibration to the microphone from the structure. The microphone needs to use a thick rubber sleeve (the overall diameter is about 10 mm after the rubber sleeve is put on). For machines with large vibration, the structure material of the microphone installation position needs to be changed to a soft material to achieve the vibration reduction effect (such as silicone material) .
Interference source noise reduction reference:
Mounting hole design:
Make a cavity to fix the microphone and keep it sealed, so that there can be no air convection in the gap between the microphone and the shell.
Mounting hole fixing: After the microphone is installed in the cavity, the back of the microphone needs to be fixed (see installation instructions below). Strictly avoid the vibration, sound source, airflow, and other noise inside the structure from being directly transmitted to the microphone.
If the product is designed with AEC (interrupt function), you need to pay special attention to separate the speaker from the microphone and try to avoid the sound from the speaker directly entering the microphone at close range.
When installing the microphone, it must be fully inserted into the rubber sleeve, and the seal must be kept tight. Avoid skewed installation and the microphone is not inserted into the bottom of the rubber sleeve.
Other design considerations:
Design the structure of the mounting hole according to the size of the actual microphone.
Pay attention to the hole diameter and depth of the pickup hole. The hole diameter is required to be >80% of the hole depth.
The center of the pickup hole and the center of the microphone should be aligned.
The distance between the center of the pickup hole and the edge of the panel is >1 cm.
If the microphone opening inevitably leaves a gap, please ensure that the gap is symmetrical. If the gap on a certain side of the microphone is too large, it will seriously affect the microphone’s sound collection and voice recognition effect.
After the microphone is correctly installed in the mounting hole, it is recommended to seal the back of the microphone with a rubber pad and fix it with plastic to ensure that the back of the microphone is tightly sealed and firm. This can prevent the sound (or noise) from the back of the microphone (or within the product structure) from entering the inside of the microphone through the back of the microphone and affecting the recognition effect.
Through the rubber cover, gasket, and fixing device, the influence of the sound from the directions other than the front of the microphone can be greatly reduced, and the effective sound can be transmitted from the front of the microphone as much as possible, thereby ensuring the recognition effect.
It is strictly forbidden to use sharp tools to touch or hold the front of the microphone to remove it, or to grab the microphone cable with bare hands and pull it hard. After disassembling the microphone headband and rubber cover assembly, it is recommended to replace the assembly as a whole to avoid improper disassembly and affect the microphone quality.
The microphone should avoid manual soldering of the microphone pad. Manual soldering will affect the performance of important indicators of the microphone (such as sensitivity and SNR).
It is recommended to use a sealing material to seal the back of the microphone to prevent sound waves from the back of the microphone from entering the microphone and affecting the recognition effect.
If you consider the cost factor and use glue to seal the back of the microphone, you need to pay attention to the working environment to avoid high temperatures and pay attention to the quality of the hot melt glue stick. Our company recommends using high-quality hot-melt glue sticks to avoid premature cracking or falling off of the glue.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback