geekhack

geekhack Community => Keyboards => Topic started by: Snarfangel on Mon, 17 February 2014, 13:01:42

Title: Maglev keyswitches...
Post by: Snarfangel on Mon, 17 February 2014, 13:01:42
This is a rather off-the-wall question, but since some people like linear switches, and neodymium magnets are ridiculously powerful for their size, does anyone know of attempts to make keyswitches using magnetic repulsion between two north (or south) poles of a magnet? Your keys would be floating lightly above the keyboard (perhaps held in place to keep it from flying off), rather than sitting on a spring or rubber dome. It would be one less mechanical thing to go wrong (though you would be trading it for a couple of magnets per switch that could go equally wrong).

Not sure if it could be made with Hall effect or reed switches, or if it would cause the keyboard to stick to paper clips or refrigerators, either. :) There are probably other difficulties involved, too, but it would be fun to try one out if they existed.

Title: Re: Maglev keyswitches...
Post by: Melvang on Mon, 17 February 2014, 13:08:16
If you want to try this with MX switches .125 or 1/8" diameter magnets would fit inside the spring.  I actually suggested this to Mkawa a couple days ago and while physically it should work, there is a very real possibility of inducing voltage through the matrix.  This would be on the principle that passing a magnetic field across a wire you will induce an electric current.  While I feel that the progressive "spring rate" would feel real nice I don't think it would be electronically viable. 

If you do want to try this I would suggest n52 neodymium magnets.  This grade has the highest magnetic field for standard available magnets, the magnetic force degrades the least over time including physical shock and heat, but it would also pose the greatest risk of induced electric current.
Title: Re: Maglev keyswitches...
Post by: fohat.digs on Mon, 17 February 2014, 15:01:06
I am not a physicist or electrical engineer, but wouldn't all that magnetism swarming (because it would be a swarm of discreet fields, no?) over a small area be an electronic nightmare?

On the other hand, some people like magnets for arthritis, so you could get your therapy as you typed!
Title: Re: Maglev keyswitches...
Post by: Melvang on Mon, 17 February 2014, 15:03:23
I am not a physicist or electrical engineer, but wouldn't all that magnetism swarming (because it would be a swarm of discreet fields, no?) over a small area be an electronic nightmare?

On the other hand, some people like magnets for arthritis, so you could get your therapy as you typed!

Yes and no.  Static magnetic fields *should not* induce electrical currents, however when you put them into motion (actual typing) I feel it is possible.  Again, I am in the same boat as fohat in that I am neither a physicist nor an electrical engineer but I do have a gravitation towards physics and mechanical engineering.
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Mon, 17 February 2014, 15:13:17
Here's something with magnets in:

http://deskthority.net/photos-videos-f8/univac-f-1355-00-t6489.html

Not what you had in mind, but still, you're not the only person to consider using magnets in that sort of way.
Title: Re: Maglev keyswitches...
Post by: Snarfangel on Mon, 17 February 2014, 16:14:13
Here's something with magnets in:

http://deskthority.net/photos-videos-f8/univac-f-1355-00-t6489.html

Not what you had in mind, but still, you're not the only person to consider using magnets in that sort of way.


That is awesome! Thanks for the link.
Title: Re: Maglev keyswitches...
Post by: thesentinel on Mon, 17 February 2014, 16:20:12
i'm sorry

Title: Re: Maglev keyswitches...
Post by: berserkfan on Mon, 17 February 2014, 21:23:44
I am not a physicist or electrical engineer, but wouldn't all that magnetism swarming (because it would be a swarm of discreet fields, no?) over a small area be an electronic nightmare?

On the other hand, some people like magnets for arthritis, so you could get your therapy as you typed!

How can this be good for your other electronics peripherals? As a perpetual klutz I am extremely sensitive to the possibility that I screw up my computer doing something silly. One big electromagnet sounds like a hard disk killer to me - and I sometimes put hard disks on my desk.
Title: Re: Maglev keyswitches...
Post by: Melvang on Mon, 17 February 2014, 21:46:00
I am not a physicist or electrical engineer, but wouldn't all that magnetism swarming (because it would be a swarm of discreet fields, no?) over a small area be an electronic nightmare?

On the other hand, some people like magnets for arthritis, so you could get your therapy as you typed!

How can this be good for your other electronics peripherals? As a perpetual klutz I am extremely sensitive to the possibility that I screw up my computer doing something silly. One big electromagnet sounds like a hard disk killer to me - and I sometimes put hard disks on my desk.

http://www.techhive.com/article/116572/article.html

First we have not suggested using electromagnets.  The ones I suggested are permanent n52 neodymium rare earth magnets.  For the most part you will not find a magnet in your house strong enough to kill a hard drive.  The one exception I could possibly think of would be a magnet from a high end 12"+ speaker.  The magnetic fields we would be talking about here would only extend a couple inches at most.  Besides the magnet that actually moves the head in a platter type hard drive are usually these n52 neodymium magnets anyway.  Reason being, reducing the power to this mechinism is actually the best way to reduce the power draw of the hard drive.  Also increasing the acceleration rates in this head both in speeding up and slowing down (slowing down is technically considered acceleration) is the easiest way to increase random access times. 

