First post but Ive been lurking about a month, great community!
So I’ve got my first project nearly complete but I’m having a minor issue.
My project simply moves a tv up/down with the press of a button, like a garage door button.
It uses an Arduino Uno R3, stepper motor, stepper driver, 2 micro limit switches, and 1 momentary button.
Ok here’s my issue:
It works as designed except the momentary button seems to have a mind of its own sometimes.
I’m leaning towards interference, but I honestly don’t know. (I have not tried shielded cable yet)
The button seems to trigger the movement operation completely at random sometimes, other times it doesn’t do it at all. I can’t purposefully recreate the problem,
I use a 1k pullup resistor on both switches, and momentary button. all are pulling 5v from the Arduino.
I can post my code if you think that might be it.
Any guidance is much appreciated,