Data acquisition & sampling worksheet with answers

Free printable Data acquisition & sampling worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​ = ?115200 Bd

A UART link runs at 115200 baud. Find the duration Tb of one bit, in µs.

baud = 115200 Bd
Tb = µs
2.Easy
f0fN​ = ?10 kHz

An ADC samples at 10 kHz. Find the Nyquist frequency fN, the highest signal frequency it can represent without aliasing.

fs = 10 kHz
fN = kHz
3.Medium
122 ch∿01N = 142 kHz? MB

A recorder samples 2 channels at 2 kHz each with a 14-bit ADC. Each sample is stored in whole bytes. Find the memory M needed for a 10 min recording, in MB (1 MB = 10⁶ bytes).

n = 2fs = 2 kHzN = 14t = 10 min
M = MB
4.Medium
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​11·Tb​1200 Bd, 8N2

A UART sends bytes at 1200 baud in the format 8N2: 8 data bits, no parity and 2 stop bit(s), plus the start bit. Find the largest number of data bytes per second it can transfer.

baud = 1200 Bd8N2
RB = B/s
5.Hard
128⋮8 ch∿01tc​ = 2.5 µstset​ = 1 µsfs​ = ?

An 8-channel multiplexer feeds one ADC. Each conversion takes 2.5 µs, and after every channel switch the input needs 1 µs to settle. The channels are scanned in turn without pause. Find the sampling rate fs of each channel, in kHz.

n = 8tc = 2.5 µstset = 1 µs
fs = kHz
6.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​12 MHz / (16·D)

A microcontroller with a 12 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 19200 baud. Find the percentage error of the real baud rate (positive when it is too fast).

fclk = 12 MHztarget = 19200 Bd
e = %

Answer key

  1. 1. Tb = 8.681 µs
  2. 2. fN = 5 kHz
  3. 3. M = 4.8 MB
  4. 4. RB = 109.1 B/s
  5. 5. fs = 35.71 kHz
  6. 6. e = 0.1603 %

Full step-by-step solutions: practise this topic on examproblems.com.