Lab #10: ADC SAIT- ENT-DIGI-260
Lab #10: ADC
Edited April 2014
Objectives:
- Build an ADC circuit.
- Analyze the operation of anADC.
- Measure the output parameters of an ADC.
- Record observations of a functional ADC.
Pre-Lab Preparation:
- Attend lectures and review the theory of operation of ADCs and related circuits.
Equipment Required:
- Experimenter’s board with 5V power supply
- Function Generator
- Oscilloscope
- Dual Power Supply
- PC with access to specification sheets
- Parts kit
- Misc parts supplied in lab
Additional Notes:
- Marks will be instantly deducted from your lab if you fail to set the function generator or supply voltages properly.
- Use the Experimenter’s board efficiently…the ADC circuit will be combined with the DAC labto create an ADC-DAC lab.
- Wiring neatness is important for this lab. All components must be kept low to the board as you will keep this circuit on your board until the end of the semester (trim leads if necessary).
- You are not permitted to exchange EWB files! Create your own EWB files.
Procedure 1:
Built, analyze and comment on the operation of an ADCusing Electronics Simulation software.
1.Using Electronics Simulation software, design a functional 8-bit Analog to Digital converter.See Diagram #1 on the next page.
- Use the model for an ADC.
- Use 5 Volts as supply voltage and ground as the reference.
- Connect a voltmeter to the signal input.
- Connect 2 decoded 7-segment displays to the output (one as the LSD and the other as the MSD).
2.Ensure the diagram is labeled and all the traces are routed neatly. Print the labeled diagram and include it with your lab submission.
3.Through experimentation and analysis predict the hexadecimal output of the circuit given a specific input voltage.
4.Answer the questions in the worksheet toward the end of the lab.
5.Demonstrate the circuit to the instructor. Proceed to procedure 2.
Diagram #1: ADC/DAC wiring diagram
Procedure 2:
Design, build and analyze an ADC circuit using an ADC IC.
1.Configure an ADC from your parts kit. See diagram #2. NOTE: you may alternately configure the output as 2, 7-segment displays with a CPLD binary-to-7-segment display decoder.
2.Calculate the value of the LED resistors. Answer the question in the worksheet.
3.Connect an open jumper to the WR’ and INTR’ jumper.
4.Connect a potentiometer as a voltage divider (top to 5V, bottom to ground). Connect the output of the potentiometer to the V+ input.
5.Apply power. Momentarily short the WR’ and INTR’ jumper to ground.
6.Take the measurements required to answer the questions in the worksheet toward the end of the lab. Verify your predicted outputs by experimentation and demonstrate to the instructor.
7.Answer the remaining questions in the worksheet.
Diagram #2: ADC Configuration, Procedure 2
Procedure 3 (optional):
Use a transducer in an ADC circuit using an ADC IC.
- Connect a linear transducer to the input of an ADC and observe the output results. Transducers may include Phidgets® analog sensors for temperature, pressure, light, etc… . The device should function with a 5 volt supply.
WORKSHEET
Measurements and observations for procedure #1 (simulated ADC)
Predict the hex display when given a Vin voltage
Vin = 2.5 VdcHex Display =______
Vin = 1.5 VdcHex Display = ______
Vin = 4.5 Vdc Hex Display = ______
Vin = 0.5 VdcHex Display =- ______
Vin = 3.0 VdcHex Display = ______
Measurements and observations for procedure 2:
Show all calculations
1.Calculated values for the LED resistors (hint: spec sheet).
2.Input voltage measurements:
- With a 0000 0000 output:______
- With a 1111 1111 output:______
3.Calculated discrete voltage steps: ______Volts per LSB increment
4.Calculated Resolution: ______%
- Predict the input voltage to display the number 1A (show calculations). Measure the circuit’s input voltage to display the value 1A. Record in the table below:
Predicted VIN for 1A output / Measured VIN for 1A output
VMIN / VMAX / VMIN / VMAX
Do the measured values fall within an acceptable range of the predicted values? Explain.
Signatures:
Procedure 1 Circuit: ______
Procedure 2 Circuit: ______
Submit:
Worksheets
Labeled diagram from procedure 1
Student Name: ______Date: ______
1