
Interfacing to the analogue world 175
5 Interfacing to the
analogue world
This chapter discusses the techniques used to interface to
the outside world which unfortunately is largely analogue in
nature. It discusses the process of analogue to digital conversion
and basic power control techniques to drive motors and other
similar devices from a microcontroller.
Analogue to digital conversion techniques
The basic principle behind analogue to digital conversion is
simple and straightforward: the analogue signal is sampled at a
regular interval and each sample is divided or quantised by a
given value to determine the number of given units of value that
approximate ...