Published by Patrick Mutisya · 14 days ago
Know and understand the need to convert analogue to digital data so it can be processed by a computer.
Computers operate using binary (digital) signals. Most real‑world information – sound, light, temperature, pressure – is analogue. To store, manipulate, or transmit this information with a computer, it must be transformed into a digital form that the computer can understand.
| Aspect | Analogue | Digital |
|---|---|---|
| Signal type | Continuous wave | Discrete binary values (0s and 1s) |
| Representation | Infinite range of values | Finite set of values (bits) |
| Noise sensitivity | High – small changes affect the signal | Low – errors can be detected and corrected |
| Storage | Physical media (e.g., magnetic tape) | Electronic memory (RAM, SSD, etc.) |
The conversion is performed in three main stages:
Sampling rate (or frequency) determines how many samples are taken per second. According to the Nyquist theorem, the sampling rate must be at least twice the highest frequency component of the analogue signal to avoid aliasing.
\$f{s} \ge 2 f{max}\$
where fs is the sampling frequency and fmax is the maximum frequency present in the analogue signal.
Quantisation maps each sampled amplitude to a discrete level. The number of levels is determined by the bit depth (number of bits per sample).
Number of levels = \$2^{n}\$, where \$n\$ is the bit depth.
Example: an 8‑bit system provides \$2^{8}=256\$ possible levels.
Each quantised level is expressed as a binary code. For an 8‑bit system, a level of 173 would be encoded as 10101101.
Consider a 1‑kHz sine wave sampled at 8 kHz with a 4‑bit depth.
1111), minimum to 0 (0000).Analogue data must be converted to digital form for computer processing. The conversion involves sampling the continuous signal, quantising the sampled values to a limited set of levels, and encoding those levels as binary numbers. Understanding this process is essential for working with multimedia, sensors, and any real‑world data in ICT.