I have a pushbutton and a poti connected to rs323 via arduino
problem is the value from the pushbutton is very unstable, espacially when the button is not pushed,
i hooked the button to the arduino via exactly this scheme (see attachment)
can anybody give me a clue of a solution for this problem
thnx a lot
In danish it is called “prel” perhaps also in English.
you could solve it in the analogue domain or get some expensive “prel free” buttons.
or you could do it in software by making sure the button has been high for some time before considering it high. this could be done in the arduino or in vvvv. I have attached a little patch example of how you could do it in vvvv.
In danish it is called “prel” perhaps also in English.
you could solve it in the analogue domain or get some expensive “prel free” buttons.
or you could do it in software by making sure the button has been high for some time before considering it high. this could be done in the arduino or in vvvv. I have attached a little patch example of how you could do it in vvvv.
hi artvt,
what amount of resistance does your resistor have? i once got told on the arduino forums that very high impedance pull-down resistors might introduce noise. didn’t have any trouble with 100kOhm, though.
if that’s not the issue, have you looked into the ‘de-bounce’ tutorial on the arduino site? they have a solution for wobbly buttons.