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

On-the-fly Encoder Selection, Using DRO Scale encoder output... #289

Open
SteveMaxPerry opened this issue Jun 19, 2024 · 1 comment
Open

Comments

@SteveMaxPerry
Copy link

SteveMaxPerry commented Jun 19, 2024

Is there a documented way to select one or the other EQEP input? I'm considering using the output from one of my DRO glass scales as a signal source to drive my stepper on my mill's X-axis.

And is there a way to configure the input to deal with the signals from the scale if they're slightly or significantly different from those that come from the typical 5V rotary encoder?

The idea here is to be able to coordinate the stepper-driven X-axis of my mill in an angular motion relative to the Y-axis being driven by the hand crank. I can imagine that with a little fine tuning of steps I can generate close to 30, 45, 60deg angles rather easily. Other angles can be created through experimentation or careful calculations.

Thanks!

Added Info: https://www.touchdro.com/resources/scales/glass/glass-scale-pinout.html

@SteveMaxPerry
Copy link
Author

A little update to my ELS mill project from a test earlier in the day:

Success! The output of the DRO scale is perfectly compatible with the Launchpad board encoder input with no modifications. Adjusting the steps is absolutely necessary to gather a good match with the X-axis travel but that's not unexpected.

I could really use some assistance with knowing how I can easily switch to one or the other encoder inputs via some control panel key presses vs uploading the firmware every time I need to swap encoder types.

Let see if I can post a short video here:
Guess I can't. Photos won't tell the story but will have to do.
imageimageimage

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

1 participant