Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-10-19 20:14:11

koth442
Member
Registered: 2016-10-19
Posts: 4

6 Wire Stepper Motor

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

#2 2016-10-20 10:16:09

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: 6 Wire Stepper Motor

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

#3 2016-10-25 16:29:14

koth442
Member
Registered: 2016-10-19
Posts: 4

Re: 6 Wire Stepper Motor

Tomas,

Thanks for the response. Your continued support is greatly appreciated.

Leon

Offline

Board footer

Powered by FluxBB