Magnets also have zero effect on flash based storage which would include thumb drives, memory cards, and solid state hard drives.  The reason for this is because the data is not written using magnetics. 

With respect to credit cards, I have a wallet with a money clip that is of the magnetic type and all my cards still work.  Well with the exception of having worked in a foundry for 22 months doing a multi-million dollar install project.  But this was because of the dust (both metal and mold casting sand).  The reason I say it was from the environment and not the wallet is because I had already had the wallet for 5 years or so with not one card failure.
Title: Re: Maglev keyswitches...
Post by: Kamen Rider Blade on Tue, 18 February 2014, 00:39:02
Opposing magnets would make very neat key switches IMO. But I wonder how much would they cost?
Title: Re: Maglev keyswitches...
Post by: Melvang on Tue, 18 February 2014, 00:48:17
Opposing magnets would make very neat key switches IMO. But I wonder how much would they cost?

These are 1/8" diameter (which should fit inside an MX spring) and 1/16" thick, pulling force against another of the same magnet is 1.04lbs.
https://www.kjmagnetics.com/proddetail.asp?prod=D21B-N52

These are 1/32" thick and rated for the same amount of pull
https://www.kjmagnetics.com/proddetail.asp?prod=D201-N52&cat=168

Keep in mind that dropping the grade down from the n52 will substantially reduce the price but will also drop the magnetic force.

Looked again and not that much of a drop in price.
Title: Re: Maglev keyswitches...
Post by: Kamen Rider Blade on Tue, 18 February 2014, 01:09:11
Those are expensive

You need $1 per magnet, meaning you need 2 for a switch.

Ouch.
Title: Re: Maglev keyswitches...
Post by: Oobly on Tue, 18 February 2014, 01:26:00
Will definitely feel different to springs. Springs have an almost constant increase in resistance, whereas opposed magnets have an increasing rate of increase of resistance (square law). You can tune this "rate of increase" by adjusting the distance and magnet strength (stronger magnet at further distance = same initial force, but slower increase in force).

It may be hard to get a set of magnets with consistent enough strength between them and it'll take some experimentation to get the right distance and magnet strength, but it's possible. Not sure I'd like the feeling, though. I like the linear increase of springs. It could feel really odd, with a soft initial press and rapid increase in resistance. Kind of organic...

You'd need around 2g (stem and keycap mass) + desired initial press strength at the top and will have to have some kind of retention system for the caps. An MX slider and case may work well. Magnets could be mounted somewhere on the slider and under the case bottom. If the magnet is 2mm or smaller and less than 0.8mm thick it will fit on the pole that goes into the tube in the lower case. I suspect it won't be strong enough at that size, though, unless the lower magnet is really strong. You could also try a thicker magnet (or even a cylindrical one) and trim the end of the pole to match.
Title: Re: Maglev keyswitches...
Post by: Melvang on Tue, 18 February 2014, 10:20:27
Those are expensive

You need $1 per magnet, meaning you need 2 for a switch.

Ouch.

Those prices were for a pack of 10 magnets.

Will definitely feel different to springs. Springs have an almost constant increase in resistance, whereas opposed magnets have an increasing rate of increase of resistance (square law). You can tune this "rate of increase" by adjusting the distance and magnet strength (stronger magnet at further distance = same initial force, but slower increase in force).

It may be hard to get a set of magnets with consistent enough strength between them and it'll take some experimentation to get the right distance and magnet strength, but it's possible. Not sure I'd like the feeling, though. I like the linear increase of springs. It could feel really odd, with a soft initial press and rapid increase in resistance. Kind of organic...

You'd need around 2g (stem and keycap mass) + desired initial press strength at the top and will have to have some kind of retention system for the caps. An MX slider and case may work well. Magnets could be mounted somewhere on the slider and under the case bottom. If the magnet is 2mm or smaller and less than 0.8mm thick it will fit on the pole that goes into the tube in the lower case. I suspect it won't be strong enough at that size, though, unless the lower magnet is really strong. You could also try a thicker magnet (or even a cylindrical one) and trim the end of the pole to match.

While I don't have any issues with the usual lot of Cherry springs I would love to try some very progressive rate springs.  The magnets I posted should fit inside an MX spring.  If I were to try it I would start with some linear switches and a light spring. 

The n52 grade for neodymium magnets are very strong.  At this size it would be very difficult to separate them.

Just to give an idea on how strong these things are, Mythbusters actually successfully altered a bullet trajectory a significant amount using these.  Granted they had to use 9 magnets to do it.  The magnets they used were 2 inches across and 6 of them were 6" tall and I don't remember how tall the other 3 were but they were a different size.  They were using a 9mm pistol for the test but they accomplished it.

Title: Re: Maglev keyswitches...
Post by: Kamen Rider Blade on Tue, 18 February 2014, 12:50:05
Those are expensive

You need $1 per magnet, meaning you need 2 for a switch.

Ouch.

Those prices were for a pack of 10 magnets.

That's far more reasonable then.
Title: Re: Maglev keyswitches...
Post by: HaaTa on Tue, 18 February 2014, 20:11:02
Haha, nice.
I have a few "magnetic" keyboard switch projects I'm working on. Even did some magnetics research near the end of my undergrad (mostly to get comfortable with finite element modelling).

