Lab 13.
Bits on
a carrier.
Send random bits by switching a carrier on and off (ASK) or between two frequencies (FSK), and get them back with a correlator. Move a slider and the figure follows.
Read the concepts first →Your details
Free to use, no sign up. Your name is only printed on your own lab sheet, and your work is saved in this browser so you can continue later. Nothing is sent to a server.
ASK and FSK Digital Modulation
This virtual lab sends random bits with two simple digital modulations in a MATLAB style desktop. In amplitude shift keying (ASK) the carrier is switched on for a 1 and off for a 0. In frequency shift keying (FSK) the carrier moves between two frequencies, one for each bit value.
You see the bit stream, the modulated wave and the receiver side together. A correlator multiplies the received wave by the carrier, adds it up over each bit time and compares the result with a threshold to decide each bit. Sliders change the bit rate and the carrier frequencies so you can see how the waveforms and the decisions change. Comparing the sent and the received bits row by row shows when the receiver decides correctly and why.

What you do on this bench
- Generate random bits and turn them into an ASK signal.
- Demodulate the ASK signal with a correlator and compare the recovered bits with the sent bits.
- Make an FSK signal with two carrier frequencies.
- Change the bit rate and the carrier frequencies and watch the waveforms change.
On the bench
- MATLAB style desktop
- Random bit generator and correlator receiver in MATLAB syntax
- Sliders for bit rate and carrier frequencies
- A PDF report of your figures
Free, runs in the browser, no sign up and nothing to install. A computer with a graphics card gives the smoothest 3D view.
Questions students ask
What is the difference between ASK and FSK?
ASK changes the carrier amplitude with the bits, so noise that changes the amplitude causes errors easily. FSK keeps the amplitude constant and changes the frequency, which makes it more robust to noise and level changes.
What does a correlator do?
It multiplies the received signal by a copy of the expected carrier and adds the product over one bit time. A large sum means the carrier was present, so the bit is decided as 1.
Where is FSK used?
In old telephone modems, in radio teleprinters and in many low power wireless links, because the receiver only needs to tell two frequencies apart.
Read the concepts page for this lab · All Communication Systems virtual labs · All articles