Hello everybody, here is my problem:
I'm using an analog to digital converter (the ADC0808) in order to
get position information from several potentiometers fixed on
different shafts(it's for a robot arm).
I build the circuit and i'm using a program in C (made by me) in
order to see the data on the screen. The chip is supposed to convert
a value 0-5Vdc into a number 0-255. It does it but it acts pretty
strange. Example: it's linear from 0 to 32 but once there it jumps to
64, goes linear again until 99 then gets back to 33 and continues
linearly. Everything else in the circuit works fine, i'm sure the
problem is my ADC.
What do you think about that?
Thanks a lot.