Using opposing magnets for simple levitation is very doable (and if using rare earth magnets could be made quite small).
http://www.kjmagnetics.com/calculator.repel.asp (http://www.kjmagnetics.com/calculator.repel.asp) is a very nice "simple" force calculator for this.
Keep in mind that magnetic force increases exponentially with the distance for levitation.
The next thing you have to think about is how the actuation will take place (and at what point during the press). One option is a hall effect sensor (which, tbh in this case is a positioning nightmare; you have to understand exactly what the fields look like, and how they change when using more than one magnetic field source).
Another, more reasonable option is to use a dome switch. This works by having the lower magnet on top of the dome and once enough force is applied it will actuate.

Anything more than this, you start to need serious EE and/or ME background. EE for manipulating the fields, and ME (Mechanical Engineering) for instrumenting a tactile/click sensation.
Electromagnets bring in a whole 'nother world of hurt  :cool:

I'm working on reproducing the Univac switches linked right now. Should have an experimental prototype switch ready in the next few weeks (once my ski-cation is finished :D ).
Bug me on IRC if you want to discuss.
Title: Re: Maglev keyswitches...
Post by: niubio on Sat, 15 March 2014, 10:02:25
I guess I'll add my 2 cents here...

I was thinking about reed switch boards I had posted about a month ago from Zbrojovka Brno. They use a pretty simple linear mechanism - a single spring and a reed element soldered on a small "elevated" plate. It is activated by a slider-mounted magnet. I guess it would be possible to combine this with maglev concept (both ideas utilize magnets) thus obrtaining an ultimate solution :) Electronics in a keyboard like this would be 100% isolated from the above, thus making it 100% spill/dust resistant. Here's my quick MS paint job:

(http://s23.postimg.org/r9pj4f66j/maglev.gif)

It's a very simplified schematic without paying much attention to small details... And there should be "isolation" instead of "insulation", but I think you get the idea ;) After the cap is pressed, the magnet descends down and activates the reed switch. You could use different magnets to obtain different forces, and maybe even add something to achieve tactility. You can use different "caps-latch" mechanism (I've copied the "space invader" more or less in my gif).
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Sat, 15 March 2014, 10:09:03
I imagine that would feel really weird!

(Hm, when did MS Paint get anti-aliased graphics? Was that Windows 8, or an earlier version?)
Title: Re: Maglev keyswitches...
Post by: niubio on Sat, 15 March 2014, 10:20:25
I've added caption + leading lines in PS :) Good eye for details!
Title: Re: Maglev keyswitches...
Post by: mougrim on Sat, 15 March 2014, 10:20:57
I guess I'll add my 2 cents here...

I was thinking about reed switch boards I had posted about a month ago from Zbrojovka Brno. They use a pretty simple linear mechanism - a single spring and a reed element soldered on a small "elevated" plate. It is activated by a slider-mounted magnet. In Unitra-Polam switch they've put a magnet... inside the cap. I guess it would be possible to combine this with maglev concept (both ideas utilize magnets) thus obrtaining an ultimate solution :) Electronics in a keyboard like this would be 100% isolated from the above, thus making it 100% spill/dust resistant. Here's my quick MS paint job:

Show Image
(http://s23.postimg.org/r9pj4f66j/maglev.gif)


It's a very simplified schematic without paying much attention to small details... And there should be "isolation" instead of "insulation", but I think you get the idea ;) After the cap is pressed, the magnet descends down and activates the reed switch. You could use different magnets to obtain different forces, and maybe even add something to achieve tactility. You can use different "caps-latch" mechanism (I've copied the "space invader" more or less in my gif).

Dat cool. But calibration of this thing will be a pain in the ass - you need reed switches activated only when magnet directly beside it...

Still - I'd love to see it. It could be reed switches keyboard re-imagined all through.
Title: Re: Maglev keyswitches...
Post by: niubio on Sat, 15 March 2014, 10:27:01
Hmmm... Why mougrim? I mean in Zbrojovka boards and in MK45 / Elwro Junior they activate after a magnet reaches a certain proximity point in space, and they "release" after said magnet leaves this space - and only after that they are ready to register another "key press". You don't have to be that precise I guess...?
Title: Re: Maglev keyswitches...
Post by: blackbox on Sat, 15 March 2014, 10:46:13
Very interesting concept niubiu. It would make ip44/47 certified mechanical keyboards a lot easier to make.
Title: Re: Maglev keyswitches...
Post by: mougrim on Sat, 15 March 2014, 11:07:34
Hmmm... Why mougrim? I mean in Zbrojovka boards and in MK45 / Elwro Junior they activate after a magnet reaches a certain proximity point in space, and they "release" after said magnet leaves this space - and only after that they are ready to register another "key press". You don't have to be that precise I guess...?

Yeah, but in those boards you don't have second magnet at the bottom of switch. But again, maybe it really doesn't matter.
Title: Re: Maglev keyswitches...
Post by: Melvang on Sat, 15 March 2014, 11:46:10
As far as experimenting with this I was thinking about using magnets inside of cherry switches.  From the measurements that I got from mkawa 1/8" diameter magnets should fit inside the spring.
Title: Re: Maglev keyswitches...
Post by: SpAmRaY on Sat, 15 March 2014, 11:49:03
As far as experimenting with this I was thinking about using magnets inside of cherry switches.  From the measurements that I got from mkawa 1/8" diameter magnets should fit inside the spring.

