Burkhard Kainka
About the article

PC Serial Peripheral Design (5)

Analogue measurements

Based on a Labs project | October 2011 | Find it here
So far in this series we have used the PC only with digital signals: switching, monitoring and counting. Now we turn to the analogue domain: our programs will understand not just ‘yes’ and ‘no’, but ‘larger’ and ‘smaller’.If a voltage is applied to a serial port input, it will be read as either a logic Low (0) or a logic High (1). The PC cannot determine the actual voltage present. Likewise, if a resistor is connected between an output that has been set high and an input, there are only two possible results: either the resistor is sufficiently small that a clear logic one is read at the input, or it is not. If more precision is required, a new approach is needed.
Downloading of this magazine article is reserved for registered users only.
Login | Register now!
Loading comments...