-
-
Notifications
You must be signed in to change notification settings - Fork 167
Description
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?