I just happened to be looking for some magnets for something figured I'd share a link (no idea if these costs are reasonable etc, just a site I was browsing)

http://www.kjmagnetics.com/products.asp?cat=13 (http://www.kjmagnetics.com/products.asp?cat=13)
Title: Re: Maglev keyswitches...
Post by: HaaTa on Sat, 15 March 2014, 11:57:08
So rather than calibration, I think there might be a problem with the magnetic field direction in respect to the reed switch.

I was just going to explain it, but since I do finite element stuff anyways...might as well show you some actual simulations of the magnetic fields between two equal strength magnets.
These are 2D slices through the center of 2 cylinder rare earth magnets setup for levitation (opposing North and South poles).

Close
(http://i.imgur.com/7PHoU8v.png)

Far
(http://i.imgur.com/CcErUVe.png)

For either a hall effect sensor or reed switch you are using a change in the magnetic field strength (reed switches use a much stronger change). As shown above, the magnetic field around where you want to place the reed switch doesn't really change at all... Yes the magnitude changes, but overall, there is a magnetic field already going in the direction you want whether the magnets are close or far (so the reed switch will always be closed :P).

Using a reed switch is much easier overall to implement (I'm familiar with the hall effect issues though), so keep trying  :thumb:
Title: Re: Maglev keyswitches...
Post by: mougrim on Sat, 15 March 2014, 12:17:46
So rather than calibration, I think there might be a problem with the magnetic field direction in respect to the reed switch.

I was just going to explain it, but since I do finite element stuff anyways...might as well show you some actual simulations of the magnetic fields between two equal strength magnets.
These are 2D slices through the center of 2 cylinder rare earth magnets setup for levitation (opposing North and South poles).

Close
Show Image
(http://i.imgur.com/7PHoU8v.png)


Far
Show Image
(http://i.imgur.com/CcErUVe.png)


For either a hall effect sensor or reed switch you are using a change in the magnetic field strength (reed switches use a much stronger change). As shown above, the magnetic field around where you want to place the reed switch doesn't really change at all... Yes the magnitude changes, but overall, there is a magnetic field already going in the direction you want whether the magnets are close or far (so the reed switch will always be closed :P).

Using a reed switch is much easier overall to implement (I'm familiar with the hall effect issues though), so keep trying  :thumb:

And if you place reed switch a little more up?
Title: Re: Maglev keyswitches...
Post by: HaaTa on Sat, 15 March 2014, 12:28:28
May be sufficient, but it's highly dependent upon the strength of the magnets and peak magnetic field required for the reed switch. Switching out magnets will likely be hard.
Title: Re: Maglev keyswitches...
Post by: mougrim on Sat, 15 March 2014, 13:48:44
May be sufficient, but it's highly dependent upon the strength of the magnets and peak magnetic field required for the reed switch. Switching out magnets will likely be hard.
Yeah. I see need for a serious modeling here.
Title: Re: Maglev keyswitches...
Post by: niubio on Sat, 15 March 2014, 16:06:30
Thanks for the feedback guys! Great pictures HaaTa! I have a quick question: what is the distance scale on them? I mean if you could draw 1mm distance on it, that would make a good point of reference :) I guess it isn't that much of a problem, because you can always move the reed switch in horizotal space wherever you want to to suit your needs. It can be even placed behind a very thin plastic wall, so when the magnet descends, it would almost "touch" the reed... Thanks  to your explanation, now I understand why you can hear metallic "click" sound on some Unitra-Polam switches! That's because some of the magntes are indeed touching reed elements! A good way to be sure that it qould register :thumb:

Now I'm ready to make new concept sketch, this time with actual dimensions. Gosh, now I wish I would have a caliper! That way it would be easy to measure reed switch dimensions or plastic thickness for example :) I wonder which kind of magnets would give a "nice" kind of feel... Now I'm thinking where I could find ANY magnets and experiment a little with some rubber dome switches - you know, the cheapest ones, I think they are best suited for experimenting thanks to the very simple design!
Title: Re: Maglev keyswitches...
Post by: mougrim on Sat, 15 March 2014, 16:14:45
Thanks for the feedback guys! Great pictures HaaTa! I have a quick question: what is the distance scale on them? I mean if you could draw 1mm distance on it, that would make a good point of reference :) I guess it isn't that much of a problem, because you can always move the reed switch in horizotal space wherever you want to to suit your needs. It can be even placed behind a very thin plastic wall, so when the magnet descends, it would almost "touch" the reed... Thanks  to your explanation, now I understand why you can hear metallic "click" sound on some Unitra-Polam switches! That's because some of the magntes are indeed touching reed elements! A good way to be sure that it qould register :thumb:

Now I'm ready to make new concept sketch, this time with actual dimensions. Gosh, now I wish I would have a caliper! That way it would be easy to measure reed switch dimensions or plastic thickness for example :) I wonder which kind of magnets would give a "nice" kind of feel... Now I'm thinking where I could find ANY magnets and experiment a little with some rubber dome switches - you know, the cheapest ones, I think they are best suited for experimenting thanks to the very simple design!

Good luck to you :) When you'll become a greatest keyboard designer of the world, just give us 1% of the shares :)

You have damn fine ideas.
Title: Re: Maglev keyswitches...
Post by: Kamen Rider Blade on Sat, 15 March 2014, 23:18:36
Maybe you should apply for a patent on this type of switch.

If it's different enough from the Halls Effect, it should be able to get it's own patent, and you can create a new superior switch.
Title: Re: Maglev keyswitches...
Post by: niubio on Sun, 16 March 2014, 08:04:27
Good luck to you :) When you'll become a greatest keyboard designer of the world, just give us 1% of the shares :)

Are you crazy? :) I'm faaaar from being a "designer", I'm not even a keyboard power user. That's just a wild idea - nothing more. Thanks anyway :)

Maybe you should apply for a patent on this type of switch.

Mhmmm... Maybe instead of applying for a patent, which is way to expensive for me right now, I could open source it - this way it's going to be impossible for anyone to steal it and - which I'm more afraid of - to shelve it, as often the story goes with many new cool ideas...

Anyway, I've just purchased 110 neodynium magnets online - the cheapest ones :) They'll arrive the day after tomorrow I guess, I'll install them in one of my rubber domes in a simplified fashion - two magnets would simply "squeeze" the membrane beneath, or sth like that. If I have any success with it, I'll post some photos and a video. Then, if it makes any sense at all, I'm thinking about sending this concept board to fellow geekhackers, if anyone's interested in trying maglev :)
Title: Re: Maglev keyswitches...
Post by: peterstock on Sun, 16 March 2014, 16:35:20
Very cool idea. I think the idea of an x^2 rate of force would be good - a rapidly increasing force after a tactile point is what everyone seems to agree is desirable to stop bottoming out. But linear springs can't offer that, with lightness up to the activation point.
Title: Re: Maglev keyswitches...
Post by: simon_C on Sun, 16 March 2014, 18:59:18
now I'm thinking about prototyping this. Possibly with some brown switches.
Title: Re: Maglev keyswitches...
Post by: niubio on Wed, 19 March 2014, 17:50:18
It's been a very busy week... Got a short news update:

