-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Onboard tachometer #72
Comments
Hi @thawkins, |
Hi @thawkins, can you tell me the changes to add tachometer? |
My mods are in
https://github.com/thawkins/grbl-Mega
It based on a slightly older version. I will dig out my notes that i made
at the time, i got diverted to setting up a startup, so i have not had much
time.
…On Thu, 6 Feb 2020, 20:13 Mario Basz, ***@***.***> wrote:
Hi @thawkins <https://github.com/thawkins>, can you tell me the changes
to add tachometer?
I have little knowledge of programming, however, due to perseverance, I
get results (some complements for bCNC, for example), external help will
facilitate my task and I can solve it more quickly.
I am in the final stage of my universal ATC economic project, and taking
the data from one or two sensors (optical and hal in principle) is
something I want to add.
Greetings, Mario
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#72?email_source=notifications&email_token=AAADRSIUGKL3CELV5KWXJLTRBP5FPA5CNFSM4JDJEQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7AEZI#issuecomment-582877797>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADRSOOIWIEJ3F7TQ42ASTRBP5FPANCNFSM4JDJEQKA>
.
|
I have some code, originaly built against grbl-mega, which adds an onboard tachometer to grbl-2560 varients.
The system works with a cheap chinese tcrt5000 based opto sensor ($2) and a small piece of reflective tape applied to the collet barrel. I 3d printed a mount that attaches to the bottom of a 52mm spindle. My current implementation uses timer5 and D11 on the ramps card. It seems to be acurate up to about 20k rpm. (My spindle toos out at about 19.5k.) I have checked it using a syandalone optical tachometer and it seems to track the same resukts with remarkable accuracy.
Currently it only adds an RPM field to the reports.c status line, but it could be used with a PID loop to allow setting of true rpm speeds via tbe S command using feedback from the tach. Response time is about 5 seconds, that is mostly due to the 4 sample moving averaging process designed to eliminate jitter.
If i prepare a pull request would that be acceptable?
The text was updated successfully, but these errors were encountered: