Analog to Digital Converter (ADC) Circuit Using ATmega8
Home» Microcontroller, Video» Analog to Digital Converter (ADC) Circuit Using ATmega8

The resolution of the converter indicates the number of discrete values it can produce. It is usually expressed in bits. For example, an ADC that encodes an analog input to one of 256 discrete values has a resolution of eight bits, 28 = 256. Most ADCs are linear, which means that they are designed to produce an output value that is a linear function of, i.e. proportional to, the input. In this circuit, Atmega8 has 6 AD-converters which have a resolution of 10 bits so it has 210 = 1024 discrete values. In his example a potentiometer is connected to the portC.0 of the Mega8 and a LCD module of 20×4 characters is connected to port D. The LCD module displays the values that are measured on the ADC port. The values are presented on the display as discrete values (0 to 1023), the percentage (0 to 100%) of the values and in a bargraph display.

















