Go Down

Topic: GRBL stepper motor driver wiring (Read 1 time) previous topic - next topic


Hi guys, I made a stepper motor driver based off on reprap version 1.2 stepper driver. I uploaded the grbl 0.51 to my arduino, and now needs help on where to connect the step and direction pin to the arduino. I've tried connecting it to Digital 0, 3 but nothing happens.


Digital 0

What sort of arduino? That pin is usually reserved for serial communications.

There is a config file in that code, it sets what pins to use, what is it saying?

but nothing happens.

It could be to do with things like end stop switches not being wired, or trying to step too fast.


Nov 22, 2011, 01:14 pm Last Edit: Nov 22, 2011, 01:17 pm by purgedsoul Reason: 1
Hi, thanks for the reply, it's a hand built arduino, a variant of the Severino (S3V3). I haven't modified grbl, just uploaded the prebuilt hex file for atmega168.

I have look at the config.h in the 0.51 branch of grbl, and it is assigned to portc. Which I think in arduino is mapped to analog inputs 0-5. I was hesitant to connect to these ports since they are for analog input; but someone could correct me on this.


since they are for analog input;

Yes but they can also be used as normal digital input and output as well.


Yes but they can also be used as normal digital input and output as well.

Aha! thanks for the confirmation, I'm going to try it when i get home.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131