Hi,
I have a project where I use both 28x1 and 18x which communicates with each other using pulses. It works great from 28x1 to 18x, but the other way I am having some trouble.
18x OUT6 (pin 12) -> 28x1 ADC0 (pin 2)
(I have to use ADC since I use all other input pins as output)
On the 18x I set "high 6"
On 28x1 I use readadc 0,b0 (But it varies about 0-200)
I have measured the output from 18x, and I get 0V on low, but only 2,7V on high.
The cable is not connected to the PC at this time.
- So the question, why so unstable readings on adc0 with a stable output 2,7V. (Average seems ok)
- Why only 2,7V out on that port (had a problem with another 18x with that pin as well)?
I have tried adc readings from trimpots and LDRs, no problems at all.
I have read that a BAT85 can be required for proper adc readings, but isn't that mostly while pc cable is connected?
Thank you...
I have a project where I use both 28x1 and 18x which communicates with each other using pulses. It works great from 28x1 to 18x, but the other way I am having some trouble.
18x OUT6 (pin 12) -> 28x1 ADC0 (pin 2)
(I have to use ADC since I use all other input pins as output)
On the 18x I set "high 6"
On 28x1 I use readadc 0,b0 (But it varies about 0-200)
I have measured the output from 18x, and I get 0V on low, but only 2,7V on high.
The cable is not connected to the PC at this time.
- So the question, why so unstable readings on adc0 with a stable output 2,7V. (Average seems ok)
- Why only 2,7V out on that port (had a problem with another 18x with that pin as well)?
I have tried adc readings from trimpots and LDRs, no problems at all.
I have read that a BAT85 can be required for proper adc readings, but isn't that mostly while pc cable is connected?
Thank you...