Indiduino

An automation solution for astronomical observatories

Stepper

Leave a comment

Controlling a stepper motor could be great for move several precision mechanical devices such focuser, filterwheel, etc.. In this example we use a modificated firmware for controling a stepper motor througth a EasyDriver Board.

First of all you have to flash your arduino with INDIDUINOStepper.ino firmaware. This firmware include some  functions to cach the standard firmata behaviour and doing something more elaborated. We also use a Arduino  AccelStepper library called from this custom firmware, thus it must be installed on your system.

Then connect the easyDriver to the VCC/GND and the coils of your stepper. Read EasyDriver documentation to do this. Finally connect  arduino pins to the easydriver control signals in this way:

  • pin 9 -> steps
  • pin 8 -> dir
  • pin 7 -> sleep

EasyDriver_V44

stepper device

Arduino firmware: INDUINOStepper-2.3
skeleton file: stepper_sk.xml
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s