Hi all,
I am in the process of designing various controls for car audio. One
of them involves reading an analogue line. Currently the line I need
to read is pulled high via a 10K resistor and read directly into a
microprocessor. The line is switched to ground via various resistance
values to determine button presses. What I need to do is also read
this line into another microprocessor at the same time.
My problem at the moment, if I connect the pin directly to the second
micro, is that when buttons are pressed, the value is correct while
the button is held but when released the voltage takes time to return
to 5v, during which time the first micro reads different values,
resulting in wrong outputs.
My initial thought was that the second ADC was loading the line beyond
what the pullup resistor could provide, and changed it to a 5K. This
still results in the same symptoms, all of the time a button press
resulting in less than a milliamp current.
Can anyone shed some light on the matter?
Regards
Big Valven
I am in the process of designing various controls for car audio. One
of them involves reading an analogue line. Currently the line I need
to read is pulled high via a 10K resistor and read directly into a
microprocessor. The line is switched to ground via various resistance
values to determine button presses. What I need to do is also read
this line into another microprocessor at the same time.
My problem at the moment, if I connect the pin directly to the second
micro, is that when buttons are pressed, the value is correct while
the button is held but when released the voltage takes time to return
to 5v, during which time the first micro reads different values,
resulting in wrong outputs.
My initial thought was that the second ADC was loading the line beyond
what the pullup resistor could provide, and changed it to a 5K. This
still results in the same symptoms, all of the time a button press
resulting in less than a milliamp current.
Can anyone shed some light on the matter?
Regards
Big Valven