Go Down

Topic: Programming and connections help (Read 425 times) previous topic - next topic

shashi9819

Hello,

i am trying to build A 3 axis small CNC miling machine. i have selected following motor, driver and power supply.

1)motor : http://robokits.co.in/motors/dc-servo-motor-24v-100w-with-2000-ppr-encoder?cPath=2_71&

2) driver : http://robokits.co.in/motors/encoder-dc-servo/dc-servo-motor-driver-40v-20a-w-t-step-direction-input

3) power supply : http://robokits.co.in/power-supply

i am using arduino as a controller.

as  i am new to arduino. i need code for testing this motor for continuous rotation. and stop there until further signal

thnaks

shashi9819

Robin2

If it just takes step and direction inputs like a stepper motor then this Simple Stepper Code should be suitable for testing.

If not I have nothing else to suggest.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shashi9819

ok i will try the code.. thnks for help :) (Y)

shashi9819

If it just takes step and direction inputs like a stepper motor then this Simple Stepper Code should be suitable for testing.

If not I have nothing else to suggest.

...R

can u provide the link to circuit diagram ?
thnks

Robin2

The code I wrote assumes the wiring arrangements on the Pololu A4988 web page.

It should be easy to adapt that to any driver that takes step and direction signals.

You should check your documentation to see if your driver requires the enable pin to be connected and whether it should be HIGH or LOW to make the motor work. It can be left unconnected on the A4988 board.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Robin2

@akshayhd, your question has nothing to do with @shashi9819's problem. I have suggested to the Moderator to move it to its own Thread.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up