Mod5 LCD DAC ADC
Mod5 LCD DAC ADC
Solution:
Let us design a staircase waveform for 5 steps, 255/5=51
So increment of each step is 51. After the maximum
value is reached, O/P drops to zero and next cycle starts
Analog-to-Digital Converter:
An ADC has n-bit resolution where n can be 8, 10,
12, 16 or even 24 bits. The higher-resolution ADC
provides a smaller step size, where step size is
the smallest change that can be discerned by an
ADC
The following program monitors the INTR pin and brings
an analog input into register A. It then calls hex-to-ASCII
conversion and data display subroutines.
ADC ALP
ADC C Program