1) 240 neodynium magnets arrived
2) I've purchased 10 reed switches online to prototype my idea, they haven't arrived yet.
3) 5 minutes ago I've finished installing one pair of magnets in a beaten up "Turbo Plus" rubber dome from KME.
4) Two words: IT WORKS.
5) Switches are 100% contact-less, without the need of any reeds.
6) I've to clean this board and install all magnets, so expect some pictures + a video tomorrow at best. Maybe I'll run into some new problems... It's not that easy :/
7) It's not a "magnet touches reed element" sound that I was hearing in my MK45 and Elwro - it's the sound of the reed element itself, when it's getting into a close proximity to a magnet. I was a total idiot and had no idea what I was talking about.
8 ) I've tried to search something up on those vintage magnetic switches... Now I know A LITTLE more I think... Zbrojovka Brno-s utilize Honeywell HAL effect clones ("a holy grail of keyboards" ;) ), MK45 and Elwro use reed switches. I know, for some of you out there is common knowledge, but it wasn't that obvious for me up until now!

Looking forward to hear from you simon_C! Let's get this on!
Title: Re: Maglev keyswitches...
Post by: Snarfangel on Wed, 19 March 2014, 18:56:07
It's been a very busy week... Got a short news update:

1) 240 neodynium magnets arrived
2) I've purchased 10 reed switches online to prototype my idea, they haven't arrived yet.
3) 5 minutes ago I've finished installing one pair of magnets in a beaten up "Turbo Plus" rubber dome from KME.
4) Two words: IT WORKS.
5) Switches are 100% contact-less, without the need of any reeds.
6) I've to clean this board and install all magnets, so expect some pictures + a video tomorrow at best. Maybe I'll run into some new problems... It's not that easy :/
7) It's not a "magnet touches reed element" sound that I was hearing in my MK45 and Elwro - it's the sound of the reed element itself, when it's getting into a close proximity to a magnet. I was a total idiot and had no idea what I was talking about.
8 ) I've tried to search something up on those vintage magnetic switches... Now I know A LITTLE more I think... Zbrojovka Brno-s utilize Honeywell HAL effect clones ("a holy grail of keyboards" ;) ), MK45 and Elwro use reed switches. I know, for some of you out there is common knowledge, but it wasn't that obvious for me up until now!

Looking forward to hear from you simon_C! Let's get this on!

That sounds awesome! I can't wait for the pictures.   :cool:
Title: Re: Maglev keyswitches...
Post by: simon_C on Thu, 20 March 2014, 00:47:43
Hm.. Interesting.
Looking forward to more
Title: Re: Maglev keyswitches...
Post by: blackbox on Thu, 20 March 2014, 01:51:38
Awesome! Good that someone is trying it out. Looking forwards to see the results of the prototyping.
Title: Re: Maglev keyswitches...
Post by: mougrim on Thu, 20 March 2014, 03:02:32
Keep good job, dude! I'm looking forward to videos!

And yep, you right - that distinctive sound was sound of reed switch itself - as magnet even don't touch switch - it have no need to :)
Title: Re: Maglev keyswitches...
Post by: niubio on Thu, 20 March 2014, 12:06:04
I've just finished it. Haven't catched any sleep in more than 24 hours. I think I'm now obsessed with this maglev idea. So I've just made a linear "switch" board out of a simple rubber dome. I have a concept how to make a tacticle version. Anyway, it's getting dark now so no good quality photos nor a video today. I think I'm starting talking to myself, so goodnight everyone! A couple of quick photos (a teaser I guess!):

(http://s30.postimg.org/xmtanzv99/image.jpg) (http://postimg.org/image/xmtanzv99/)

(http://s30.postimg.org/rw34a9n99/image.jpg) (http://postimg.org/image/rw34a9n99/)

(http://s30.postimg.org/6npfsu8sd/image.jpg) (http://postimg.org/image/6npfsu8sd/)
Title: Re: Maglev keyswitches...
Post by: blackbox on Thu, 20 March 2014, 16:47:20
Looks good! Cant wait for the results!
Title: Re: Maglev keyswitches...
Post by: simon_C on Thu, 20 March 2014, 17:13:36
What about just putting two magnets in an existing mechanical switch, and just using it as a spring?
Title: Re: Maglev keyswitches...
Post by: tricheboars on Thu, 20 March 2014, 17:14:18
post a video so i can hear it!

(http://memecrunch.com/meme/SXQD/i-am-so-excite/image.png)
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Thu, 20 March 2014, 17:19:29
"Tactile" not "tactical" :-) (I am sure Lt Reed will be happy to show you his tactical array …)

You sure it's a linear switch? It should be exponential: easy to press at the start of travel, increasing to the point that it should be virtually impossible to bottom out.

Also, don't you have a job/classes to go to? :-P
Title: Re: Maglev keyswitches...
Post by: tooki on Fri, 21 March 2014, 08:27:37
Great work! Really interested in seeing the final results!

So I was thinking -- ignoring the EM field nightmare it would be -- why not make one with electromagnets? It'd be expensive as f**k, but you could create adjustable keyforce keyboards, possibly even with an electronically-generated tactile point. (E.g. once the reed switch or hall effect sensor trips, reduce the magnetic field strength. Or increase it. Whatever you want.)
Title: Re: Maglev keyswitches...
Post by: Kamen Rider Blade on Fri, 21 March 2014, 13:13:29
Great work! Really interested in seeing the final results!

So I was thinking -- ignoring the EM field nightmare it would be -- why not make one with electromagnets? It'd be expensive as f**k, but you could create adjustable keyforce keyboards, possibly even with an electronically-generated tactile point. (E.g. once the reed switch or hall effect sensor trips, reduce the magnetic field strength. Or increase it. Whatever you want.)

I think you answered your own question.

The cost part isn't worth it, along with the other high EM field issue.
Title: Re: Maglev keyswitches...
Post by: niubio on Fri, 21 March 2014, 13:22:17
Hi guys! I'm back from the dead :)

Got some photos and a video for you - I'm uploading it right now, and I'll process pictures later today. So, let's explain it all a little :)

1) Yeah, it's "tactile" not "tactical" Daniel :) You're a purist, are you? Well, it's about two weeks I even know the meaning of the word, so don't be too picky on me! :)
2) The switch is not linear of course - it's expotential but it's possible to bottom out without any problem.
3) Your concept tooki is the ideal solution - you could create an universal modular version - with interchangeable caps and fine-tuned switches. You could choose with software if you want tacticle/linear/or whatever switch, it's power, etc. That would be the ultimate solution!
4) Ok, so back to my switch... One magnet sits on the top of the membrane "contact", the other can be clearly visible inside the cap. The cap levitates above the membrane. When the key is pressed, the expotential force between the magnets works pretty much like a standard rubber dome - it pushes the membrane sheets together and you got an actuation.
5) You don't have to bottom out the switch. You can assemble it in such way, that it will actuate after traveling about 1mm! I had an excelent shot of it today and lost it somewhere :( (pressing scroll lock and observing as LED goes on and off).
6) This idea is a pain in the ass to implement. The devil's in the detail. The trick is you have to choose the right distance between the magnets - and it all depends on their strenght. I had no choice, as I just picked the cheapest square neodynium magnets that were available online - so that leaves me only one option - tweaking the distance. The bottom magnet is just lying flat on the membrane - nothing to do here. And here's a problem - you have to choose the right distance for a magnet that is installed inside the slider. If you mount it to low, you'll have to use extreme force to press it. The switch feels VERY stiff then. And if you mount it too high inside the slider, it won't actuate.

I've used... nails as magnet "spacers" in the sliders. They were all 13mm, but unfortunately distances vary greatly inside the caps... So some keys feel stiff, some feel a little like cherry REDs. In some of them I got very lucky, and they feel as something I've never felt before - just awesome! I think that's probably the cheapest way to make yourself a gaming board!
7) Why KME Turbo Trak? It's a really ****ty board. But it's a prototype to see if this works AT ALL. It's just a proof that it can be done, and those square magnets fit KME's sliders perfectly. It's also my point, that you can take total crap and change it into something of a value.
8 ) I wouldn't recommend fitting magnets inside the mechanical switch. You don't have much option in terms of tweaking the distance, so you have to use magnets with specific strenght to achieve your "feeling" target. Also, I don't think that magnets with radius matching cherry spring would be sufficent to create enough maglev force.
9) Next time I'll pick round magnets. For the bottom (membrane mounting) you should pick magnets with 1mm thickness (matching more or less rubber dome thickness) and radius that matches "membrane contact" radius, or even 1mm smaller ones. For the slider you should pick round magnets that match slider's radius (even if it's a square one). SQUARE MAGNETS SUCKS and require much precision to mount them in the right spot on the membrane.
10) I think it's possible to change any rubber dome into a maglev board. I'll try to mod some of them (including the crappiest "flatbeds" I own) to prove my point :)

Enjoy!

https://www.youtube.com/watch?v=JBGiA6O4RgM (https://www.youtube.com/watch?v=JBGiA6O4RgM)
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Fri, 21 March 2014, 15:41:20
Does the exponential curve make the switch really bouncy when you get the distance right?

Electromagnetic would be interesting. I guess there are two ways to do this. You could have all the switches powered permanently, and when you turn off the PC, all the sliders would drop, and then shoot back up when the PC is turned on.

Otherwise, I presume that you'd need a static permanent magnet, a static cancellation electromagnet, and finally a movable permanent magnet. Once you've reached the tactile point, the electromagnet would be powered up and would cancel out the static permanent magnet.
Title: Re: Maglev keyswitches...
Post by: niubio on Fri, 21 March 2014, 18:46:43
I guess you can call it "bouncier" than regular rubber dome or mechanical switch, but it doesn't make that much of a difference... for me at least!

Holy crap, that's just another awesome cool idea Daniel... Didn't think of it! Dammit, if it would be possible to prototype even not fully functional unit with electromagnets and reasonable material costs... I must make yet another post on polish electronics forum to ask where could I obtain cheap electromagnets.

For now I have developed an impresive backlog - have to add pictures & descriptions to my site & deskthority, send some parcels and bite a big chunk of this giant keyboard pile in my basement... I've messed up my whole apartment - magnets, screwdrivers, board elements and other stuff everywhere. This chaos has to be tamed right now.

Back to the topic... There's one another board with electromagnets I think has a lot potential  - the one that was posted by HaaTa (Univac F-1355-00). This simple non-tactile maglev-over-membrane design just doesn't apply to my taste. I would like to make something that really makes you go WOW!

Ah, almost forget, an idea for tactile version: upper round magnet descends down THROUGH another magnetic RING (slides through it). After breaching the critical point it goes down even faster - with help from gravitiy and opposite magnetic polar repell from ring above - and bottom out HARD. The problem is how to make it go back :) Simple answer - a spring or another - stronger - magnet on the bottom.
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Fri, 21 March 2014, 18:53:07
Electromagnetic switches was tooki's idea, three posts prior. I was just musing on how it would actually be achieved.
Title: Re: Maglev keyswitches...
Post by: niubio on Fri, 21 March 2014, 19:06:48
Yeah, I just mixed up words... "idea" with "thought". You know, my standard translation issues. I was talking about this power-on -> caps up thing!

EDIT: I've just added some pictures here (http://utensilia.tk/urzadzenia/kme_kb-9001re_maglev.html). Nothing new, really :) I'll try to assemble another board with circle magnets in two weeks!
Title: Re: Maglev keyswitches...
Post by: Snarfangel on Sat, 22 March 2014, 20:34:40
Yeah, I just mixed up words... "idea" with "thought". You know, my standard translation issues. I was talking about this power-on -> caps up thing!

EDIT: I've just added some pictures here (http://utensilia.tk/urzadzenia/kme_kb-9001re_maglev.html). Nothing new, really :) I'll try to assemble another board with circle magnets in two weeks!

I am looking forward to it! Seriously cool work.
Title: Re: Maglev keyswitches...
Post by: blackbox on Sun, 23 March 2014, 09:56:00
very cool project! Looking forward to the round magnet version. Could you some photos of the inside too?
Title: Re: Maglev keyswitches...
Post by: Key-Fu on Sun, 23 March 2014, 21:27:47
Awesome work, niubio.  Can't wait to see what you come up with.  :)
Title: Re: Maglev keyswitches...
Post by: dgreekstallion on Wed, 26 March 2014, 00:56:15
This is really exciting!
Title: Re: Maglev keyswitches...
Post by: Misterorjoe on Sun, 30 March 2014, 21:16:37
Any more news on this?
Title: Re: Maglev keyswitches...
Post by: spiceBar on Mon, 31 March 2014, 01:12:05
This is sick. I just love it.
Title: Re: Maglev keyswitches...
Post by: niubio on Thu, 17 April 2014, 19:19:24
'Sup Geekhack!

I had to take care of many, many things in the last three weeks or so I shelved this project (and most of my keyboard activity...) - for a while. I had to make an overhaul in my place - now I have a brand new lab, a warehouse and a workshop :) The idea is not dead, I tell you that! But I have to sell my old stuff first and then I'll get back to the maglev board concept.

I was thinking the best way to do it would be to get the most common rubber dome board out there, refit it with the right magnets (to achieve good feeling) and make this process easily reproducible. That way just about anyone can build a maglev board for himself dirt cheap. I hope I could use the cheapest magnets out there to cut costs to the extreme minimum.

Looking for the right candidates :) I think this black DELL board would be a good pick - I can see it almost everywhere, in banks, libraries, etc. What do you think people?

I think it should be a long key travel board to achieve proper magnet distance.
Title: Re: Maglev keyswitches...
Post by: tricheboars on Thu, 17 April 2014, 20:28:18
just be careful with the magnets and your computers fellas. magnets and computers are not always friends.  you can damage a cables fairly easy with a magnet.
Title: Re: Maglev keyswitches...
Post by: blackbox on Fri, 18 April 2014, 18:00:24
just be careful with the magnets and your computers fellas. magnets and computers are not always friends.  you can damage a cables fairly easy with a magnet.

Damage cables?
Title: Re: Maglev keyswitches...
Post by: Melvang on Fri, 18 April 2014, 18:54:14
I wouldn't worry about magnets in your computer.  The magnets that move the hard drive seek arms around are insanely strong rare earth magnets.  I have heard rumors that some of the newer ones with very fast seek times use magnets that are potentially stronger than N52 grade rare earth magnets.  Besides it takes a VERY large magnet to effect a hard drive.  Chances are most people won't even have one strong enough to do this in their house.  The one exception would be very large and powerful sub woofers in high end speaker systems.  And even then static, they won't to anything.  The magnetic fields need to actually travel and have physical movement across the drive to affect it. 
Title: Re: Maglev keyswitches...
Post by: mouse.the.lucky.dog on Fri, 18 April 2014, 20:24:20
My first thought is simpler then  reed switches or Hall effect devices.
Moreover it is easiuly testable. Replace the contacts with a thin copper wire running from the toip of the switch to the bottom.
When a magnet passes by, it will induce a pulse through the wire which a controller can use as a keypress.
Title: Re: Maglev keyswitches...
Post by: Melchior on Sat, 19 April 2014, 00:21:15
Hard-drives contain NdFeB magnets of astonishing strength. FAR BEYOND anything that can be bought on flea-bay and similar.

These are the voice-coil magnets; for moving the heads. I doubt a mag-lev keyboard would damage a drive, assuming you could ever pry them apart again...

Also - Reed switches ? why use 1850's tech when 1950's Hall-Effect sensors are SO much better (no switch-bounce, just a clean analog increase in voltage).

And - since its an analog value - you could set each switches actuation point in software, individually.
Title: Re: Maglev keyswitches...
Post by: Melvang on Sat, 19 April 2014, 00:28:01
Hard-drives contain NdFeB magnets of astonishing strength. FAR BEYOND anything that can be bought on flea-bay and similar.

These are the voice-coil magnets; for moving the heads. I doubt a mag-lev keyboard would damage a drive, assuming you could ever pry them apart again...

Also - Reed switches ? why use 1850's tech when 1950's Hall-Effect sensors are SO much better (no switch-bounce, just a clean analog increase in voltage).

And - since its an analog value - you could set each switches actuation point in software, individually.

Am I reading between the lines in that this could work as pressure sensitive?
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Sat, 19 April 2014, 08:05:44
My first thought is simpler then  reed switches or Hall effect devices.
Moreover it is easiuly testable. Replace the contacts with a thin copper wire running from the toip of the switch to the bottom.
When a magnet passes by, it will induce a pulse through the wire which a controller can use as a keypress.

Yes you can do this. Here's an example of such a switch (the wires are all part of the PCB):

http://deskthority.net/wiki/USw_EXBB01

Here's a much more involved idea:

http://deskthority.net/wiki/ITW_magnetic_valve

The latter switch was still built until 2005.
Title: Re: Maglev keyswitches...
Post by: Greeeg on Tue, 29 April 2014, 20:57:15
When I read maglev switches, I was thinking one permanent magnet and one electromagnet.

This would let you do some wacky things. The controller could turn off the current through the EM magnet when the switch actuates, effectively creating the feel of cherry blues/(or equiv.)

Or you could increase the current. So once the key press is registered the key would push back up, I'd imagine this would take awhile to get used to.

Since these would be electronically controller. They could be adjusted in software. Or even turned off entirely.
Title: Re: Maglev keyswitches...
Post by: mougrim on Wed, 30 April 2014, 00:46:52
Too costly, too energy-consuming.
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Fri, 06 June 2014, 15:23:17
Too costly, too energy-consuming.

Apparently not:

http://www.cnet.com/uk/news/darfons-super-thin-maglev-keyboard-will-make-notebooks-even-slimmer/
Title: Re: Maglev keyswitches...
Post by: E TwentyNine on Fri, 06 June 2014, 15:47:31
Too costly, too energy-consuming.

Apparently not:

http://www.cnet.com/uk/news/darfons-super-thin-maglev-keyboard-will-make-notebooks-even-slimmer/

Thread on that here: http://geekhack.org/index.php?topic=59186.0
Title: Re: Maglev keyswitches...
Post by: Daniel Beardsmore on Fri, 06 June 2014, 17:03:35
Or rather, that thread should be here, since this one is way older ; )