A UART link runs at 1200 baud. Find the duration Tb of one bit, in µs.
Data acquisition & sampling worksheet with answers
A data logger samples one channel at 2 kHz with 8-bit resolution. Find the raw data rate Rb in kbit/s.
A sensor measures distance over a span of 300 mm, and its output fills the whole input range of an ADC. The reading must resolve 0.2 mm. Find the smallest number of bits N the ADC needs.
An ADC with an input range of 0 to 10 V must resolve steps of 2 mV or smaller. Find the smallest number of bits N.
A 24-bit ADC streams every sample over a UART at 460800 baud, format 8N1 (start bit, 8 data bits, 1 stop bit). Each sample is sent as 3 whole byte(s) and the link is busy all the time. Find the highest signal frequency fmax that can be sampled without aliasing, in Hz.
A microcontroller with a 16 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 9600 baud. Find the percentage error of the real baud rate (positive when it is too fast).
Answer key
- 1. Tb = 833.3 µs
- 2. Rb = 16 kbit/s
- 3. N = 11
- 4. N = 13
- 5. fmax = 7680 Hz
- 6. e = 0.1603 %
Full step-by-step solutions: practise this topic on examproblems.com.