28-04-2017, 12:33 PM
ADC0808 is one of the useful chips of National Semiconductor. See in the figure given to one side. In many embedded systems, microcontrollers need to take analog inputs. Most sensors and transducers such as temperature, humidity, pressure, are analog. For the interconnection of these sensors to microcontrollers it is necessary to convert the analog output of these sensors to digital so that the controller can read it. Some microcontrollers have built in analog-to-digital converter (ADC) so there is no need for external ADC. For drivers that do not have external ADC ADC is used.
One of the most commonly used ADCs is ADC0808. The ADC 0808 is a successive approximation type with 8 channels, that is, you can directly access 8 analog signals at one end. ADC0808 has an 8-bit data output as the ADC804. The 8 analog input channels are multiplexed and selected according to the table below the I / O pins using three A, B and C direction pins.
In ADC0808, Vref (+) and Vref (-) set the reference voltage. If Vref (-) = Gnd and Vref (+) = 5V, the step size is 5V / 256 = 19.53mV. Therefore, to obtain a step size of 10mV we need to establish Vref (+) = 2.56V and Vref (-) = Gnd. From the figure given below from ADC0808, note the ALE pins. We use the A, B and C directions to select IN0 - IN7 and activate ALE to block the address. SC is for startup conversion. SC is the same as the WR pin on other ADC chips. EOC is for the end of the conversion and OE is for the output enable (READ). The EOC and OE are the same as the INTR and RD pins respectively.
One of the most commonly used ADCs is ADC0808. The ADC 0808 is a successive approximation type with 8 channels, that is, you can directly access 8 analog signals at one end. ADC0808 has an 8-bit data output as the ADC804. The 8 analog input channels are multiplexed and selected according to the table below the I / O pins using three A, B and C direction pins.
In ADC0808, Vref (+) and Vref (-) set the reference voltage. If Vref (-) = Gnd and Vref (+) = 5V, the step size is 5V / 256 = 19.53mV. Therefore, to obtain a step size of 10mV we need to establish Vref (+) = 2.56V and Vref (-) = Gnd. From the figure given below from ADC0808, note the ALE pins. We use the A, B and C directions to select IN0 - IN7 and activate ALE to block the address. SC is for startup conversion. SC is the same as the WR pin on other ADC chips. EOC is for the end of the conversion and OE is for the output enable (READ). The EOC and OE are the same as the INTR and RD pins respectively.
It can be understood in the following video: