Chapter 7 AD/DA Converter
We have learned how to control the brightness of LED through PWM and understood that PWM is not the
real analog before. In this chapter, we will learn how to read analog quantities through AD/DA Module,
convert it into digital quantity and convert the digital quantity into analog output. That is, ADC and DAC.
Project 7.1 Read the Voltage of Potentiometer
In this project, we will use the ADC function of AD/DA Module to read the voltage value of potentiometer.
And then output the voltage value through the DAC to control the brightness of LED.
Component List
Below are physical diagram and model diagram of AD/DA converter. There are two different package forms
for PCF8591. Now PCF8591 with SO16 to DIP16 package is included in this kit. Model diagram is used in the
circuit diagram. When using, just keep direction and position the same. The direction can be judged by the
gap on the chip.