You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi cswiger,
Thank you for providing such a good example of the servo motor design. I am currently using Arduino Mega and Ardumoto (the latest version) to build something similar, but I have one question regarding the code and the corresponding wiring. Maybe my question is not related to the problem of your code, but is due to that I did not understand your code entirely. Therefore, any inputs are highly appreciated.
My question is: I assume an external signal "STEP" and "DIR" comes into Arduino Mega, along with the feedback input from the encoders. When the Arduino Mega process the signals, it is expected to generate two output signals (say "STEP_PROCESSED" and "DIR_PROCESSED" to feed into Ardumoto. However, I did not find you have defined any GPIO pins in your code regarding that.
In summary, for the first motor, I do not what are my "STEP_PROCESSED" and "DIR_PROCESSED" in Arduino Mega to connect to "IN1" and "PWM1" in Ardumoto. Would you advise what is my problem?
Thank you so much for your help!
The text was updated successfully, but these errors were encountered:
Hi cswiger,
Thank you for providing such a good example of the servo motor design. I am currently using Arduino Mega and Ardumoto (the latest version) to build something similar, but I have one question regarding the code and the corresponding wiring. Maybe my question is not related to the problem of your code, but is due to that I did not understand your code entirely. Therefore, any inputs are highly appreciated.
My question is: I assume an external signal "STEP" and "DIR" comes into Arduino Mega, along with the feedback input from the encoders. When the Arduino Mega process the signals, it is expected to generate two output signals (say "STEP_PROCESSED" and "DIR_PROCESSED" to feed into Ardumoto. However, I did not find you have defined any GPIO pins in your code regarding that.
In summary, for the first motor, I do not what are my "STEP_PROCESSED" and "DIR_PROCESSED" in Arduino Mega to connect to "IN1" and "PWM1" in Ardumoto. Would you advise what is my problem?
Thank you so much for your help!
The text was updated successfully, but these errors were encountered: