I have built an op-amp series pass voltage regulator, whose output is inputted into an analog-to-digital converter (ADC0804). The ADC's output is connected to a CoolRunner II CPLD Starter Board. This output corresponds to a value on a look-up table, which determines what value would be displayed on the screen.
I also have two more look-up tables: one to display the current through the output, and one which would correspond with the voltage across a temperature sensor (LM35), to display the temperature of the series pass transistor.
Currently my ADC can only display one parameter at a time, as only one of these voltages can be applied to the input of the ADC at any given moment. Is there any way to have the inputs to the ADC alternate every 5 seconds? Another problem would be that this input switch would need to be in sync with the information programmed onto the CPLD, since when voltage is being displayed, it would correspond with a certain value on a lookup table and the unit "V" would be displayed after the value. When current is being displayed, it would correspond with values from another lookup table and the unit "A" would be displayed after the value. Lastly, the voltage across the temperature sensor would correspond with the temperature from a different lookup table, and "C" would be displayed after the value.
I also have two more look-up tables: one to display the current through the output, and one which would correspond with the voltage across a temperature sensor (LM35), to display the temperature of the series pass transistor.
Currently my ADC can only display one parameter at a time, as only one of these voltages can be applied to the input of the ADC at any given moment. Is there any way to have the inputs to the ADC alternate every 5 seconds? Another problem would be that this input switch would need to be in sync with the information programmed onto the CPLD, since when voltage is being displayed, it would correspond with a certain value on a lookup table and the unit "V" would be displayed after the value. When current is being displayed, it would correspond with values from another lookup table and the unit "A" would be displayed after the value. Lastly, the voltage across the temperature sensor would correspond with the temperature from a different lookup table, and "C" would be displayed after the value.
Attachments
-
18 KB Views: 11
-
32.9 KB Views: 11