7 ms·
DIY mechanical keyboard switch lets you set its actuation point
- billconan 4y agoCan the Hall-effect sensor detect speed or force? I'm more interested in building a midi keyboard.
- gaudat 4y agoNext step: Add a tiny motor inside the key switch for force feedback
- atoav 4y agoI think force feedback (and or haptic feedback) is truly the future of interaction design. To see an amazing example of this, check out the smartknob project: https://github.com/scottbez1/smartknob https://github.com/scottbez1/smartknob
- amelius 4y agoThis knob would be nice as an alternative "zoom in/out" knob for users of Wacom tablets, since you don't have the scroll wheel of a mouse.
- grumbel 4y agoBack around 2000 we had numerous force feedback joysticks, mice and steering wheels on the market, but only the steering wheels survived due to having a niche with sim racing. Joystick disappeared largely due to games switching to gamepads. Not quite sure why nobody ever tried to replicate the Logitech iFeel mice, that seems like a simple and cheap enough feature add into any mouse, especially these days with phone rumble motors being available for pennies. I quite liked the way the Nintendo Wii would give little haptics clicks when you moved the cursor over clickable UI elements, I'd imagine iFeel was similar, never tried it myself back then.
- artogahr 4y agoThis is one of the coolest things I've ever seen, thanks for sharing!
- totetsu 4y agoAnd an idle mode where the keys gently undulate like a infestation of bugs
- Animats 4y agoThat's what I was expecting. It's not a mechanical keyboard switch, anyway. There's nothing to click. No moment when the force required decreases. These keyboard enthusiasts should look into making replacement car dashboards. Something tactile to replace those awful touchscreens that keep people's eyes off the road.
- atoav 4y agoI use Cherry MX blacks, they also have no click (just like Silver, Red). The advantage of auch a thing is that you can type them silent if you like. More silent than a typical laptop keyboard in fact. Being someone who does audio recording a lot this was the selling factor for me. The lack of click is actually quite fine, I have no problems with it. You still have the spring you push down, so gaining a feeling for "when you hit it" is not that hard.
- Karliss 4y agoThe "mechanical keyboard" label is mostly arbitrary. Only somewhat reliable definition that matches with how it's widely used in context of keyboards that I can think of is "everything except, rubber dome, touchscreen and capacitive button keyboards (the ones without any moving parts, not the ones where keycap+spring moves one of capacitive surfaces)". Any attempts at defining it based on meaningful physical construction element or property will likely result in rubber dome keyboards classified as mechanical or some of the switches in "mechanical keyboards" as not mechanical. According to your definition about point where force decreases -> half the mx keyboard switches are not mechanical because they are not clicky and have linear force curve without buckling point, but the rubber dome keyboards are "mechanical" because they have a point where dome buckles and force decreases. If you look at the nature how the electrical contact or signal is made. Again rubber dome keyboard actually mechanically connect and disconnect the electrical contacts. But the few commercial "mechanical keyboards" using optical or magnetic switches which from the mechanical construction is almost identical to "real mechanical keyboards" would fall on the other side of split. That said there is some use in classification of switches outside the context of keyboards based on whether they have any moving mechanical parts, or whether they contacts which get connected/disconnected during use and could increase resistance over time or spark in case of higher voltages and currents have their use in certain situations.
- amelius 4y agoSolenoids, probably.
- consp 4y agoIsn't this what the trigger's on the latest generation game-controllers do? Create dynamic resistance (and force feedback) on the trigger.
- arbitrandomuser 4y agoIt needn't be a motor , it could be a solenoid - magnet combo configured to repel , with a microcontroller that varies the current position dependantly to immitate any profile one wants
- leoc 4y agoThe time-honoured quick and dirty approximation to that is to add a single solenoid to the keyboard and have it actuate every time a key actuates: https://youtu.be/1qw6ebySet0?t=305 https://youtu.be/1qw6ebySet0?t=305
- adrianN 4y ago>Fans of Hall-effect mechanical switches note that they should last longer than traditional mechanical switches since they don't rely on metallic contact, which can result in degradation. Has anyone ever typed so much on a keyboard that the switches wore out? Aren't they good for literally millions of actuations?
- caboteria 4y agoIn the opposite direction: I had a keyboard once that I set aside for a couple of years and when I tried to use it again some of the keys didn't register reliably. It took a couple of days of use before everything worked smoothly.
- lsaferite 4y agoSounds like contact corrosion (assuming it was a mechanical keyboard)
- pasabagi 4y agoI don't know if 'worn out' is the correct term, but I've definitely typed my way through a few x220 keyboards. It just takes one dead key for the whole keyboard to be useless.
- shakna 4y ago> Has anyone ever typed so much on a keyboard that the switches wore out? Aren't they good for literally millions of actuations? Yeah. Several. The keyboard might claim it's good for millions of actuations, but I write as well as program. At the end of the editing process, I have roughly 80,000 words entering the public sphere, a month. Excluding all rewriting. Imagine the abuse the spacebar has seen by the end of that. It doesn't take much to scale that out to be murderous on cheaper keyboards, and serious wear and tear on the tougher ones.
- dendriti 4y agoA keyboard doesn't claim to be good for millions of actuations. You're referring to (a single) switch, which cost less than a dollar even for the most premium switches. They are easily replaced.
- blibble 4y agosteelseries apex pro keyboards have these sensors they're great if you use the same keyboard for gaming and actual work (beware though: linux support is non-existent, although you can control the keyboard entirely without the shitty steelseries software)
- simplyinfinity 4y agoI've been using the apex pro TKL variant for 3-4 years now, it's an amazing keyboard! Would recommend it!
- highduc 4y agoseems like wasted potential by not reading the sensors with an ADC. you could have analog keys this way, which opens up a whole new world.
- Majromax 4y agoFor a macro pad, maybe. For a full-sized keyboard, that would be a lot of ADC channels. Looking at Digikey, ADC chips seem to be about $0.50 per input in bulk, and that would add a lot of BOM cost to the keyboard. You might be able to do better if you instead feed the Hall output into a sample-and-hold filter constructed out of a much cheaper op-amp. I suspect that would be an interesting engineering challenge.
- highduc 4y agoCouldn't you mux them?
- Karliss 4y agoI assume you are referring to the part where article says that (hall effect sensor) "output being used to trigger MOSFETs". I have no idea where that came from, but in the schemeatics and code I looked at hall effect output was read using ADC like you would expect. Otherwise how else would you change the actuation point? You could digitise it by comparing it against adjustment pot with a discrete comparator IC, but that seems like 80% of hassle with 20% of functionality. Sample keypad in the linked repository doesn't do that. Either I am looking at different repository or Arstechnica writer blindly copied from the hackaday article, and hackaday writer was half asleep while reading schematic so wrote complete nonsense.
- highduc 4y agoI haven't looked at the schematics but I suppose you could set a trigger level with the mosfets? Past a certain threshold it turns on the fets.
- lsaferite 4y agoLook at the Wooting keyboards. They do this. I'm sure there are others.
- 323 4y agoAt this rate, soon each switch will have a programmable controller inside, and you'll have drivers adjusting them as you type. Thought idea: predict what key you are about to press next, and make the ones around it stiffer so you are less likely to press them by mistake.
- dotancohen 4y ago> Thought idea: predict what key you are about to press next, and make the ones around it stiffer so you are less likely to press them by mistake. If the bottom magnet were an electromagnet, then in fact one could make the keypress stiffer. As it stands, this project only changes the actuation point, but not the stiffness curve. That said, I would love the feature that you mention. It could possibly introduce a new feedback concept to programming, similar to e.g. the shaker sticks that airline pilots are familiar with. Or, one could reduce the stiffness after a long day at work. Or increase the stiffness when the IDE detects e.g. that you're accessing a string position beyond bounds, or your SQL query is not parameterized but contains a concatenated user input.
- mannykannot 4y agoWith an electromagnet, you could take that control of feel far enough give it a buckling-spring ‘click’ feel.
- adrianN 4y agoYou might also need active cooling to be able to pump enough juice through your electromagnets to get the desired force.
- nomel 4y agoThe force for a cherry red switch is only around 50g. A brake, rather than direct electromagnetic force, could be used most of the time (see Playstation 5 controller [1]). Regardless, this will be one expensive keyboard. 1. https://hackaday.com/2021/09/13/how-the-ps5s-genuinely-clever-adaptive-triggers-work/ https://hackaday.com/2021/09/13/how-the-ps5s-genuinely-cleve...
- samatman 4y agoOoh I want a set of these which replace the bottom neodymium with an electromagnet coil. Keeb circuit boards for swappable switches almost all have extra traces for RGB which can be repurposed. Complete control over the full range of force? Yes please! But let's be real: I actually want my keyboard to start typing out of nowhere like a freaky sorcerer's apprentice thing.
- 63 4y agoLol a version of autohotkey that physically depresses the keys would be super fun to play with, albeit slow
- YetAnotherNick 4y agoIt was my understanding that by keeping the magnet in opposing field for long time makes it loose magnetism or worse reverse the polarity.
- bjoli 4y agoYes. It takes quite some time, though. There are hall effect switches from the 60s that still work. Edit: oh, this uses a magnet instead of a spring. That might cut the neodymium magnet lifetime short. I wonder how much..
- deleted 4y ago[deleted]
- jn5 4y agoThis was developed by HN user riskable and recently mentioned here: The obsessive pleasures of mechanical-keyboard tinkerers - https://news.ycombinator.com/item?id=32623908 https://news.ycombinator.com/item?id=32623908
- z_zetetic_z 4y agoIf you want something you can actually buy, check out the wooting he https://next.wooting.io/wooting-60he https://next.wooting.io/wooting-60he You can set per key actuation points, and bind multiple different inputs to the same key but different depths, etc. Great review here https://m.youtube.com/watch?v=glQNEbh79xg https://m.youtube.com/watch?v=glQNEbh79xg You can even mod it into another case for the DIY crowd.
- cttet 4y agoI used it for a midi keyboard and it was fun
- dimatura 4y agoCool, I've dabbled in this with ordinary mechanical switches. What's the hardware interface like for the Wooting switches?
- z_zetetic_z 4y agoI believe it's custom, because the mechanical part is actually just part of a sensor (it's just a magnet in a slider). The other part is the hall effect sensor which is soldered on the board. So, you can't drop these mechanical parts on to another board, they aren't self contained switches.
- billconan 4y agoCan it detect speed or force? I googled, and it seems to be a binary sensor.
- z_zetetic_z 4y agoI believe it measures distance, so possibly speed as well, and force could be computed with knowledge of spring resistance. However, I don't think I saw anything in their material relating to these two terms.
- userbinator 4y agoI can imagine this feels quite odd to type on. The force-distance curve between two magnets is very different from that of a spring --- the former is quadratic, the latter is linear.
- caroline_turing 4y agoVery interesting! A few months ago I was toying with the idea of using a permanent magnet in the stem and permanent/electromagnet at the bottom for adjustable weight / position sensing. While it works in theory, in practice the feeling of magnet-on-magnet force curve feels really unnatural for typing (since it's not linear like most springs). Maybe some combination of both approaches would work better in my case.