You are not logged in.
Pages: 1
Topic closed
Hi all. Was hoping for some guidance running a 6 wire stepper motor with a RBP 2. I've read the info on this block https://www.rexcontrols.com/media/HTML/ … _Axis.html but the REXDraw picture is too small, I can't see it. Is there any additional hardware other than the motor and the RBP2 that I need?
Thanks
Leon
Offline
Hi Leon,
in order to control stepper motor by Raspberry Pi you will probably need some stepper motor driver to provide enough current for your motor (it depends on a specification of the motor you are about to use). E.g. ULN2003 driver can be sufficient for some small stepper motors.
Function block RM_Axis (with connection to other Motion Control blocks) can provide you with desired position, speed and acceleration. However you need to assure switching of GPIO pins in certain pattern according to the desired position. For implementation in REX Control System I would suggest to use Rexlang function block. For use of Motion Control blocks you need to have a valid Motion licence.
Please, note that there is a limitation on maximum rotational speed. It is given by shortest period of Rex runtime on Raspberry (about 2 ms depending on a complexity of your algorithm). It means that one step of stepper motor can be done in that time - approx. 500 Hz.
If you require any further information, let us know.
Regards, Tomas
Offline
Tomas,
Thanks for the response. Your continued support is greatly appreciated.
Leon
Offline
Pages: 1
Topic closed