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

Sg90 on mks base 1.6 with grbl #166

Open
alexc57 opened this issue Nov 10, 2022 · 8 comments
Open

Sg90 on mks base 1.6 with grbl #166

alexc57 opened this issue Nov 10, 2022 · 8 comments

Comments

@alexc57
Copy link

alexc57 commented Nov 10, 2022

Impossible to do moving the servo with many different firmware. Anybody can help. Maybe a bad configuration because I have plus the 3 pin in the corner (servo pin). Thks

@fra589
Copy link

fra589 commented Nov 10, 2022

Grbl doesn't have code to drive servo.
You need to use another firmware like Marlin to do this.
@++;
Gauthier.

@alexc57
Copy link
Author

alexc57 commented Nov 10, 2022

It s strange I see many informations about that.

@fra589
Copy link

fra589 commented Nov 10, 2022

Some modified versions exist to use servo (https://github.com/robottini/grbl-servo, https://github.com/cprezzi/grbl-servo, ...), but they are no servo function in the original (this one) Grbl version.

Another infos here:

@++;
Gauthier.

@alexc57
Copy link
Author

alexc57 commented Nov 11, 2022

I have try this also, google is my friend...
but all it s for ATmega328p, but not for my board.
if you had another idea ;)

@fra589
Copy link

fra589 commented Nov 11, 2022

I don't know if they work, but try this:
https://github.com/botio/grbl-Mega-servo
Or this:
https://github.com/alnwlsn/grbl-Mega-5X-alnwlsn

@++;
Gauthier.

@alexc57
Copy link
Author

alexc57 commented Nov 11, 2022

thanks a lot but doesn't work, it is not the same board

@fra589
Copy link

fra589 commented Nov 11, 2022

You can remap the IO pins to make the soft suitable to your board...
https://github.com/fra589/grbl-Mega-5X/wiki/Pinout-mapping-in-cpu_map.h

@alexc57
Copy link
Author

alexc57 commented Nov 11, 2022

Thanks a lot for that. In my mks base I don't have pin (I/o) for spindle!
To you think a can attribute another pin as you explain? Like (OC1A/PCINT5)PB5? For example ? Thks

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