This document describes an experiment to demonstrate pulse-code modulation (PCM) using an analog-to-digital converter (ADC) and a digital-to-analog converter (DAC). The objectives are to encode and decode analog signals using PCM and demonstrate how the sampling rate affects the reproduction of analog signals. The experiment uses an 8-bit ADC to sample an analog input signal and convert it to an 8-bit digital code. The digital output is then converted back to an analog signal using an 8-bit DAC. A low-pass filter is used to smooth the staircase output of the DAC into a representation of the original analog input signal.