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

Speed display #170

Open
duebelpapst opened this issue Jan 10, 2024 · 2 comments
Open

Speed display #170

duebelpapst opened this issue Jan 10, 2024 · 2 comments

Comments

@duebelpapst
Copy link

Hello Maxim,

I have noticed that sometimes 0 rpm is displayed for the speed, but when I switch to angle, the angle is displayed correctly and the thread cutting also works.
So it can't be the encoder, do you have an explanation?

Regards,
Stefan

@kachurovskiy
Copy link
Owner

Hi Stefan, RPM calculation averages over multiple readings and requires a short period of time to get established when you turn on the RPM display.

We only calculate RPM when it's needed -

nanoels/h4/h4.ino

Line 3018 in 4e57cae

if (showTacho || mode == MODE_GCODE) {
- to save processing time since it runs on the main thread which also runs the steppers.

If you want, you can change that condition to always calculate it - this way there will be no delay when turned on.

@duebelpapst
Copy link
Author

Thank's, that's what I guess, but I just wanted to ask to be sure.

Regards,
Stefan

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