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

STM32 with hardware encoders #64

Open
paukstelis opened this issue Sep 28, 2019 · 1 comment
Open

STM32 with hardware encoders #64

paukstelis opened this issue Sep 28, 2019 · 1 comment

Comments

@paukstelis
Copy link

I've been working on using STM32 for dcservo. I've forked and added what I have done: https://github.com/paukstelis/dcservo.git . It is mostly specific for the printer I'm working on, but it could serve as a basis for anyone else looking to do this.

I have recently noticed a weird problem that I can't quite wrap my mind around. I always have some trouble dialing in motor PIDs, but I've recently noticed overshoot only when I use very slow feedrates. The motors clearly overshoot and then correct. At higher feedrates there is no overshoot. Has anyone else noticed this kind of speed dependence?

@misan
Copy link
Owner

misan commented Oct 3, 2019

Not sure what can be the cause. There is usually a dead-band where the motor does not react to low output values, maybe you want to compensate it to see if it improves the response.

BTW, I love the idea of the hardware support for the encoders.

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