Control Analog to Digital Converter (ADC) Circuit Using ATmega8 | Controller Circuit

Thursday, October 20, 2011

Control Analog to Digital Converter (ADC) Circuit Using ATmega8

An analog to digital converter converts an analog input voltage into a digital value. This is a circuit for shows the analog to digital converter. This circuit is using microcontroller ATmega8 for control the operation. This is the figure of the circuit.


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 20x4 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.

No comments:

Post a Comment