Could you please elaborate on how did you use the accelstepper library with P1AM-100? Have you used just the GPIO shield or any other IO modules for interfacing?
@sonary (Customer) I used accelstepper library available in guthub: https://github.com/adafruit/AccelStepper . There are few examples on how to run motors using pulse/direction. I used only P1AM-100 and did not use any modules for I/O interfacing. However, it is always better to use the GPIO, they provide better connection and protection.
@sonary (Customer) sometimes if you only use the P1AM-100 alone, it gives the pulse/direction required. That's what happened in my case. But its convenient to apply level shifting from 3.3 to 5V using general purpose 2N3904 transistors and resistors.
Hi @sane (Customer),
The following post may help you out.
https://community.automationdirect.com/s/question/0D53u000029L8u1CAC/considering-a-new-project-using-p1am100-questions-on-stepper-driver-and-serial-communication
Regards,
Garry
I used Accelstepper library and it worked.
Could you please elaborate on how did you use the accelstepper library with P1AM-100? Have you used just the GPIO shield or any other IO modules for interfacing?
@sonary (Customer) I used accelstepper library available in guthub: https://github.com/adafruit/AccelStepper . There are few examples on how to run motors using pulse/direction. I used only P1AM-100 and did not use any modules for I/O interfacing. However, it is always better to use the GPIO, they provide better connection and protection.
Thanks @sane (Customer). The 3.3 V GPIO ports are sufficient for the 5V PUL, DIR pins?
@sonary (Customer) sometimes if you only use the P1AM-100 alone, it gives the pulse/direction required. That's what happened in my case. But its convenient to apply level shifting from 3.3 to 5V using general purpose 2N3904 transistors and resistors.