Foreword: This article is mainly for friends who have not contacted the Dragonboard 410c development board, teaches you how to build a platform from bare boards and how to implement the voice wake-up control of the Keda Xunfei microphone array module and the practical application of US-100 ultrasound through this platform. All in all, through this process, I believe that everyone can further experience the fun of the Dragonboard 410c development board.
First, preparation work1.Dragonboard 410c development board and its accessories
The Dragonboard 410c development board is a low-cost 64-bit ARM development platform that supports Android, TIzen OS, FireFox, Linux and other system platforms, and supports the Win10 device family. The DragonBoard 410C is the first integrated WiFi, Bluetooth and GPS. An integrated version of the Snapdragon 410 chip.
The main features are:
· CPU: quad-core ARM Cortex®-A53 CPU, single core up to 1.2 GHz; 64-bit processing capability;
· Graphics: Qualcomm AdrenoTM 306 GPU with 400MHz high quality graphics processing;
· Video: 1080p high definition (HD) video playback and shooting, support H.264 (AVC);
· Camera: Supports 13 megapixel camera, hardware supports wavelet noise reduction, JPEG decoding and other hardware post-processing techniques;
· Memory: LPDDR2/3 533MHz single channel 32 bit (4.2GBps) non-POP/ eMMC 4.51 SD 3.0 (UHS-I);
· Integrated connection: Qualcomm VIVETM 802.11 b/g/n, Wi-Fi, Bluetooth, FM;
· Integrated positioning: Qualcomm IZatTM Gen8C;
· Operating system support: Android and Linux;
· Expansion interface: 1x 40 pin low speed interface (UART, SPI, I2S, I2C x2, GPIO x12 and DC power supply,
1x 60-pin high-speed interface (4L-MIPI DSI, USB, I2C x2, 2L+4LMIPI CSI) and analog expansion interface (headphones, speakers and FM antenna);
· Input/output interface: HDMI full-size Class A interface (1080p HD @30fps), 1x USB 2.0 micro B (terminal mode only), 2x USB 2.0 Class A (host mode only), micro SD card slot .
Low speed Expansion connector interface distribution:
2. Keda News Flight Microphone Array Module XFM10411
It is a speech hardware front-end scheme based on 4-microphone array. It uses the spatial filtering characteristics of the microphone array to form a pickup beam in the direction of the target speaker, suppressing noise and reflected sound outside the beam. The main function of the module is to complete the voice front-end processing such as 4 microphone array, noise reduction, echo cancellation, voice wake-up, output noise-reduced audio signal, sound source angle data, wake-up trigger signal, communication and so on.
This module has three interface devices J26, J21 and J22; J26 includes power interface, I2 C communication interface, wake-up signal, audio output and so on. J21 is the access interface of the microphone array, and J22 is the access interface of the echo cancellation reference signal.
Product advantages are mainly reflected in:
Microphone array
Sound source localization
Voice wake up
Echo cancellation
Voice interruption
3.US-100 ultrasonic ranging module
The US-100 ultrasonic ranging module can realize 2cm~4.5m non-contact ranging function, with a wide voltage input range of 2.4~5.5V, static power consumption less than 2mA, and its own temperature sensor to correct the ranging result. With GPIO, serial port and other communication methods, with a watchdog, the work is stable and reliable.
This module shares the following four interfaces:
Pin No. 1: Connect to VCC power supply (power supply range 2.4V~5.5V);
Pin No. 2: When it is in UART mode, it is connected to the TX terminal of the external circuit UART; when it is in the level trigger mode, it is connected to the Trig terminal of the external circuit;
Pin No. 3: When in UART mode, connect to RX terminal of external circuit UART; when it is level trigger mode, connect to Echo terminal of external circuit;
Pin 4: Connect to the ground of the external circuit.
Second, the software environment1. Here we introduce the quick setup environment, you can first download the image through the following network link.
Voice wake-up control based on Dragon Board 410c and Keda Xunfei microphone array module and actual application image file of US-100 ultrasonic
2. We can refer to the following link to install the image. After the hardware is connected, after we start the installed system, open the test software to test the following;
SensorDemo
Sound source localization: the module can accurately give the speaker's orientation, and the positioning information is provided to the microphone array to determine the recording beam;
Voice wake-up: The predetermined voice wake-up word of the module is “spiritual and rhythmâ€. After wake-up, the module outputs the high level to the user's host computer through the WAKEUP interface.
Ultrasonic ranging: The module can realize non-contact ranging from 0 to 4.5m.
Third, the hardware connection1. The University of Science and Technology Flight Microphone Array Module is connected to the Dragonboard 410c development board.
The low-speed interface of the Dragonboard 410c development board is connected to the J26 pin of the microphone array module via a PCA9306 bidirectional level shifter:
2.US-100 ultrasonic ranging module is connected with Dragonboard 410c development board
The low-speed interface of the Dragonboard 410c development board is connected to the US-100 ultrasound via a PCA9306 bidirectional level shifter:
1. After completing one or two, power on the system and open the sensor_demo APP on the desktop, as shown below.
2. After entering the software, click the ultrasonic ranging test button to display the test results in real time, as shown in the figure:
3. Click on the same to activate the audio recognition button, you can realize the voice wake-up screen. Under the premise of the information screen, the keyword “Spirit and Spirit†will be used to wake up the screen and detect the speaker's voice. Angle and distance), as shown in the figure:
About the test source code of the demo and the sonar driver principle can refer to the blog: based on the US-100 ultrasound written on the ultrasonic driver of the dragonboard 410c Linux
Engine Parts Antifreeze And Oil
Cooling antifreeze,engine oil,lubricating oil
Chongqing LDJM Engine Parts Center , https://www.ckcummins.com