Chapter 5
Analog Input
Chapter outline
5.1 Analog-to-Digital Conversion
5.1.1 The Analog-to-Digital Converter
5.1.2 Range, Resolution and Quantization
5.1.3 Sampling Frequency
5.1.4 Analog Input with the mbed
5.2 Combining Analog Input and Output
5.2.1 Controlling LED Brightness by Variable Voltage
5.2.2 Controlling LED Brightness by PWM
5.2.3 Controlling PWM Frequency
5.3 Processing Data from Analog Inputs
5.3.1 Displaying Values on the Computer Screen
5.3.2 Scaling ADC Outputs to Recognized Units
5.3.3 Applying Averaging to Reduce Noise
5.4 Some Simple Analog Sensors
5.4.1 The Light-Dependent Resistor
5.4.2 Integrated Circuit Temperature Sensor
5.5 Exploring Data Conversion Timing
5.5.1 Estimating Conversion Time and Applying Nyquist
Get Fast and Effective Embedded Systems Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.