- Joined
- Sep 21, 2021
- Messages
- 108
The DIP switches are all set correctly and I tested this to be sure. It definitely seems like the GPIO1 (DIR pin) ont he launchpad isn't switching - I've tested everything else and this seems to be the problem. It's not a faulty Clough42 board either (I have two).
- The reverse button changes the LED's but makes no difference to the motor direction.
- The motor will turn the other way if I set its DIP switch, but still won't change direction.
- The encoder is working perfectly.
- Jumping the controller's DIR- terminal to ground DOES cause the direction to change (this is what the GPIO1 pin is supposed to do via the Clough42 interface).
- GPIO1 to ground is a few mv and to 5v is 4.8v, so this pin is high and never changes as far as I can measure with my DMM.
- DIR- to gnd is 4.15v wich is what you'd expect from GPIO1 being high.