Learn the theory behind the labs.

32 free articles on communication systems and digital logic. Each one explains an idea in plain words with worked numbers, then links to a virtual lab where you can try it.

17 articles

Communication Systems

Signals, spectra, AM, SSB, FM, multiplexing and digital modulation on 3D trainers, an oscilloscope, a spectrum analyzer and a MATLAB style desktop.

Lab 2, 3

Fourier Transform Basics: From Time to Frequency

Learn what the Fourier transform does, how time and frequency views of a signal connect and how to read a spectrum, with worked examples and a free lab.

Lab 2

Fourier Series of a Square Wave and Its Harmonics

See how a square wave is built from odd harmonics, with the amplitude formula, dB levels, the Gibbs overshoot and the bandwidth needed to show clean corners.

Lab 2, 5

How to Use a Spectrum Analyzer: Span, RBW and Reference Level

A practical guide to spectrum analyzer settings: center frequency, span, resolution bandwidth, reference level, dBm and sweep time, with worked examples.

Lab 5, 6

How to Use an Oscilloscope: Volts per Div, Time per Div and Trigger

Learn the main oscilloscope controls: volts per division, time per division, trigger level and slope, AC and DC coupling and probes, with worked measurements.

Lab 3, 1

FFT in MATLAB: Frequency Axis, fftshift and Spectral Leakage

Use the FFT in MATLAB correctly: build the frequency axis, scale the amplitude, apply fftshift, and understand spectral leakage, windows and zero padding.

Lab 3

Butterworth Filters and Group Delay

Understand the Butterworth low pass filter: flat response, cutoff and order, how to pick the order, and why group delay matters for pulses, with MATLAB code.

Lab 5, 4

Amplitude Modulation and the Modulation Index

Learn how amplitude modulation works: the AM equation, the modulation index from an oscilloscope picture, sidebands, bandwidth, power and overmodulation.

Lab 5, 7

DSB-SC Modulation: Double Sideband Suppressed Carrier

Understand DSB-SC modulation: the product of message and carrier, the two sidebands, phase reversals, balanced modulators, carrier leakage and detection.

Lab 7, 5

Single Sideband (SSB) Modulation and Demodulation

How single sideband works: USB and LSB spectra, the filter and phase shift methods, bandwidth saving, power gain and the effect of carrier frequency error.

Lab 6

The Envelope Detector for AM: Design and Distortion

How a diode envelope detector works, how to choose the RC time constant, and how to avoid diagonal clipping and negative peak clipping, with a worked design.

Lab 6, 7

The Product Detector: Coherent Demodulation of AM, DSB-SC and SSB

See how a product detector works: multiply by a local carrier and low pass filter, the effect of phase and frequency error, and how receivers get the carrier.

Lab 9, 8

Frequency Modulation: Deviation, Bessel Sidebands and Carson Rule

Learn how frequency modulation works: deviation, modulation index, Bessel sidebands, the carrier null and Carson rule for bandwidth, with FM radio numbers.

Lab 10

FM Demodulation: Slope, Quadrature and PLL Detectors

Compare the main FM demodulators: slope detector, balanced discriminator, quadrature detector and PLL. See how each turns frequency changes back into voltage.

Lab 10

Phase Locked Loop (PLL): How It Locks and Where It Is Used

Learn how a phase locked loop works: phase detector, loop filter and VCO, lock and capture range, the loop equation, and FM demodulation and carrier recovery.

Lab 11

Frequency Division Multiplexing (FDM): Sharing One Channel

Learn how frequency division multiplexing sends many messages on one channel: subcarriers, bandwidth planning, guard bands, crosstalk and recovery with filters.

Lab 13

ASK and FSK: Digital Modulation of a Carrier

Learn amplitude shift keying and frequency shift keying: waveforms, bandwidth, detection, and error rates against Eb/N0, with a short MATLAB example.

Lab 12

Probability Density Functions of Random Signals: Uniform, Gaussian and Rayleigh

Learn the probability density function of random signals. Compare uniform, Gaussian and Rayleigh densities, their mean and variance, and plot a PDF in MATLAB.

15 articles

Digital Logic Design

Gates, adders, code converters, decoders, multiplexers, flip-flops, registers and counters wired on a 3D logic trainer with a real breadboard.

Lab 1

Logic Gates and Truth Tables: AND, OR, NOT, NAND, NOR, XOR

Learn the seven basic logic gates with truth tables, symbols and expressions, the common TTL chips that hold them and how to read a gate level circuit.

Lab 1, 2

Boolean Algebra and De Morgan's Laws

Learn the Boolean identities, absorption and consensus, and De Morgan's laws, with worked simplification examples and truth table proofs you can check.

Lab 2

NAND and NOR as Universal Gates

See why NAND and NOR are universal gates. Build NOT, AND, OR and XOR from NAND only and from NOR only, count the gates and use two level NAND logic.

Lab 3

Half Adder, Full Adder and the 74283 4-Bit Adder

Learn how half and full adders add binary numbers, how to build a ripple carry adder, how the 74283 works with its carry in and out, with worked sums.

Lab 4, 3

Binary Subtraction with Two's Complement and the 74283

Learn to subtract binary numbers with two's complement, build an adder subtractor from a 74283 and XOR gates, and read the carry and the sign of the result.

Lab 5

Karnaugh Maps: Simplify Boolean Functions Step by Step

A step by step guide to Karnaugh maps: how to fill a 4 variable map, group cells, use don't cares and write the simplest sum of products, with a worked example.

Lab 6

BCD to Seven Segment Decoder: The 7447 and Common Anode Displays

Learn how a 7447 drives a common anode seven segment display: BCD input, active low outputs, segment patterns, resistors, the lamp test and ripple blanking.

Lab 6, 7

Gray Code, Excess-3 and 2421 Code Converters

Convert between binary, Gray, excess-3 and 2421 codes. Learn the XOR rules, a 74283 excess-3 converter, self complementing codes and 9's complement.

Lab 8

3-to-8 Line Decoder: How the 74138 Works

Learn how a 3 to 8 line decoder works, the 74138 enable pins and active low outputs, how to build any function from minterms, and expand to 4 to 16 lines.

Lab 9

Encoders and the 74148 Priority Encoder

Learn how encoders and priority encoders work. See the 74148 inputs, active low outputs, the GS and EO signals, and how to cascade two chips to encode 16 lines.

Lab 10

Multiplexer and Demultiplexer: The 74151 and 74138

Learn how a multiplexer selects one of many inputs, how the 74151 works, how to build a Boolean function with it, and how a demultiplexer sends data out.

Lab 11, 12

Latches and Flip-Flops: SR, D and JK Explained

Learn how SR latches, gated D latches, edge triggered D flip-flops and JK flip-flops work, with tables and equations, and the toggle and debounce uses.

Lab 13

Shift Registers: Serial In, Parallel Out and More

Learn how shift registers work: SISO, SIPO, PISO and PIPO types, the universal 74194, ring and Johnson counters and serial to parallel conversion.

Lab 14, 12

Counters: Ripple, Synchronous and the 74192

Compare ripple and synchronous counters, find the maximum clock rate, build a mod N counter by resetting, and meet the 74192 up down counter.

Lab 1, 3

TTL Chips on a Breadboard: Power, Pin Numbers and Wiring Rules

A practical guide to wiring TTL chips on a breadboard: supply voltage, pin numbering, unused inputs, logic levels, LED resistors and common mistakes.