A whole year has gone by, but the need for a new HMI is still there.
I know a few people that also need one, so I had to change my plans to be more production friendly.
The old plan
The idea in my initial post was to use sheet metal for the whole enclosure. There are a few problems with this approach:
1. It's not as easy/cheap to manufacture as I first thought
2. It leaves gaps at the edges that would need to be filled
3. It's not very rigid (depends on the thickness ofc)
4. I need some maintenance/mounting openings which would make that design even more wobbly
As this thing is used by more people than just me, I want to make the keyboard/screen angle adjustable to different preferences. So the HMI will consist of 2 parts.
The new plan
The new approach is to use a milled frame out of aluminium. Each frame consisting out of 4 parts (top, left, bottom, right) connected via dowel pins and held together by the top and bottom plane.
I hope that this will be a lot more stable and also have a higher quality feel.
Only downside is that the top and bottom parts need to be around 55cm long (because of the screen) and my mill only has a travel of 42cm. A first prototype machined in 2 clampings was a lot of work and also didn't turn out so nice, so I probably have to outsource this. Might also be a good reason to get another milling machine
I also thought about 3D printing the frame, but metal looks and feels way nicee than plastic I think. Also more suited for an "industrial environment".
For the screen I'm using a 22" iiyama touchscreen. It's quite expensive (450€) but looks great and I'm not depending on some random chinese supplier.
Control layout
For the layout of the controls, I also made some changes.
First of all, I ditched the trackball. It's main use would be when you can't use the touchscreen, for example because you are wearing gloves.
In that case, a trackball would get dirty even quicker and no one will probably dismount it every few days to clean it.
A trackpad is also useless when wearing gloves.
The new idea is to use a normal mouse with a "tray" that can be attached to the side of the HMI if needed. Otherwise, it's just touchscreen and function keys, no mouse.
The touchscreen "on/off" switch is also gone for now. If you really need to turn it off, you can just unplug the USB cable. A switch is needed too infrequently to put engineering time into it, atleast for this first version.
I want to use 2 rotary encoders, I think 3 is a bit overkill as I never use the spindle override, but rapid feed and normal feed is nice to have.
I'm using encoders instead of potentiometers, so I can override them via the touchscreen. I'm using buttons instead of switches for the same reason.
A block of 16 function keys + a column of 6 additional keys should be enough. I want to use low profile mx switches for them, so they have a similar feel like a normal keyboard. Each key has it's own WS2812B LED, so I can light them up in every color using software.
The keys directly next to the screen are gone. Reason being that I don't like the look and using GUIs other than gmoccapy would probably render them useless anyway. It's also more effort on the manufacturing side.
The emergency stop is now placed directly in the middle. That way left and right handed people should be able to access it fast, as mentioned by tommylight.
Spindle Left/Stop/Right are bigger physical buttons (with LEDs), you need them all the time.
The final part is the actual keyboard. I was first thinking about a custom PCB and I already made a prototype. The advantage is that you can decide on the switches and on the placement of the keys.
However it also has several downsides. It's way more effort to assemble and solder the keyboard. You don't just need the switches, but also a microcontroller that needs programming, keycaps, stabilizers etc. It's also way more expensive than some amazon keyboard.
Now I'm planning on just using a low profile keyboard off amazon, remove the top and integrate it into the top plate.
I don't like that the panel won't be waterproof, but I guess I don't have a choice there.
I hope with the new plan I can come up with a real prototype faster, I also have way more time now than last year.