robottini / grbl-servo

grbl 0.9i with Servo motor support
299 stars 165 forks source link

Configuration on MEGA 2560 #13

Open earincon198 opened 7 years ago

earincon198 commented 7 years ago

Hello! I have an arduino Mega 2560, I would like to know the correct pin to control the servo. I am already able to control my machine´s stepper motors for X and Y axis but not my servo. I changed the CPU map to #define CPU_MAP_ATMEGA2560 in the config.h file and connected my steppers to pins 25,26,30 and 31, and the steppers worked fine, then, I tried to connect my servo to all the PWM pins in my Arduno but it doen't work. I will apreciate any help, Thank you!

slimebdx commented 6 years ago

hello i have the same problem , and i can't find the solution

ghost commented 6 years ago

Hello !

I connected my servo to digital pin 7 and it worked for a while but after that it did not respond to M03 Sxxx. I did check my servo to see if it burnt out but nope it didnt.

ueline commented 3 years ago

@earincon198 I have a problem. I don´t get any respond from the serial monitor. I have the following equipment:

alexc57 commented 2 years ago

Same problem, x et y moved but nothing on D11. the servo doesn't moved.... any solution grbl 1.1g on mks base v1.6 (atmega 2560) thks in advanced