Stepper motor

Dilsh

New member
Hey Rob,

I want to connect a stepper motor that runs at a constant speed continuously.

I am guessing this could be done outside the robo app.

I can see you can do this via the db9 connector.

This may be a very simple question but, how to run a code outside the robo app?

How would you connect the pins to the db9 output? Do you need a seperate stepper motor driver?

Thanks,

Dilshan
 
Hey Rob,

I want to connect a stepper motor that runs at a constant speed continuously.

I am guessing this could be done outside the robo app.

I can see you can do this via the db9 connector.

This may be a very simple question but, how to run a code outside the robo app?

How would you connect the pins to the db9 output? Do you need a seperate stepper motor driver?

Thanks,

Dilshan

Hi Dilshan, yeah at this time you would need to run a separate script to control the stepper motor and you would need a stepper motor driver. If you search around for "Connect stepper motor to Raspberry Pi tutorial" you'll find various tutorials. Once you have it running you would create a "service" on the raspberry pi which will keep the stepper script running in the background. Here's a few links on different techniques and drivers, at this time I'm not really sure which is the best, maybe the first link.




Here's the pinout's for the DB9's on the main controller, these are GPIO's untouched from the Pi, in the tutorials when they show connections to the Pi GPIO's this is the same.


Here's a DB9 breakout that makes it easier to work with the DB9's.


Let me know how it goes.
 
Back
Top