A UART link runs at 115200 baud. Find the duration Tb of one bit, in µs.
Data acquisition & sampling worksheet with answers
An ADC samples at 10 kHz. Find the Nyquist frequency fN, the highest signal frequency it can represent without aliasing.
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).
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.
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.
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).
Answer key
- 1. Tb = 8.681 µs
- 2. fN = 5 kHz
- 3. M = 4.8 MB
- 4. RB = 109.1 B/s
- 5. fs = 35.71 kHz
- 6. e = 0.1603 %
Full step-by-step solutions: practise this topic on examproblems.com.