It is easy to hear broadcasting from a large building such as a department store or a mart.
If I use this broadcasting at home, no need to make my voice too louder.
STEP 1. Introducing the Voice Streaming
We are going to introduce a project that allows you to send voices over Ethernet and listen.
If this device is in a home with children, their mother does not need to make her voice louder.
Follow the link below for more details.
STEP 2. Materials
2-1 WIZwiki-W7500: 2 pieces (since you need to use transmit and receive)
Any speakers don’t matter. Speakers always use two lines.
R : 2.7Kohm / C : 0.01uF
Use the following two components to create an RC low pass filter.
This is an apparatus for improving sound quality.
STEP 3. Hardware Configuration
Figure 1 Implement PC lowpass filter
STEP 4. Source code link and key code description
Download the code from the link below first.
Since we are going to use the UDP protocol, we need to make a few modifications regarding UDP.
Figure 2 Server 와 Client setting( Server : Receive data, Client : Transmission data)
Figure 3 Ethernet Setting
Figure 4 UDP server Setting
Figure 5 UDP Client Setting
From the Client needs an ADC to process the voice message. At this time, the voice message is stored in the buffer and giving a time of 100u sec.
Therefore ADC operates every 100u sec.
From the Client stores voice messages every 100u sec.
A server transmits the voice message by using PWM.
The double buffer was used for real time. Another buffer stores data while one buffer is processed as the figure below.
STEP 5. A result of this project
Although it seemed to transmit voice through Ethernet simply in a circuit, we used the RC low pass filter for noise processing and double buffer for real-time transmission.
I hope you have another project that can send and receive voices better in realtime with this project.