Motor automatically runs when MagSensor PWM output is given to any pulse input

4 years 10 months ago - 4 years 10 months ago #29533712 by avinash_sprw
I have MGS1600GY magnetic sensor and SDC2160 Motor Controller. I'm interfacing both using by using the multiPWM output from sensor and the pulseIn in the controller. The interfacing is fine and I get the expected results. Whenever the script in the motor controller is paused/not being run, motors are running automatically at full speed. This happens only when the PWM output from sensor is connected any pulseIn input in the controller. Any idea why its happening?

Please Log in or Create an account to join the conversation.

4 years 10 months ago - 4 years 10 months ago #29533713 by avinash_sprw
Found out myself. In the configuration panel of Motor Controller PC Utility, Under Pulse Inputs, Pin1, Input Use was set to Motor Command. Now set to No Action

Please Log in or Create an account to join the conversation.

4 years 10 months ago #29533717 by Gabriel_Isko
Yes, that is what I was about to recommend checking. Glad you were able to resolve your issue.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.063 seconds