In my project i am using two wheelchair dc motors driving them with 50A driver board.
There are 4 inputs on a driver board for PWM signals, 2 for each motor, one to drive it forward & the other to reverse it.
right now i'm using 4 pwm outputs of arduino nano(3,9,10,11) cant use 5 & 6 since they are hooked up to another timer, with a frequency that makes audible noise on a motors.
Now i need to connect 2 hall sensors to measure motor rotation speed. for that i need to use interrupts, but on nano board i only have them on ports 2 & 3.
One of them (3) is already in use for pwm for the motor.
Is there a way to switch interrupt or pwm output to another leg?
I was also thinking to use two spdt relays to switch two pwm outputs of arduino between left & right inputs of driver board. Then I'll only need two pwm outputs & two digital signals to control relays.
But with relays I'll get noticeable clicking sound every time motor changes direction unless they'll b? some kind solid state relays. I never worked with any before & expecting that you can suggest some.
thank you