Design and Implementation of Wireless Headset Based on nRF24E1

0 preface

Currently, with the popularity of the Internet and personal computers, people often use wired headsets for voice chat. Due to the limitations of wired headsets, people must sit in front of the computer to voice chat.

If it takes a long time, it will cause the computer to radiate to the human body, thus affecting people's health. In home TV, people usually use the built-in speaker of the TV to listen to the sound from the TV, which sometimes gives the rest of the family work and rest. Have a certain impact.

Based on these problems, this paper designs and implements a wireless headset based on nRF24E1. The design has the advantages of strong anti-interference ability, good confidentiality, good sound quality and low cost. The indoor transmission distance is about 30 meters, which reduces the radiation of the computer to the human body and does not affect the rest and work of other members of the family.

The wireless headset uses the current state-of-the-art wireless transceiver chip nRF24E1, which can realize wireless communication of voice in the world's common ISM frequency band 2. 4G ~ 2. 5GHZ.

1 nRF24E1 Introduction

The nRF24E1 chip is a wireless transceiver module with a 2. 4GHz wireless transceiver nRF2401 and an enhanced 8051 core. With a channel operation time of less than 200us and a data rate of 1Mbps, the chip does not require an external SAW filter. It is the world's first low-cost RF system-on-chip. It is internally embedded with an 8051-compatible microprocessor and a 10-bit, 9-input A/D converter that can operate stably from a voltage between 1. 9V and 3. 6V. It is also embedded with a voltage regulator and VDD voltage monitoring. Device. The wireless transceiver part has the same function as the nRF2401. This function is activated by the internal parallel port and the internal SPI. Each pending signal can be programmed as an interrupt for the processor or transmitted to the microprocessor through the GPIO port. The nRF24E1 chip enables wireless communication in the world's common ISM (Industrial, Scientific, and Medical) frequency bands of 2.4 to 2. 5 GHz. The transceiver part contains a frequency divider, an amplifier, a regulator and two transceiver units. The output energy, frequency band and other RF parameters can be easily programmed and adjusted through the RF register. In the transmit mode, the current consumption is only 10. 5 mA; in the receive mode, the current consumption is only 18 mA, so the power consumption is quite low.

2 wireless headset hardware structure design

The wireless headset is mainly composed of a plug portion and a headset portion. The plug part consists mainly of two plugs and an nRF24E 1 . The two plugs are a microphone plug and a headphone plug, respectively, which are respectively inserted into the microphone jack of the computer and the headphone jack or the headphone jack of the home TV; the headset part mainly consists of a microphone, a headphone and an nRF24E1. Its hardware structure block diagram is shown in Figure 1. The wireless headset realizes two-way communication of voice through the wireless voice transceiver chip nRF24E1.

The wireless headset can send the voice of the person into the computer via the microphone; it can also send the sound of the computer or TV to the headset of the wireless headset. Whether it is sending voice to a computer or TV, or sending voice to a headset, the principle of one-way voice transmission is the same.

Wireless headset

Figure 1 Wireless headset hardware structure block diagram

The nRF24E1 chip has a 9-channel 10-bit ADC (Analog to Digital Converter), and its sampling frequency includes 24 bytes or 3m s for each RF (Radio Frequency) data. Audio sampling signal.

The wireless headset sends the vocal to the computer or the TV is sent and received as shown in Figure 2:

The circuit of the transmitting end is shown in Figure 3. A pre-filtering amplifier circuit is required between the microphone and the ADC module of the nRF2401. It filters and amplifies the analog audio signal picked up by the microphone. The amplified analog audio signal is sent to the ADC.

Voice reception

Figure 2 One-way voice transmission and reception process

Voice transmission

Figure 3 transmission circuit diagram of voice

At the receiving end, when the RF front end nRF2401 receives a valid data packet and the microcontroller receives an RF reception interrupt, the valid data portion of the received data packet can be separated by the FIFO of the RF front end; The separated valid data portion is stored in the receive buffer (RxBuf) in the 8051; the voice signal in the receive buffer is output as a PWM signal; the PWM output is driven by the 8-bit PWM engine, and no microcontroller sharing is required. Processing the task; finally the voice signal is sent out via the PWM signal.

The circuit diagram of the receiving end is shown in Figure 4. The nRF24E1 chip provides a PWM output. The PWM output signal of the nRF24E1 can be amplified by one level to obtain the desired audio analog signal.

Voice receiving circuit

Figure 4 Received circuit diagram of speech

At the transmitting end, the ADC performs A/D conversion on the analog audio signal sent from the microphone; the collected digital audio signal is stored in the transmit buffer (TxBu f) opened in the microcontroller 8051 before enough RF data packets are available. After the sampled data is fully encapsulated, the 8051 stores the next data packet, and transfers the full data packet to the RF front end nRF2401, and transmits the data packet through the nRF2401.

1.6 years product warranty (material and workmanship), 25 years module power output warranty
2.Industry leading plus only power tolerance: 0+3%

3.Strong framed module, passing mechanical load test of 5400Pa to withstand heavier snow load                                                                           4.17% conversion efficiency,reducing installation costs and maximizing the kwh output per unit area.

Poly Panel

Polycrystalline Solar Panel,Poly Panel,Poly Solar Panel

Yangzhou Beyond Solar Energy Co.,Ltd. , https://www.ckbsolar.com