Do you always wonder how you can apply the things you learned in lectures in real-world experiments?
Are you bored of just simulating things without real-world applications?
Have you ever wondered, how wireless communications really work, despite all the simulations and math?
With a soundcard, a speaker and a microphone you have all the things necessary for a wireless transmission system:
Using your soundcard to study wireless communications has several advantages:
import sounddevice as sd import numpy as np t = np.arange(0,2,1/44100) sd.play(np.sin(2*np.pi*440*t), 44100)
Despite virtually every PC having a built-in soundcard, I recommend to use a dedicated soundcard for your experiments. In case the soundcard gets damaged by e.g. overvoltage, you would not destroy your whole PC but just the cheap soundcard. In addition, you can use your builtin soundcard to play music while you program.
The experiments shown on this site are done using a simple and cheap Sabrent USB sound card from Amazon which is completely sufficient for the used purpose.
There are no strong requirements on the speakers used for playing the signal. You can virtually use any speaker you have available. The experiments on this site were carried out using these simple speakers from Amazon.
As for the microphone again there are not high requirements. As an example, I have carried out the experiments using this simple NAVISKAUTO microphone from Amazon.
Even though it's nice to hear your signal fly through the air, it can quickly become quite annoying. For this case, one can use a loopback cable which directly connects the audio output with the microphone input. For example, I used this standard cable from Amazon to connect output and input.
On dspillustrations.com I offer a complete walkthrough of establishing a wireless link between the audio output and audio input of a USB soundcard. Within 10 parts, the following aspects are covered:
Do you have questions or comments? Let's dicuss below!