Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pins don't align with #define statements #174

Open
ccwtruck opened this issue Mar 28, 2024 · 2 comments
Open

Pins don't align with #define statements #174

ccwtruck opened this issue Mar 28, 2024 · 2 comments

Comments

@ccwtruck
Copy link

I am attempting to install GRBL-Mega 1.1g (the current release) on an ATmega2560R3, and try as i might, I get no motion on Y & Z axis. According to the cpu_map.h, I have the stepper drivers connected properly:
`#define X_STEP_BIT 2 // MEGA2560 Digital Pin 24
#define Y_STEP_BIT 3 // MEGA2560 Digital Pin 25
#define Z_STEP_BIT 4 // MEGA2560 Digital Pin 26

// Define step direction output pins. NOTE: All direction pins must be on the same port.
#define X_DIRECTION_BIT 7 // MEGA2560 Digital Pin 30
#define Y_DIRECTION_BIT 6 // MEGA2560 Digital Pin 31
#define Z_DIRECTION_BIT 5 // MEGA2560 Digital Pin 32
`
I have flashed with your .hex file several times, and compiled/ uploaded from source several times -- still, the Y and Z axis's show no sign of life.
This is on a CNC plasma table that worked well on the Uno with v1.1h.
I have double, triple & quadruple-checked my wiring -- it is correct; after all, i'm just upgrading the system board, and not re-wiring any more than that requires.
Please, can you tell me exactly which physical pins do my stepper controllers need to connect to?
Thank you in advance for any assistance!!!

@fra589
Copy link

fra589 commented Mar 28, 2024

Hi @ccwtruck

Perhaps this doc: https://github.com/fra589/grbl-Mega-5X/wiki/Pinout-mapping-in-cpu_map.h will help you to find which pins are used...

@++;
Gauthier.

@ccwtruck
Copy link
Author

Thank you for that; I've at least verified that my steppers are connected to the right pins. I am now wondering if my Y & Z steppers have taken a dump. They still light up, but with the connections being correct, that's the next logical link in the chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants