Replies: 12 comments 35 replies
-
|
Hi @Clive66 I agree that tactile, real button keys are a real benefit on a machine tool. Also, I personally, do not want to have that (almost) full size keyboard around, though it's fine for debugging or starting on.
Here's a screenshot of where I am heading: The screenset in the render is one that I am working on these days but it's intended to work seamlessly with Max's latest touch FW - with a few tiny additions/alterations. But then I have - in this panel itiration - six hard buttons that can be mapped in code to do the same thing as some of the touch buttons would do. You can add less or more buttons, of course. Actually, and this is different than most users, since my machine wont have an X-motor I am looking into getting a semi-automatic threading mode coded and whatever buttons end up controlling that function will be the most important on my panel (it will likely be the left/right jog buttons). But enough about me, back to you;). Since you mention your two main goals being having tactile feel and saving space, I think that keeping the touch FW and then adding a few push buttons might be the ticket? I'll tag @gueee here as he might be able to share some valuable input. He actually made a few custom keyboards already, maybe he can drop us some pics here:) @kachurovskiy I asked in another thread about mapping push buttons to functions in the code. You dropped me some code in that thread, but am I correct in assuming it should be doable to map all touch functions to push buttons? I am asking since my proposal to Clive above depends on it, haha. |
Beta Was this translation helpful? Give feedback.
-
|
@Clive66 I spent yet another half day yesterday with ChatGPT trying to get the push buttons to work to no avail. Long story short, I just spent a bit of time with that other AI and it nailed it:). I have the left jog button working now on the bench. It does continous jog and incremental just as the keyboard does:). Something I never managed to do before. I will wire up a few more buttons later today and then test a bit more. But I am pretty confident this works. Furthermore, I did some "pin counting" and if you don't need any Y axis stuff at all (I don't) and you don't plan on ever using a joy stick, it looks like we have 10/13 pins that can be re-mapped to use for our buttons without having to resort to any kind of matrix wiring. Also, this still leaves the X/Z scale ports untouched for future DRO use and also keeps the keyboard port which would make sense in terms of having a backup. So, I think in a day or two, I can share a modified FW here - just remind me if I forget. Which Button Functions Personally, I may add +/- push buttons, too. For two reasons: I think - keep in mind, I still haven't used this ELS ever on a real machine - that when in general turning mode along the Z, like power feed basically, we will be using the +/- to fine tune the feed, right? I don't see how else to do it. Again, it's not super time nor safety critical so it can also just stay on the touchscreen. But the second reason is that I have managed to make +/- work with hold down mode, too. So, you can now use them to scroll through feed values rather than single tapping the key to no end. This should make using it to adjust feed on the fly more viable. (I don't actually need you to tell me which buttons, you want - as mentioned, you will be able to pretty easily change it in the code yourself and I will make sure you can find where exactly to do this pretty easily, too.) |
Beta Was this translation helpful? Give feedback.
-
|
@Clive66 First off, push buttons should be wired between ground and the signal pin you choose and define in the code. Here's how'd you connect the buttons unless you want to change the pins in the code:
If you do wanna mess around with the code, then read the first few lines in the code to see the search phrases so that you can find the actually place to change the pins but in this version of the FW it starts on line 974. Also, I will add the tft files for the latest screenset to my own "build thread" a bit later and send you a link here when done. That said, the custom FW is made to work with Max's code so his screenset should be more than fine, too. It's just a matter of taste. But I tried to clean mine up a bit, get rid of all the Z-stuff and enlarged the coordinates and numpad. P.S. |
Beta Was this translation helpful? Give feedback.
-
|
@Clive66 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Setting Feed With A Potentiometer The idea would be to only use it for general turning, but as a faster way to set and adjust the feed on the fly. The feature works (only in Gear mode for now) within a smaller range that I defined as 0.0 - 0.15mm/rev for now. So basically, the potentiometer can set any value in that range in increments of 0.005mm/rev. So, it would go e.g. 0.070 -> 0.075 -> 0.080. I also made the number of decimals stable at three so it looks nicer on the display when scrolling through values. The range, the increments and the number of decimals can be changed in the code pretty easily. But since it's an analog signal it is susceptible to noise so the risk is that the value can jump in the middle of an operation. I got it to a point in the code now, where noise doesn't make it jump - but that's on the table at home. And the electricity in my workshop is super, super noisy as we don't have any proper ground at all (at least, I think that's the main culprit but I am not an electrician, either). And then the BLDC motor (plus perhaps a servo) will be noisy, too on the real machine. If noise is an issue, then the solution could be to move the feature to an encoder instead of a potentiometer. Or pair the pot with a button so that any set value gets locked in and basically disables the pot until it gets turned again - less elegant with the extra press though. I guess I just wanted to ask if it's something you think people/you would actually use? |
Beta Was this translation helpful? Give feedback.
-
|
Custom Keycaps - Take Two This time, I made the top of the caps flat so it was easier to sand off the overflow of paint. I thought I wouldn't like the look of that much, but I think it's fine. Almost a more utilitarian look in a nice way;) Also, I switched to pink for the stop button as the red color doesn't show well on those dark caps. As before, the longer write-up is on the other thread and once I have settled on the final design, I will share some STLs and the project file so you can make your own text engravings. |
Beta Was this translation helpful? Give feedback.
-
|
Today I had free time so uploaded the firmware and .tft files. Fantastic job!! Thanks to everyone that contributed. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@Clive66 But there's a "but". It took a fairly deep code dive so it will only work with a new version of my custom FW. So, be extremely careful, please! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
-
Having tried a touch panel my conclusion was it was not viable for manual work as the feel is inferior to a keyboard.
I note that custom keyboards are available on the internet and would like advice as to how I might obtain one with the correct number of keys and layout required for H5.
My reason for wanting to go this route is space saving as I find the current compact keyboard could be improved on.
Any ideas and suggestions apreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions