Good The Experiment Was Set Up As Shown In The Diagram Below. Essay Example
The calculated Hex values for the various voltages are calculated below;
0.5V = 0.5/(5/255)
= 25.5 ~ 26
= 1A Hex code
1.5V = 1.5V/(5V/255)
= 76.5 ~ 77
= 4D Hex code
2.5V = 2.5V/(5V/255)
= 127.5 ~ 126
= 7E Hex code
3.5V = 3.5V/(5V/255)
= 178.5 ~ 179
= B3 Hex code
4.5V = 4.5V/(5V/255)
= 229.5 ~ 230
= E6 Hex code
1.2 The measured values for the various voltages are shown below;
0.5V = 19
1.5V = 4C
2.5V = 7F
3.5V = B3
4.5V = E6
The calculated values are higher than the measured values; this is mainly due to the rounding off so as to get a whole number during the calculation of the hex code value. The difference is due to this. Replacing the Potentiometer with the Ac signal, the set up was as shown below;
1.4 The values increase from 00 to FF, and when they get to FF, there is a halt. The value on the Hex display then begins to decrease until 00 is reached. This is because the voltage being used for the input is AC voltage. The Ac voltage, when plotted, gives a periodic curve that increases and falls continuously.
According to the diagram above, the Ac signal sine wave has been converted to a digital signal hence the graph as shown by the oscilloscope.
Adding DAC, the setup now looks as shown below;
The stair case wave form is as a result of the binary data from the ADC that is being fed to the DAC in order to create the wave pattern we observe on the oscilloscope.
1.9 At 150Hz of the input signal it no longer possible to recognize the analog signal from the DAC.
1.10 At 100Hz it is no longer possible to recognize the reconstructed signal as shown below;
In this experiment I have learnt how a computer is able to convert analog signal into digital signal using Analog to Digital converters and then back into analog signal signals using the Digital to Analog converters.