"When talking about voice assistant, you may think of Siri in Apple mobile phone. This is a voice intelligent assistant recognized by the industry. It is an advanced human-computer interaction mode at present. With the continuous updating and iteration of hardware, we are constantly refreshing the way of human-computer interaction, from the simplest and most direct mechanical keys to the touch technology (resistance, capacitance, 3D touch) led by the popularity of large screen consumer electronics, especially smart phones. The development of voice technology is a sublimation of human-computer interaction. It makes the distance between people and machines closer and the human-computer interface more natural. Especially driven by the general trend of the Internet of things industry, intelligent hardware, smart home and other products are looking forward to the most harmonious way of human-computer interaction - voice interaction.
Recently, aiban.com got a development board based on lark7618 voice recognition WiFi module launched by Beijing yuyintianxia, which is a functional module integrating cloud voice recognition, voice synthesis, voice wake-up and MP3 decoding. Human computer interaction combined with the Internet of things is very interesting at first sight, and we can see an important feature of lark7618 WiFi module - speech recognition from the naming of the board. As we all know, the biggest difficulty of speech technology is speech recognition, which mainly lies in the irresistible environmental noise and the lack of a set of standardized input in the process of speech recognition input. Unlike the keyboard we contact, speech recognition has a set of special input, which is not affected by the external environment. Speech includes languages and dialects between different countries and regions, and even your pronunciation is very key. Therefore, speech recognition either formulates a set of standard input methods, and people input voice commands according to established rules, Either the hardware relying on speech recognition technology has strong processing power and software algorithm, and can be recognized arbitrarily. Obviously, the second method is not feasible at present. For lark7618 voice recognition WiFi module, there is no doubt that it should have a set of standard input methods. All users need is to implement commands according to the rules. As for the actual experience effect, let's take a look.
Lark7618 speech recognition WiFi development board gives people a good first impression. It can see the intention of the designer. The whole board is "encapsulated" with acrylic box, which is very much like a product model of maker DIY. After careful observation, it can be found that the development board consists of two parts, the backplane function board and lark7618 bailing intelligent WiFi module, as shown in the figure below.
In order to see the internal structure of the board more clearly, we removed the acrylic shell. It can be seen that in addition to lark7618 lark intelligent WiFi module, the backplane realizes a standard audio input and output function, including microSD interface for expanding storage, USB interface for power supply and realizing USB to serial port function, some status indicators and function keys.
The development board can communicate with PC through the on-board USB to serial port chip.
On the back of the development board is a speaker and an interface seat for baud rate adjustment.
Interestingly, the USB interface and USB to serial port on the board adopt the USB host interface, so whether it is power supply or connecting the computer, a cable with USB host interface at both ends is required.
Let's look at the lark7618 voice recognition WiFi module on the board. This is the latest voice recognition WiFi module launched by yuyintianxia. On the basis of the previous generation of voice recognition module, a networked WiFi module is added, which can be said to be a special customization for Internet of things applications.
Lark7618 module supports 3.3V ~ 4.2V voltage supply, and has built-in charging circuit. Users only need to connect the Vbat and GND of the battery to lark7618 module; At the same time, when the battery needs to be charged, the USB power supply of the computer or the power supply of the charger can be connected to the vchg and GND pins of lark7618. For users who do not need battery power, vchg can be suspended.
For the voice function, the lark7618 WiFi module also integrates a complete audio input and output circuit. Only a microphone and speaker can be connected externally to realize voice acquisition and output, as shown in the figure below.
Lark7618 voice recognition WiFi module needs to be used with external MCU in practical product application to realize communication through UART. The development board we obtained is connected with PC through USB to UART chip.
WiFi development board recommendations:
Wiznet wizfi220 evaluation board, WiFi / 802.11 A development board that provides a fast, simple and cost-effective way for equipment and electrical manufacturers.
Zentri amw106 WiFi development board One provides a fast and simple method to evaluate and develop amw106 wireless network wiconnect through-hole module and dual antenna UFL
Bcm943362wcd4 WiFi evaluation board A secure embedded wireless network application can be created by combining bcm943362wcd4 wireless LAN solution module or other wiced module with microcontroller.
Power on use
The use of lark7618 voice recognition WiFi module development board first needs to configure WiFi. At present, it can be configured through mobile app and computer client software. Originally, I wanted to directly take the configuration through the computer client as an example, but I found an interesting thing when using the mobile app configuration. Therefore, the configuration of the mobile terminal is also wordy with you.
Mobile app configuration
At present, the mobile terminal only supports the app of Android system, which is provided by yuyintianxia. Open the app and follow the steps.
When configuring WiFi for lark7618 with mobile app, I saw a very avant-garde and fashionable WiFi configuration mode, acoustic configuration.
We know that WiFi devices need a password to connect to the router, but this process is troublesome. The use of acoustic configuration is to simplify the process of connecting to the router, which is similar in many products we usually contact. For example, Bluetooth pairing can simplify the connection process through NFC tags. Here, we input the router SSID and password information on the mobile phone, then transcode it into sound waves and send it to the WiFi module. Relying on the lark7618 development board, it has a complete audio circuit. The WiFi module decodes the sound waves sent by the mobile phone, and then the WiFi module connects to the router according to the decoded SSID SSID and password. The process is not very long. It succeeds at one time and the operation is simple, The gimmick is cool and the experience is good. This is the effect pursued by intelligent hardware at present.
After the configuration is completed, you can see that the WiFi indicator of the development board is in the normally on state.
PC end configuration
The WiFi configuration of PC side realizes communication through serial port, so we need to install the driver of USB to serial port chip on the development board.
The on-board USB to serial port chip is CP2102 of silicon labs. This driver can be found on the Internet. After installation, we can carry out serial port communication.
There are two PC end software provided by yuyintianxia. One is the resource management tool of lark7618, which is a supporting tool for module resource management, factory parameter configuration and burning. To experience the complete function, you need to register.
WiFi development board recommendations:
Wiznet wizfi220 evaluation board, WiFi / 802.11 A development board that provides a fast, simple and cost-effective way for equipment and electrical manufacturers.
Zentri amw106 WiFi development board One provides a fast and simple method to evaluate and develop amw106 wireless network wiconnect through-hole module and dual antenna UFL
Bcm943362wcd4 WiFi evaluation board A secure embedded wireless network application can be created by combining bcm943362wcd4 wireless LAN solution module or other wiced module with microcontroller.
The other is the demonstration tool of the development board, which can be used to evaluate the function test of the board. However, when using this tool, the prompt fails to open. After consulting the technical support of yuyintianxia, we learned that the serial communication adopts mscom32.ocx control. If there is no automatic registration, it needs to be registered manually.
For the 32-bit system and 64 bit system of win7, the registration method is still somewhat different. In the same directory folder of the software, there is a file of mscomm32.ocx, 64 bit win7 system, and the registration method is:
Copy mscomm32.ocx to C: \ windows \ syswow64
In the command line window, execute regsvr32.exe C: \ windows \ syswow64 \ mscomm32.ocx
If it is a 32-bit system of win7, the registration method is:
Copy mscomm32.ocx to C: \ windows \ system32
In the command line window, execute regsvr32.exe C: \ windows \ system32 \ mscomm32.ocx
Note: the above operations must be performed with the command of the administrator
After successful registration, it can be opened for use.
From the main interface of the demo tool, the main functions include speech recognition, MP3 playback and speech synthesis. For such a product, we focus on speech recognition and speech synthesis.
The author here uses the PC software as the upper computer to send the start speech recognition command to the lark7618 speech module. At this time, the development board will enter the recording state and the red indicator light will be on.
Speak to the microphone on the development board. The module converts the voice data collected from the microphone into the corresponding recognition result through the internal recognition module, and sends it back to the software interface of the upper computer through the communication interface, as shown in the figure below. The recognition result is how the weather is today. A very simple sentence can clearly recognize the result.
However, the experience results are not as good as expected under the environmental noise or for friends whose Mandarin is not standard. Although the lark7618 WiFi module combined with cloud speech recognition sounds very powerful, it is impossible to cover all the matched terms. There is no way. The accuracy of speech recognition is a dilemma faced by the whole industry, At present, the speech recognition technology experienced by Apple Siri and iFLYTEK should be strong.
In the aspect of speech synthesis, yuyintianxia has done a good job and has powerful functions. At present, there are six kinds of human voice options for synthetic voice. The module supports the synthesis of any Chinese text, and can adopt four and five coding methods: GB2312, GBK, Big5 and Unicode big header or Unicode small header; It can also adjust intonation and speed. It is also flexible in the processing of some intelligent digital symbols, such as weather, time, km / h and other digital symbols can be read in a normal way.
However, some deficiencies have been found in the use. Although speech synthesis can not recognize English words, some commonly used phrases such as WiFi and Siri can only be read down one English letter by one.
In addition, lark7618 can also receive command frames through UART interface communication, such as control command frames and text data to be synthesized, so as to realize text to voice, voice to text conversion and voice wake-up function. For details, please refer to the materials and documents provided by yuyintianxia.
Of course, you should not imagine that lark7618 voice recognition WiFi module is too powerful. After all, this is only a voice control product launched in the field of Internet of things. Its applicable place should be a simple command similar to that in smart home products, such as turning on and off lights. In the face of these products, the more than 2000 words supported by lark7618 are also competent. Coupled with its complete audio circuit integration, it is indeed the gospel of voice controlled Internet of things products, which can be widely used in Internet of things related fields such as smart home, high-end toys, educational equipment and so on.
WiFi development board recommendations:
Wiznet wizfi220 evaluation board, WiFi / 802.11 A development board that provides a fast, simple and cost-effective way for equipment and electrical manufacturers.
Zentri amw106 WiFi development board One provides a fast and simple method to evaluate and develop amw106 wireless network wiconnect through-hole module and dual antenna UFL
Bcm943362wcd4 WiFi evaluation board A secure embedded wireless network application can be created by combining bcm943362wcd4 wireless LAN solution module or other wiced module with microcontroller.
Original statement: This article is original by Aiban. Reprint is declined“
Our other product: