07-17
2023
AK1052C_BT_Module is a high-performance Bluetooth BLE dual-mode audio module for wireless stereo Bluetooth card speakers. This module realizes the core functions of Bluetooth speaker products, including Bluetooth communication, audio codec, system control, card playback, U disk playback, and support for infrared remote control. Because it supports the BLE data transparent transmission protocol, it can communicate with the IOS system for Bluetooth data. Therefore, this module can be used as a Bluetooth point reader, a Bluetooth handwriting point reader, and other products that require data interaction control with the mobile APP. The normal communication distance of Bluetooth is 10M, and the maximum communication distance is 20M.AK1052C_BT_Module integrates main control chip AK1052C, bluetooth chip RTL8761AT, 2MB SPI flash and crystal oscillator etc. Reserve the Bluetooth antenna interface and provide rich peripheral interfaces, including USD2.0, SD/TF card interface, stereo audio output interface, microphone interface, line-in interface, AIN analog key interface, GPIO interface.External SPI FLASH, the capacity can be selected from 16M~128MClass 2 power levelComply with Bluetooth V4.0 specification and Bluetooth V2.1+EDR specificationSupport A2DP, AVRCP, HFP, SPP, ATT protocolsBluetooth communication distance: there is no obstacle in the line of sight, the normal communication distance is 10m, and the maximum communication distance is 20mProvide AIN button interfaceProvide LED status indicator control interfaceProvide Line-in audio input interfaceProvide stereo audio output interfaceBuilt-in lithium battery charging circuitWorking voltage range: 3.4V~4.2V, support lithium battery and USB power supplyModule size: 27.5mm*21.0mmThe standard configuration is 2MB SPI Flash, which can be flexibly configured according to user needsReserved TWI interfaceProvide IRDA infrared remote control interfaceProvide SD/TF card interface for connecting SD/TF memory card, maximum support 32GBProvide USB Host interface for connecting U disk, maximum support 64GB U diskProvide USB Slave interface for program burning and USB sound card functionBuilt-in audio decoder, supports audio decoding in AMR, APE, FLAC, MP3, OGG, WAV, WMA formatsSupport Bluetooth stereo playback, compatible with various handheld Bluetooth devices such as mobile phones and tabletsSupport Line-in audio playbackSupport infrared remote control functionProvide Ankai standard mobile APPS client (Android, iOS) and source code.The client can realize the following functions (mobile phone music playback, remote TF card music playback, remote U disk music playback, Bluetooth speaker power display, Bluetooth speaker volume control, EQ sound effect settings, support pop, rock, classical, soft, vocal and Customization, etc., system information display (device name., software version, product serial number, etc.)Built-in lithium battery charging circuit, support lithium battery charging
07-17
2023
Single mode audio:AK1055C V2.1 Bluetooth single-mode audio module is a single-mode audio module specially launched for Bluetooth speakers. The core board of the product development module uses AK1055C as the main control chip, which is matched with the Bluetooth radio frequency chip RDA5876. Realize the core functions of Bluetooth speaker products, including Bluetooth stereo playback, Bluetooth calls, line in playback, voice prompt status switching, etc. The normal communication distance of Bluetooth is 10 meters, and the maximum communication distance is 20 meters.Built-in a 16M SPI FLASHClass 2 power levelComply with V2.1+EDR Bluetooth specificationSupport A2DP, AVRCP, HFP protocolsBluetooth communication distance: there is no obstacle in the line of sight, the normal communication distance is 10m, and the maximum communication distance is 20mProvide AIN button interfaceProvide LED status indicator control interfaceSupport 16-bit ADC dual-channel Mic/Line-in input2-way 22-bit DAC output high-quality audio outputWorking voltage range: 3.4V~4.2V, support lithium battery and USB power supplyBluetooth stereo playbackLINE_IN playcharging functionDual Mode Audio:AK1055C_BT_Module is a high-performance Bluetooth BLE dual-mode audio module for wireless stereo Bluetooth speakers. This module implements the core functions of Bluetooth speaker products, including Bluetooth communication, audio codec and system control. Because it supports the BLE data transparent transmission protocol, it can communicate with the IOS system for Bluetooth data. Therefore, this module can be used as a Bluetooth point reading pen, a Bluetooth handwriting point reading pen and other products that require data interaction control with the mobile phone APP. The normal communication distance of Bluetooth is 10M, and the maximum communication distance is 20M.AK1055C_BT_Module integrates the main control chip AN1055C, Bluetooth chip RTL8761AT and crystal oscillator, etc., and provides a wealth of peripheral interfaces, including USB2.0 interface, headphone interface, microphone interface, AIN analog key interface, GPIO interface.Built-in a 16M SPI FLASHClass 2 power levelComply with Bluetooth V4.0 specification and Bluetooth V2.1+EDR specificationSupport A2DP, AVRCP, HFP, SPP, ATT protocolsBluetooth communication distance: there is no obstacle in the line of sight, the normal communication distance is 10m, and the maximum communication distance is 20mProvide AIN button interfaceProvide LED status indicator control interfaceSupport MIC and Line-in audio input interface2-way 22-bit audio DAC2-way 16-bit audio ADCBuilt-in lithium battery charging circuitWorking voltage range: 3.4~4.2V, support lithium battery and USB power supplyModule size: 17.5mm*25.0mmSupport Bluetooth stereo playback, support EQ sound effectSupport Line-in audio playbackSupport Bluetooth background connection, can perform speed dial and call answering operationsSupport personalized voice prompts, such as caller ID, Bluetooth connection prompts, function mode promptsProvide Ankai standard mobile APPS client (Android, iOS) and source code. The client can realize the following functions (mobile phone music playback, bluetooth speaker power display, bluetooth speaker volume control, EQ sound effect setting, support pop, rock, classical, soft, human voice and custom, etc., system information display (such as device name, software version, product serial number, etc.).Support lithium battery power supply and support charging function.
07-13
2023
The 8-bit single-chip microcomputer SN8P2711B has a RISC-like system, which has the characteristics of high performance and low power consumption. Each instruction cycle is a clock cycle (1T) structure provides up to 16MIPS computing power. In addition, the high EFT capability protects the microcontroller, making it suitable for working in high infection environments. SN8P2711B has first-class IC structure, including 1K-word program memory (OTP ROM), 64-byte data memory (RAM), two 8-bit timer counters (TC0, TC1), a watchdog timer, and 5 interrupts Source (TC0, TC1, ADC, INT0, INT1), 5+1 channel 12-bit ADC (one internal ADC channel for VDD measurement), 2-channel PWM output (PWM0, PWM1), 2-channel buzzer output (BZ0, BZ1) and 4-level stack scratchpad. In addition, users can also choose the oscillation mode by themselves. SN8P2711B provides 4 different oscillation modes for the system as the system clock, including high/low speed crystal oscillator, ceramic resonator and cheap RC oscillator. In addition, SN8P2711B also includes an internal 16MHz RC oscillator as the system clock and a low-frequency RC oscillator used in low-speed mode (by program control).Shenzhen Zuchuang Microelectronics is the agent of Songix in Shenzhen in mainland China. It sells Songix single-chip microcomputers and voice ICs, and can provide technical support for Songix solutions. It can also directly develop and design electronic products for customers. It has a wealth of hardware Experience in development and programming can help customers quickly develop products and put them on the market as soon as possible.SN8P2711B.pdf
07-13
2023
SNC27P332 is a single-channel speech synthesis IC with 12-bit PWM direct-drive circuit, which integrates one input port and 24 I/O ports into a 4-bit microcontroller. Through the programming of the microcontroller in the SNC27P332, various applications of the user, including the synthesis of voice parts, the setting of key triggers, output control and other logic functions, can be easily realized.FeaturesWorking voltage: 2.1V~5.1VSystem clock: 2.304MHz +-1.5%Voice duration: 332sec@6KHzRAM size: 192*4 bitMaximum program space 64K*12 bitI/O ports: - Input port P9.0, shared with reset pin - 24 I/O ports : P1, P2, P3, P4, P5, P6 - High drive/reverse current : P2, P3, P6 - Normal drive/reverse current : P1, P4, P5timer:- Timer 1: 2ms/4ms- Watchdog Timer (WDT): 110msIR output: P2.3 or P1.38 groups of hardware PWMIO: P2,P3,P6 - P3/P6 share the same PWMIOLow Voltage Reset (LVR)- Typical 1.9V Enable Disable Option- Low LVR current when low voltage reset (LVR) occursLow Voltage Detection (LVD)- 2 levels: 2.2V , 3.2V
07-12
2023
Application of SCM Speech Processing TechnologyMultimedia technology is an extremely active emerging technology in modern computer application technology. Audio-visual processing is the core research object of multimedia technology, and speech processing is an extremely important practical technology in sound processing technology. The basis of speech processing technology is phonetics and digital signal processing, which includes speech analysis technology, speech storage technology, speech recognition technology and speech synthesis (reproduction) technology. This article takes Sunplus SPCE061A as an example to discuss the principle and application of single-chip voice processing technology.1. Audio processingComputer processing audio mainly adopts several technologies: sampling and quantization technology, audio preservation technology, audio compression coding technology, audio reproduction and identification technology. Sampling and quantization is to collect the sounds in nature into the computer according to certain requirements, which is the basis of sound processing technology. The frequency of audible audio is in the range of 20Hz~20kHz, and the frequency of voice is generally in the range of 60Hz~500Hz.Audio can be divided into three types: waveform sound, speech and music. Like any sound, speech is also manifested as a waveform sound, but the waveform sound cannot express the connotation of language and speech. Speech is an abstraction of speech sound, the carrier of language, and an information system unique to human society. Music is a special sound, a weak subset of sound, and a normalized and symbolized sound. But music cannot symbolize all sounds. A musical score is a group of symbols that symbolize sound, and different combinations represent more complex sound information than a single number.When a computer processes audio, it must first digitize (discrete) the analog (continuous) sound waveform, which is achieved through an A/D converter. The converted audio is called digital audio, and its quality depends on the A/D conversion The conversion rate and resolution of the converter, the higher the rate, the more data collected per unit time, the higher the resolution, the higher the accuracy of the collected data, so the audio sampling frequency and quantization digits in audio processing are two an important parameter. The collected audio signal is saved by audio file. Audio files are divided into two categories: sound files and MIDI files.2. SCM voice processing technologyIn terms of single-chip voice processing, the usual solution adopts two approaches: one is to expand the design of the single-chip itself, and place the voice processing function module directly in the single-chip; the other is to expand the functions of the single-chip with the help of a special voice processing chip. Due to the large number of special voice processing chip series and single function, it is necessary to add a lot of peripheral devices to realize a complete system, so it is not very convenient to use. Therefore, comparing these two solutions, the first one has obvious advantages, but as For general-purpose processors, this solution is inappropriate.Chips specially designed for speech recognition and speech processing applications need a high-speed DSP core processor to undertake control and computing tasks, and also need an appropriate amount of on-chip integrated ROM/RAM memory to store applications, drivers, various data and Speech recognition, speech compression algorithms and constant tables used in the algorithms, etc., which increase the cost of chip design and manufacturing. Because the integrated ROM/RAM memory of the single-chip voice processing chip cannot be very large, the single-chip microcomputer is not suitable for large-scale voice processing systems.3. Speech processing technology of Sunplus SPCE061A MCU3.1 Sunplus SPCE061A MCUSunplus SPCE061A is a microcontroller with 16-bit μ’nSP structure. The chip has a hardware multiplier, which can realize complex operations such as multiplication and inner product operations. Sunplus SPCE061A single-chip microcomputer is advanced in design, outstanding in features, easy to learn and use, and reflects the new trend of modern microcontroller industry development.3.2 Realization of Speech Processing by Sunplus SPCE061A MCUSunplus SPCE061A makes functions related to speech processing into function modules, which are realized through API calls. These functions are divided into two categories: Sunplus Audio Coding (SACM) for audio data playback and Speech Recognition (BSR) for recognizing speech.After the WAVE files generated by input are compressed into corresponding voice data such as SACM_A2000 or SACM_S480 according to different compression algorithms, these data can be processed by SACM-LIB library. The library makes A/D, encoding, decoding, storage and D/A into corresponding modules. Each module has its application program interface API function, and the respective functions can be realized by calling the corresponding function.For example, for speech recognition of a specific person, the SACM-LIB library provides API functions defined in two formats including C language and assembly language. The commonly used speech recognition API functions are:(1) SRAM initialization function int BSR-DeleteSD-Group (int); (2) training function int BSR-Train (int CommandID, int TrainMode); (3) recognition initialization function int BSR-InitRecognizer (int AudioSource); (4 ) Get the recognition result function int BSR-GetResult (void); (5) Stop the recognition function void BSR-StopRecognizer (void); (6) Identify the interrupt program-BSR-FIQ-Routine;With the relevant API functions of voice compression and playback, a complete voice application system can be formed.SummarizeVoice processing technology has an important impact on the design technology of the next generation of multi-mode interactive human-machine interface. With the rapid increase in the demand for high-performance and high-stability voice interfaces in consumer electronics products, single-chip microcomputers and embedded voice processing technologies are developing rapidly. . However, there are still some problems in the solution of voice processing technology. With the further research of software and hardware technology, these problems will be reasonably solved in the near future. Voice processing technology will bring a wider space for the in-depth application of computers. .The above is the application of single-chip voice processing technology introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. for you. We have rich experience in customized development of smart electronic products, can evaluate the development cycle and IC price as soon as possible, and can also calculate the PCBA quotation. We are the agent of Sonix MCU and Yingguang MCU agent, selling and developing MCU and voice IC solutions of Sonix and Yingguang. We act as an agent and develop ICs and solutions for Jieli, Ankai, Allwinner, Realtek, etc., and also develop BLE Bluetooth ICs, dual-mode Bluetooth modules, wifi modules, and IoT modules. We have hardware design and software development capabilities. Covering circuit design, PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development, voice recognition technology, Bluetooth development, wifi technology, etc. It can also undertake the research and development of smart electronic products, the design of household appliances, the development of beauty equipment, the development of Internet of Things applications, the design of smart home solutions, the development of TWS earphones, the development of Bluetooth earphone speakers, the development of children's toys, and the research and development of electronic education products.
07-12
2023
Design of Bluetooth NC DC Voltage Source with Chinese Voice Prompt FunctionWith the rapid development of science and technology, and people's demand for low power consumption and high efficiency of electrical appliances, DC voltage sources are developing towards higher flexibility and intelligence. However, the current numerically controlled DC voltage source has problems such as low adjustment accuracy, inconvenient observation of the output voltage value, and insufficient output voltage accuracy. Therefore, this paper designs a digitally controlled DC voltage source with the STC12C5A60S2 microcontroller as the core. The power supply can realize the following functions: the output voltage is adjustable from 0 to 10V, the step is 0.1V, the output current is 500mA, the output voltage value can be remotely adjusted through the Bluetooth device, and there will be a Chinese voice prompt every time the output voltage value changes.1. The overall design of Bluetooth CNC DC voltage sourceThe design block diagram of this design is shown in Figure 1. The voltage source uses 12C5A60S2 single-chip microcomputer as the control chip, and the output 8-digit digital value is converted into an analog voltage value through the D/A module, and then amplified by the amplifier module. Then the current is amplified by the output drive module to increase the load capacity and then output. The output voltage value is displayed through seven-segment digital tubes. The output voltage can be adjusted by changing the output value of the single chip microcomputer. After the output voltage is sampled, it is input to the built-in A/D module of the microcontroller for sampling feedback, so as to realize closed-loop adjustment of the output voltage and ensure the accuracy of the output voltage. The power supply has also added the HC⁃05 Bluetooth module, the user can adjust the voltage value of the power supply or query the current output voltage value with the APP on the mobile phone through the Bluetooth protocol. By adding the SYN6288 voice module, the function of Chinese voice prompt is also realized.2. Bluetooth CNC DC voltage source hardware circuit designThe circuit design of each module is described below.2.1D/A module and amplifier moduleThe D/A module is composed of DAC0832 chip and LM358 operational amplifier module. The DAC0832 chip is an 8-digit/analog conversion chip. The conversion result is a differential current output. It needs to connect an LM358 at its output terminal to form an external conversion circuit to convert the current value into voltage, get the reverse voltage output. The single-chip microcomputer outputs an 8-bit digital quantity from the P0 port, which is input to the D/A module. The DAC0832 is powered by 5V voltage, and the resolution is 5256≈0.02V. Because it outputs a negative voltage, when the digital quantity increases by 1, The output of the D/A module increases by -0.02V.The amplifying module consists of an operational amplifier LM358 and resistors R2, R3, and R4 to form a 2.5-fold inverting amplifier, which reversely amplifies the output of the D/A module by 2.5 times. Every time the voltage adjustment button is pressed, the digital quantity will increase by 2, and the output of the D/A module will increase by -0.04V. After reverse amplification by 2.5 times, the output voltage will increase by 0.1V, realizing a step of 0.1V. And because the output range required by the voltage is 0 ~ 10V, the range of digital input is 00000000 ~ 11001000, the range of DAC0832 output is 0 ~ -4V, and the resolution meets the requirements. By changing the digital output of the P0 port of the single-chip microcomputer through the keys KEY1 and KEY2, the output voltage can be adjusted from 0 to 10V.2.2 Current amplification moduleThe design of the power supply has a maximum output current of 500mA, so after the signal is output from the amplifier circuit, it must pass through the current amplifier circuit to make the current reach the design standard. The output value of the amplification module is input into the current amplification module from the adjv port, and output from the UO port to obtain the final output value. The current amplification module is composed of operational amplifier LM358, high-power transistor 2SD1677, and resistors R5, R6, and R7. A high-power triode is used to form an emitter follower, powered by a 15V voltage, and the current is amplified under the condition of voltage following. In the selection of triode, since the maximum voltage of UCE is 15V, the maximum current is 500mA, and the maximum power is 7.5W, the maximum power dissipation PCM of the selected triode should be greater than 7.5W. After considering the heat dissipation factor and leaving a margin, this design selects the triode 2SD1677 with a PCM value of 100W.2.3 Sampling module and A/D moduleIn order to ensure the accuracy, it is necessary to sample the output voltage value and then perform A/D conversion, and compare it with the preset value output by the microcontroller to form a closed-loop system with negative feedback. The output voltage forms a voltage divider resistor through R8 and R9, and then passes through an LM358 operational amplifier to form a voltage follower and then enters the A/D module. The A/D circuit adopts STC12C5A60S2 single-chip built-in 8-bit A/D module, the reference voltage is 5V, and compares the converted digital quantity input to the single-chip with the output preset value.2.4 Bluetooth module and voice moduleThis design uses the HC⁃05 Bluetooth module to realize the Bluetooth remote control voltage function. Set the Bluetooth module to work at a baud rate of 9600b/s, and set it to work as a slave, and connect it to the serial port 1 of the microcontroller. The user can send data to the HC-05 module after connecting with a device with Bluetooth function such as a mobile phone; the HC-05 module then transmits the data to the MCU through the serial port to change the digital output of the MCU, thereby realizing Bluetooth control output voltage value.The voice prompt function is realized through the SYN6288 voice module. The SYN6288 voice module is packaged in SMD SSOP, small in size, connected to the host computer through the serial port, and receives the text sent by the serial port to realize the conversion from text to Chinese voice. SYN6288 has a built-in push-pull DAC and a speaker interface, which can directly drive the speaker for sound broadcasting. In this design, the SYN6288 module is connected to the serial port 2 of the microcontroller. When adjusting the output voltage, the MCU transmits the adjusted voltage value in the form of a string to the SYN6288 module through the serial port, and the module transmits the Chinese voice prompt to an 8Ω, 0.5W speaker for playback.3. Software Design of Bluetooth CNC DC Voltage SourceThe software of this power supply is written in C51 language. The system initializes first, and then judges whether the Bluetooth has received the value, and if so, changes the value of outv and outputs it; if the Bluetooth does not receive it, then judges whether the button is pressed, and if the button is pressed, changes the value of outv to output. Assign the output value sample to setv, compare whether the value of setv and outv are equal, if not, adjust the value of setv and output, and then perform sampling comparison until the value of setv is equal to outv.4. Bluetooth CNC DC voltage source system testInstall the SPP Bluetooth serial port debugging APP in the MOTOX smartphone of the Android system, and after connecting with the Bluetooth module of the power supply, use the SPP Bluetooth serial port debugging APP to adjust the value of the output voltage. Take 10 values from 0 to 10V for measurement, and use a digital multimeter VC9860+ as the measuring instrument to measure the voltage value at both ends of the load.During the test, whenever the preset voltage value is changed, the voice module can correctly broadcast the changed voltage value. The test results show that the output of the voltage source meets the output requirements of 0-10V, the output is accurate, the output response is good, and the function of bluetooth remote control of the output voltage is realized.epilogueThis paper introduces a design scheme of a digitally controlled DC voltage source based on the STC12C5A60S2 microcontroller. The voltage source adopts a closed-loop system with high output precision and compact structure. The value of the output voltage can be adjusted remotely through a Bluetooth device, and it has a Chinese voice prompt function. After testing, when the power supply is used to provide voltage to the load, the output response is good and the error is small, and it can be used in experimental teaching, scientific research, automatic measurement systems and other fields, and has broad application prospects.The above is the design technology of Bluetooth CNC DC voltage source with Chinese voice prompt function introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. If you have Bluetooth product design and development needs, you can trust us. We have rich experience in custom development of smart electronic products. We can evaluate the development cycle and IC price as soon as possible, and can also calculate the PCBA quotation. We are a number of chip agents at home and abroad: Songhan, Yingguang, Jieli, Ankai, Quanzhi, realtek, with MCU, voice IC, BLE Bluetooth IC, dual-mode Bluetooth module, wifi module. We have hardware design and software development capabilities. Covering circuit design, PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development, voice recognition technology, Bluetooth development, wifi technology, etc. It can also undertake the research and development of smart electronic products, the design of household appliances, the development of beauty equipment, the development of Internet of Things applications, the design of smart home solutions, the development of TWS earphones, the development of Bluetooth earphone speakers, the development of children's toys, and the research and development of electronic education products.
07-12
2023
SNC27P040 is a single-channel speech synthesis IC with 12-bit PWM direct-drive circuit, which integrates one input port and 8 I/O ports into a 4-bit microcontroller. Through the programming of the microcontroller in the SNC27P040, various applications of the user, including the synthesis of voice parts, the setting of key triggers, output control and other logic functions, can be easily realized.feature of productWorking voltage: 2.1V~5.1VSystem clock: 2.304MHz +-1.5%Voice duration: 40sec@6KHzRAM size: 128*4 bitMaximum program space 64K*12 bitI/O ports:- Input port P9.0, shared with reset pin- 8 I/O ports : P2, P3- High drive/reverse current : P2, P3timer:- Timer 1: 2ms/4ms- Watchdog Timer (WDT): 110msIR output: P2.38 groups of hardware PWMIO: P2,P3Low Voltage Reset (LVR)- Typical 1.9V Enable Disable Option- Low LVR current when low voltage reset (LVR) occursLow Voltage Detection (LVD)- 2 levels: 2.2V , 3.2V
07-11
2023
Bluetooth device testing is carried out on the basis of Bluetooth product technical specifications, including interoperability testing, conformance testing, etc. The Bluetooth device test should first carry out the formulation of the test plan, and then carry out operations such as protocol consistency, underlying hardware modules, and interoperability tests.1. Explanation of Bluetooth test modeThe purpose of testing Bluetooth devices is to ensure the final experience of excellent users, realize the optimal functions of Bluetooth devices, calibrate and test the performance of subsystems and components in Bluetooth devices, test the main environment and screen out defects. materials to ensure the quality of Bluetooth devices.According to the bluetooth technical specification, the definition of the application specification and the formulation of the test mode of the protocol are respectively carried out, such as the serial port emulation protocol, the service discovery protocol, etc. According to the specific female-public mode, each layer of protocol under the operation coordination mechanism is set for each functional element, and the entire Bluetooth protocol system is divided into three levels: the middle layer, the bottom layer, and the high-end layer, which are respectively the bottom hardware module and the middle protocol layer software. modules and high-end applications.Among them, the intermediate protocol layer includes adaptation protocol and logical link control, the underlying hardware part includes baseband, link management layer and wireless frequency hopping, and the high-end layer includes the application framework composed of telephone communication protocol, serial emulation protocol, and service discovery protocol. The test of the underlying hardware module function is particularly important, mainly through the compatibility test of the wireless baseband layer and the establishment of a test mode.The Bluetooth device test module includes the test device and the device under test, and builds a piconet. The test process is fully controlled by the master device. The device can use DUT as the device for Bluetooth transmission and reception, and use the additional measurement device TESTER as the system composition. The test process is: initialize the independent baud rate, click start, disconnect the serial port, receive data, and start to execute the command to test the Bluetooth device.In the test, the activation was performed locally using the wireless interface, the software ran the wireless interface, and the hardware took care of the activation. When the DUT is commanded to perform the activation operation, TESTER enters the test mode and issues a link management protocol command. After the activation command is received, it enters the test mode and the DUT returns to complete all standard operations. For the unfinished LMP-AC-CEPTED activation command, the software interface can be used to continue the activation operation until the connection with the TESTER is established, and then the paging scan and inquiry scan can be performed through the DUT.After the control operation of the control interface is performed using the LMP command, the test is passed. At this time, the DUT has not been standardized, but the hardware interface still exists, and the Bluetooth device does not need to execute the command in the test mode. After returning the LMP-NOT-ACCEPTED instruction, the DUT enters the test mode. After receiving the control instruction, the LMP instruction and processing power control are allowed to appear, and the standard program is used for testing. The power can be debugged during the process. By exiting the test mode, the instruction Set in the scheme to force the DUT out of the test module.The test scheme of the Bluetooth device includes the POLL grouping at the sending end, the periodic transmission of the piconet composed of TESTER, the testing of the sending end and the test grouping in the DUT unit, which works as the master unit, and the test device uses the TX time slot to perform the sending operation. The POLL group control command is used to operate, and the TX time slot is used to operate the unit. After the sending command is started, the unit can pre-define the interval through the unit wheel and set it to a fixed value, so that the device under test can send data regularly.The pseudo-random sequence refers to the fact that the shift register uses a uniform sequence as the random sequence of the transmission packet, the longer zero sequence is 8, and the sequence becomes 511 bits. The descending frequency hopping sequence uses the complete fast wireless test to perform five timing frequency hopping in the frequency range, and the channels are 0, 23, 46, 79, and 95 respectively. The bit pattern is sent and stopped in the form of a pseudo-random code, starting from a sequence of 1, alternating 1010, alternating 1111, 0000, 1111, 0000, and the sequence can also start from 0. Frequency selection includes European and American frequency hopping, Japanese frequency hopping, Spanish frequency hopping, French frequency hopping, and frequency hopping in descending order.The format of the test packets is grouped using forward error correction codes, including AUX1. HV3, DH1, 3, 5. Divided into payload length format, packet format, etc. When sending in test mode, TESTER defines the payload length through appropriate settings, and the control of transmission parameters meets the requirements of the baseband specification, and test sending can be performed.Switching between different frequency settings, after receiving a new frequency band message, DUT starts to switch after receiving the message.For power control, use the conventional LMP command to test and control the adaptive power, use the drunk power for transmission, and increase or decrease the power according to the received command.After decoding the device under test, the conventional baseband grouping method is used for transmission between the next TX time slot, and the effective load is carried out in the TX time slot loopback test, and the pseudo-random sequence code of enabling or stopping is sent back, and the same grouping is used Then add noise in the test equipment.If the test mode control information is included in the packet, the instruction will not be executed and will not be returned to other packets when other LMP instructions are ignored. It is allowed to use the error correction code FEC for encoding and decoding in the forward error correction processing test. The grouping of test equipment uses bit error rate for forward error correction testing.In the case of CRC invalidation, the payload is used for grouping, and the packet carrying the CRC can be returned by the payload. If the header verification fails, the ARON can return a NAK by using a NULL packet containing the ARQN bit, and may not respond if the synchronization header is not detected.2. Bluetooth test control interfaceThe Bluetooth technical specification includes two documents, the application framework and the core protocol. The former specifies the definition of each layer of Bluetooth communication protocols, and the latter specifies the product applications implemented by the protocol.All Bluetooth components are tested with the conformance test protocol, and the protocol of the object under test is tested in the peripheral product. After the high-level device UT implements the underlying functions, the protocol is verified and implemented through testing. In order to avoid the change of each measured object and test system due to different situations, the mandatory test method of the standard control interface can be used to access the test equipment, and the method of uniformly testing the high-level interface can be used, and the IUT uniformly supplied by the manufacturer can be used. The adapter performs hardware and software operations.In the verification of the baseband layer, logical link control and adaptation protocol interface, and link management layer protocol, the interface between the test equipment and the SUT used includes: TCI-L2CAP interface, which can be used after verification by the SUT , events and commands can be defined through the service interface, which can be converted into messages in the same format as commands and HCI events. The TCI interface is used for the host control interface, and is used as the interface of the test system through the verification of the link management layer and the link control layer. The test system realizes event access with the upper layer by sending HCI event access commands and HCI commands. The test equipment used is located in the transport layer channel, including physical channel and software channel, because the manufacturer is responsible for the operation of the software and sends data to the device.3. Bluetooth protocol stack conformance testThe test is checked and given with the entity through the intrinsic form of the protocol. The internal specifications are consistent with each other, and can only be tested after passing the description of the specification and the detection of the output form.The structure of the L2CAP conformance test includes three components: the conformance test system, the test control software and the tested object. The execution test system is connected through the test control interface in the bluetooth device, and the test control software performs an air interface to the bluetooth transmitting device in the object under test. The recommended physical transport layer of TCI is the specified transport layer of HCI, including RS232, UART and USB. The test system sends L2CAP system commands to the object under test. After the object under test receives the command, the upper layer of the test system drives through the physical bus driver and the L2CAP driver, and the underlying object under test implements L2CAP data after processing. grouping.The test control software includes three components: L2CAP firmware, adapter and physical bus. The test control software is adapted through the interface. The data in the test control software is sent by the physical bus. After reaching the upper level of the test system, the data is received, and the firmware encodes and decodes the data. The interface in the adapter performs IUT adaptation, and finally realizes the test of the object under test according to the software of the Bluetooth master protocol.SummarizeWith the rapid development of information technology, new types of smart terminals integrate computing and communication. New devices represented by smart terminals and smart phones have gradually replaced traditional desktop computers and notebooks, which are smaller in size, lower in power consumption, and With a variety of communication means, such as Bluetooth technology, for information interaction. As one of the main short-distance and low-power wireless communication technologies, Bluetooth technology has been widely used in the field of transmission and information exchange, and has become the cutting-edge technology of wireless communication. The purpose of designing the Bluetooth test program is to realize mobile Wireless connection between equipment and fixed equipment, and achieve the goal of low cost and simple construction. This paper systematically analyzes the implementation process of the bluetooth test scheme through the elaboration of the conformance test method of the bluetooth protocol and the test mode of the bluetooth device.The above is the test solution technology of Bluetooth devices introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. for you. If you have Bluetooth product design and development needs, you can trust us. We have rich experience in custom development of smart electronic products. We can evaluate the development cycle and IC price as soon as possible, and can also calculate the PCBA quotation. We are a number of chip agents at home and abroad: Songhan, Yingguang, Jieli, Ankai, Quanzhi, realtek, with MCU, voice IC, BLE Bluetooth IC, dual-mode Bluetooth module, wifi module. We have hardware design and software development capabilities. Covering circuit design, PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development, voice recognition technology, Bluetooth development, wifi technology, etc. It can also undertake the research and development of smart electronic products, the design of household appliances, the development of beauty equipment, the development of Internet of Things applications, the design of smart home solutions, the development of TWS earphones, the development of Bluetooth earphone speakers, the development of children's toys, and the research and development of electronic education products.
07-11
2023
The SN8F5702 is compatible with the MCS-51 instruction set eight-bit microcontroller, and under the same execution frequency standard, its efficiency can reach up to 12.1 times that of the original 8051. At the same time, the operating voltage range (1.8 V to 5.5 V) and operating temperature (-40°C to 85°C) are expanded through advanced semiconductor technology, allowing the product to operate at high speed in various applications.In this microcontroller, built-in 4 KB ROM and 256 bytes IRAM. In addition, the microcontroller also has a 12-bit high-precision ADC, 1 set of PWM generators, 3 sets of 16-bit counters (timers) and UART, SPI, I2C communication interfaces to meet consumer electronics products, home control, brushless Applications such as motor control.Shenzhen Zuchuang Microelectronics is the first-level agent of Songix in mainland China. It sells Songix single-chip microcomputers and voice ICs, and can provide technical support for Songix solutions. It can also directly develop and design electronic products for customers. It has a wealth of experience. Experience in hardware development and program design can help customers quickly develop products and put them on the market as soon as possible.SN8F5702.pdf
07-11
2023
feature of productWorking voltage: 2.1V~5.1V,System clock: 2.304MHz+-1.5%Voice duration: 85sec@6KHzRAM size: 128*4bitMaximum program space 64K*12 bitsI/O ports: - Input port P9.0 and reset pin -12I shared /O ports: P1, P2, P3 - High drive/receiver current: P2, P3 - Normal drive/receiver current: P1·Timer:-Timer 1: 2ms/4ms- Watchdog Timer (WDT): 110 ms·IR output: P2.3 or P1.38 sets of hardware PWMIO: P2, P3· Low Voltage Reset (LVR)-Typical 1.9V with enable/disable option- Low LVR current when LVR occurs. Low Voltage Detector (LVD)- 2 levels: 2.2V, 3.2V
07-10
2023
Intelligent roadblock system based on bluetooth control technologyWith the increase of vehicles, urban traffic problems are becoming more and more prominent. Roadblocks are an essential facility for traffic management. Traditional roadblocks are manually arranged and moved. Staff are in danger of being hit by vehicles. The use of intelligent roadblock systems can avoid being hit by cars. Hazardous, reduce manual labor. With the continuous development of smart cities and smart transportation, my country's research in the field of unmanned vehicles has made great progress. During the testing process, there are still uncontrollable dangers. In the road link, the intelligent roadblock system is adopted to remotely control the transformation of the roadblock formation to prevent danger and protect the personal safety of the participants.1. Overall design of intelligent roadblock systemConsidering the functional requirements and cost control used in the competition, in this design scheme, the intelligent roadblock is mainly divided into two parts: the control unit and the wireless module. A relatively stable remote control design is adopted, and a dedicated remote control is designed as the control terminal. The STM32F103 series single-chip microcomputer is used as the main control unit of the intelligent roadblock and the remote control, and the wireless transmission module adopts the master-slave integrated Bluetooth chip HC-05. Due to the large loss of smart roadblocks in the competition, in order to ensure the loss of the competition, there must be a sufficient number of smart roadblocks. This design realizes cost control on the basis of meeting the functional requirements and quantity requirements of the competition.1.1 Intelligent roadblock hardware circuit designFrom the perspective of mechanical structure, the intelligent roadblock is divided into an upper roadblock and a lower movable wheeled base plate, and the road block and the base plate are fixed together with screws. There are two driving wheels and one driven wheel under the bottom plate, each of which is equipped with a DC motor, and the bottom plate is fixed with a motor drive module L298N, a core control unit STM32, a Bluetooth chip HC-05, and a 7.2V rechargeable lithium battery. The remote control uses STM32 as the main control unit, 4*4 matrix membrane switch as the remote control button, and 5V dry battery as the power supply.The L298N integrates two high-voltage and high-current full-bridge drivers of the H-bridge, which can drive inductive loads; it adopts standard logic level signal control; it has two enable control terminals, allowing or There is a logic power input terminal for prohibiting the operation of the device, so that the internal logic circuit part can work under low voltage; the detection resistor can be connected externally, and the change can be fed back to the control circuit.The chip can drive a two-phase stepper motor or a four-phase stepper motor, or two DC motors. The L298N directly drives two DC motors, namely M1 and M2. Pins A and B are connected to 5V, the motor is working at the highest speed, the input signal terminal IN1 is connected to a high level input terminal IN2 is connected to a low level, and the motor M1 is rotating forward. The signal terminal IN1 is connected to a low level, IN2 is connected to a high level, and the motor M1 is reversed. Controlling M2 is the same way.1.2 Intelligent roadblock software designIn terms of software design, the main control unit we use is STM32, a 16-bit microcontroller with a clock frequency of up to 72MHz and a power consumption of 36mA, which has the advantages of powerful performance and ultra-low power consumption. It meets our design requirements and can stand by for a long time. After testing, it can stand by for 48 hours when not in use. Under continuous testing, it can work continuously for more than one hour, which fully meets our needs. After the power is turned on, the program performs initialization settings, and the smart roadblock works in the standby state. The Bluetooth module has been detecting whether it has received a control signal. After receiving the signal, the smart roadblock Bluetooth module sends the control signal to the smart roadblock control unit. Control the signal to make forward, backward, left turn, right turn actions to realize the movement of intelligent roadblocks and meet the requirements of roadblock formation changes.1.3 Smart Barrier Bluetooth DesignBluetooth is a wireless technology standard, which can realize data transmission between fixed equipment and mobile equipment. The HC-05 Bluetooth module used in this design can perform full-duplex communication with the STM32 series single-chip microcomputer main control chip, that is, the two can read and write each other. For example, when sending data from the Bluetooth module, the write terminal (TXD) of HC-05 is connected with the read terminal (RXD) of the MCU main control chip to realize communication; otherwise, the read terminal (RXD) of HC-05 and the MCU main control chip The write terminal (TXD) is connected. When connecting, you need to pay attention to the cross-connection of two pairs of read-write terminals, and the two need to share the same ground (this Bluetooth module has a total of 4 pins on the power terminal, and there is no need to connect them separately).The remote control and the smart roadblock communicate wirelessly through the Bluetooth module. The Bluetooth on the remote control side is set to the master mode, and the Bluetooth on the smart roadblock side is set to the slave mode. Different passwords are set for the two remote controllers, which can distinguish the two remote controllers from controlling two sets of smart roadblocks. According to the button pressing mode of the control terminal, different numbers of intelligent barriers will respond. After testing, the bluetooth chip we choose can reach an outdoor control distance of 20 meters, which can fully meet our design requirements.2. Design of the remote control end of the Bluetooth smart roadblock systemIn this project, a total of 50 intelligent roadblocks are designed, and each group of 10 is numbered A 0-9, B0-9, C0-9, D0-9, E0-9. The program assigns different numbers to each roadblock The setting enables the smart barricade to discern whether to respond to a control signal. On the track, different numbers of smart roadblocks can be adjusted to realize free formation changes of roadblocks, providing a good competition environment for the China Smart Car Future Challenge.Considering that the roadblocks are divided into two rows during the competition, we designed two remote controllers to control 25 smart roadblocks respectively, and the two groups correspond to two rows of roadblocks. The 0-9 number keys of the matrix membrane switch correspond to the individual numbered 0-9 intelligent roadblocks; the # key corresponds to the all-select function (25 sets are all selected), and in the all-select mode, the number 0 is selected to correspond to the remote control of the corresponding set All numbers under the control are intelligent roadblocks numbered 0; A, B, C, and D keys correspond to forward, backward, left turn, and right turn functions; among them, A, B, and C are multiplexed keys, and correspond to A, B, and E (Five of them) Groups have the function of selecting all groups, the * key is used as a multiplexing signal distinguishing key, when A, B, C, D are used as forward, backward, left turn, right turn functions, you need to press * at the same time word key.The matrix switch is pressed to provide a low-level signal, and the main control unit sends a signal through Bluetooth to control the intelligent roadblock. When controlling the smart roadblock to move forward, backward, turn left, or turn right, keep pressing the * key and one of the keys A, B, C, and D to realize the continuous response of the smart roadblock, and release the button to stop the response of the smart roadblock. Since the control mode is designed with multiple combinations of single selection and multiple selection, it can work in the most suitable control mode according to needs.3. Practical and innovative concept of intelligent roadblock system designThe main reasons for the applicability of this barricade are:(1) Simple mechanical structure. A chassis with universal wheels and driving wheels is fixed at the lower part of the barricade for the control and movement of the barricade. The mechanical structure is simple and stable, and has strong applicability and manufacturability.(2) Easy-to-operate remote control method, the button design of the remote control terminal of the intelligent roadblock is simple and convenient, which can realize multiple control options in different combinations, easy to adjust the formation, and can be controlled from a long distance, which can be suitable for arriving in different competition vehicles in time during the competition Adjust and transform the formation before to form a freely transformable game level.(3) Simple intelligent roadblock design, only adding chassis, battery, motor, drive module, central control unit, bluetooth module to the original roadblock design, simple design, controllable cost, can meet the competition requirements, suitable for competitions possible risk of accidental damage.SummarizeThe intelligent roadblock system introduced in this article has a simple mechanical structure, easy-to-learn remote control method, simple design and stable function of the intelligent roadblock, and can realize remote control or on-site remote control of the intelligent roadblock under different road conditions. The simple and practical design of the smart roadblock is suitable for various scenarios such as large parking lots, office buildings, road construction, traffic diversion, etc. It solves the problems of physical labor and personal danger in traditional roadblock deployment, and helps solve urban traffic problems. Its low cost and stable functions can realize commercial production and use.The above are the details of the intelligent roadblock system based on Bluetooth control technology introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. If you have Bluetooth product design and development needs, you can trust us. We have rich experience in custom development of smart electronic products. We can evaluate the development cycle and IC price as soon as possible, and can also calculate the PCBA quotation. We are a number of chip agents at home and abroad: Songhan, Yingguang, Jieli, Ankai, Quanzhi, realtek, with MCU, voice IC, BLE Bluetooth IC, dual-mode Bluetooth module, wifi module. We have hardware design and software development capabilities. Covering circuit design, PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development, voice recognition technology, Bluetooth development, wifi technology, etc. It can also undertake the research and development of smart electronic products, the design of household appliances, the development of beauty equipment, the development of Internet of Things applications, the design of smart home solutions, the development of TWS earphones, the development of Bluetooth earphone speakers, the development of children's toys, and the research and development of electronic education products.
07-10
2023
SN8F5703 is compatible with MCS-51 instruction set eight-bit microcontroller, and under the same execution frequency standard, its efficiency can reach 12.1 times of the original 8051. At the same time, the operating voltage range (1.8 V to 5.5 V) and operating temperature (-40°C to 85°C) are expanded through advanced semiconductor technology, allowing the product to operate at high speed in various applications.In this microcontroller, 8 KB ROM, 256 bytes IRAM and 256 bytes XRAM are built-in. In addition, the microcontroller also has 12-bit high-precision ADC, 1 set of operational amplifiers (OP-Amp), 1 set of comparator circuits, 1 set of PWM generators, 3 sets of 16-bit counters (timers) and UART, SPI, I2C communication interface to meet the application occasions of consumer electronics products, home control, brushless motor control, etc.Shenzhen Zuchuang Microelectronics is a first-class Sonic agent in mainland China. It sells Sonic single-chip microcomputers and voice ICs, and can provide technical support for Sonic solutions. It can also directly develop and design electronic products for customers. It has rich Experience in hardware development and program design can help customers quickly develop products and put them on the market as soon as possible.SN8F5703.pdf