hobbyckts
Advanced Member level 1

Hi everyone,
I'm using ADC0809 along with 8051 controller. The analog input for ADC is fed through voltage divider circuit with one resistor as a variable one and another as a fixed one. The input voltage is varied through variable resistor. The clock for ADC is supplied through 555 astable multivibrator. I'm monitoring SOC , ALE and clock signals using controller. Now problem is I'm not getting constant data from ADC even though there is no varaition from ADC input. Most of the times I'm getting the FF as the data from ADC. I even tried by varying the clock frequency from 3KHz to 300KHz its of no use the problem still persists. Not sure about the controller code because I have not written it. Tried a lot but the problem I'm facing for seriously very long time.
Please suggest what should be the actual clock frequency.
As I want to measure the unknown resistance value from the field I have used voltage divider circuit to read and calculate it. This signal is converted to 0 to 5 volts through instrumentation amplifier which made using opamps. The output of INA is applied to the ADC.
Please someone guide me to solve the long pending issue.
If someone provides the code that's also fine for me.
I'm using ADC0809 along with 8051 controller. The analog input for ADC is fed through voltage divider circuit with one resistor as a variable one and another as a fixed one. The input voltage is varied through variable resistor. The clock for ADC is supplied through 555 astable multivibrator. I'm monitoring SOC , ALE and clock signals using controller. Now problem is I'm not getting constant data from ADC even though there is no varaition from ADC input. Most of the times I'm getting the FF as the data from ADC. I even tried by varying the clock frequency from 3KHz to 300KHz its of no use the problem still persists. Not sure about the controller code because I have not written it. Tried a lot but the problem I'm facing for seriously very long time.
Please suggest what should be the actual clock frequency.
As I want to measure the unknown resistance value from the field I have used voltage divider circuit to read and calculate it. This signal is converted to 0 to 5 volts through instrumentation amplifier which made using opamps. The output of INA is applied to the ADC.
Please someone guide me to solve the long pending issue.
If someone provides the code that's also fine for me.