Schmitt trigger
Please Log in or Create an account to join the conversation.
- Richard J Kinch
- Offline
- Senior Member
- Posts: 61
- Thank you received: 4
An ideal solution to this would actually be a rotary selector switch with as many switch positions as you want the control to have in the first place.
Well, yes, but that's cheating because you asked how to do it with the analog wiring you already have in place.
If you're going for digital instead, then you have the option for a rotary phase encoder instead of selector. Then you only need two digital inputs for any number of selections instead of log2(selections). You keep and display the state of selection in software, so you can change it anytime without fussing with the physical wiring. You keep the satisfying physical knob, but you do lose the satisfying physical display of the setting.
Please Log in or Create an account to join the conversation.
If interested the source with a makefile and a hal sample is available at bradyz.com/hyst.tgz
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Sorry but I don't know what a pull-request is. Can you give me some guidance?
There is a guide here: guides.github.com/activities/hello-world/
Though it isn't 100% relevant to your situation.
You would need to create a githib account, make a fork of linuxCNC, add your file, make a commit and then make a pull request.
If you think that you might get in to the habit of working on LinuxCNC then it is worth doing all that. If this is a one-off then it is probably easier for one of us to add the .comp file by hand. Though I don't think that you get a "credit" for the work that way.
Please Log in or Create an account to join the conversation.
After dealing with bobble with analog overrides and erratic spindle speed displays I created a hal component to filter, add hysteresis and do rounding. The results are excellent! I set my analog feed override to provide nice crisp 5% increments. Also my spindle speed bounces around making it difficult to read. Now the display shows nice 50 rpm steps. All very stable with no bobble.
If interested the source with a makefile and a hal sample is available at bradyz.com/hyst.tgz
The hyst component works very well.
I use it for the analog feed pots.
It would be nice if this component could be integrated into linuxcnc.
Please Log in or Create an account to join the conversation.
- sprintertrd
- Offline
- Junior Member
- Posts: 30
- Thank you received: 7
I was wondering if you have a copy of CSbrady's hyst component.
Unfortunately the link is no longer valid.
Please Log in or Create an account to join the conversation.