You are on page 1of 5

Practical 4: ANALOG TO DIGITAL CONVERTER

Introduction:

Converting Analog to Digital signals and vice versa is essential for today's technology
were pretty well everything electronic (audio, video, and data of all kinds) is processed
digitally, and needs to be converted to digital and in many cases (back?) to analog.

Of course, there are devices that allow easy transfer from/to the two what often may
seem like two different solitudes, and while the emphasis and priorities may be different,
the (electrical) rules are the same as in any electronic circuit, they need to be set up,
tested (preferably without being tortured or killed) and assessed as to be perfect, good,
merely adequate, infererior or even totally unsatisfactory.

This is what this lab session shall explore on the basis of one such device, an 8-bit
Analog to Digital Converter, type ADC0804, an integrated solution, of course. Based on
the so-called SAR (Successive Approximation Register) concept it is probably the best
compromise between performance and economics. Therefore, it is probably not a big
surprise that it has been around for a while.

Objective:

Test the operating conditions and conversion characteristics of a typical ADC, in this
case an ADC0804, 8-bit, 20-pin IC type. Refer to device data sheet for official info and
detailed manufacturer`s specifications, in particular verify signals vs pins. Then, ...

Set-up and test in both, single (manual) conversion and continuous mode, were
conversion request is retriggered automatically

Test range, accuracy and linearity by comparing the binary output (per LED-display) to
the analog input voltage applied.

Test/measure input voltage range dependency to V-ref level by manipulating V-ref, e.


g. making it equal to V-in, V-in/2, etc. Measure conversion time and its dependency (if
any) to V-in and f-clock.
Result of ADC 0804

Table of Values:

Vin (V) Vout (V) Vout (V) Error


(analog) (calc.) (meas.) (%)

0.0000 0000 0000 0000 0000 0.00


0.0196 0000 0001 0000 0001 0.00
1.0000 0011 0011 0011 0011 0.00
2.0000 0110 0110 0110 0110 0.00
3.0000 1001 1001 1001 1001 0.00
4.0000 1100 1100 1100 1100 0.00
5.0000 1111 1111 1111 1111 0.00

Discussion:

From this practical 4 the discussion that can we make is, during the practical lab we
can't get the result. So we try assemble this practical by using Proteus 8 software. From
result in our softcopy, the LED's should display some binary number when we control
the variable resistor and see the LED should be change.

Conclusion:

What we can conclude from this practical, the result of ADC 0804 give different value
went the voltage control by variable resistor. When the voltage is 0V the binary is 000
0000 which means 0 bits and when the voltage value is increasing to 5V the binary is
1111 1111 which is 255 bits.
Result in Proteus 8

Figure 1.1 show voltage at 0 Volt


Figure 1.2 show voltage at 2.5 Volts
Figure 1.3 show voltage at 5 Volts

You might also like