Author Topic: Would It Be Possible To...  (Read 3220 times)

0 Members and 1 Guest are viewing this topic.

Offline Lethal Squirrel

  • Thread Starter
  • Posts: 460
  • Location: Michigan
  • I <3 60%
Would It Be Possible To...
« on: Sun, 20 November 2011, 16:19:57 »
...Wire the Led's in the switches in such a way that they light up when the key is pressed?

Offline pitashen

  • Posts: 1200
Would It Be Possible To...
« Reply #1 on: Sun, 20 November 2011, 16:36:24 »
I don't think it is impossible as long as you got the know how and skills. A separate circuit board to regulate/control the lights would probably needed at the least.
\\\\ DSI Mac Modular Keyboard (Brown) w/ Leo  Blank Keycaps //
\\\\ Leopold 87keys Keyboard (Brown) w/ Black CherryCorp + SP DoubleShots //
\\\\ Filco Majestouch 2 NINJA (Black) w/ White CherryCorp + SP DoublsShots //

Offline F u r u y á

  • Posts: 427
Would It Be Possible To...
« Reply #2 on: Sun, 20 November 2011, 19:22:15 »
Now we'll be only missing olfactible and gustable feedbacks :)
Filco 91 | Filco 87* | Filco 105 | PLU 87 | PLU 87 | Cherry 120 | Cherry 120
*

Offline Lethal Squirrel

  • Thread Starter
  • Posts: 460
  • Location: Michigan
  • I <3 60%
Would It Be Possible To...
« Reply #3 on: Sun, 20 November 2011, 20:25:49 »
xD exactly what I was thinking.

I wonder how it would be possible to taste each keystroke

Offline F u r u y á

  • Posts: 427
Would It Be Possible To...
« Reply #4 on: Sun, 20 November 2011, 20:36:46 »
good question, maybe chewing gum that releases flavor at the keystroke?

typing at 150wpm would be an explosion of flavors :P
Filco 91 | Filco 87* | Filco 105 | PLU 87 | PLU 87 | Cherry 120 | Cherry 120
*

Offline mich

  • Posts: 156
Would It Be Possible To...
« Reply #5 on: Mon, 21 November 2011, 01:34:41 »
Connect backlight LEDs (maybe in series with some resistors) where NKRO diodes are supposed to be connected and you are done.

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Would It Be Possible To...
« Reply #6 on: Mon, 21 November 2011, 03:30:54 »
Quote from: mich;456590
Connect backlight LEDs (maybe in series with some resistors) where NKRO diodes are supposed to be connected and you are done.
This is it. I was going to say to wire them in series with the switch, so that pressing the switch (and completing the circuit) turns on the diode, but this is effectively the same.

Problems include:
not enough current
putting two switches on at the same time will halve the brightness (depending on switch location, etc)
Voltage drop/impedance matching (I suspect this won't be an issue if you just replace the NKRO diodes)

Offline rodtang

  • Posts: 82
Would It Be Possible To...
« Reply #7 on: Mon, 21 November 2011, 04:22:34 »
Depends on what swtiches you are thinking about doing it to.

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Would It Be Possible To...
« Reply #8 on: Mon, 21 November 2011, 08:55:03 »
Quote from: rodtang;456624
Depends on what swtiches you are thinking about doing it to.
What do you mean? I would imagine it's more a matter of what board layout and controller you have than the switches. I guess it wouldn't work for capacitive ones, but it should be the same concept for any NO SPST keyswitches.

You could even do it with NC ones, though it'd be harder.

Here's an idea. The switch turns a transistor "on" and that causes the LED to light up. LED is driven by the +5V from the USB hub. You'd want a constant current power regulator for it, or something to deal with the current drop from multiple LED's, but I still see that as the biggest issue for now.

Offline rodtang

  • Posts: 82
Would It Be Possible To...
« Reply #9 on: Mon, 21 November 2011, 09:58:33 »
If you for example have cherry mx switches you could do some fancy wiring to the switch.

Offline Findecanor

  • Posts: 5040
  • Location: Koriko
Would It Be Possible To...
« Reply #10 on: Mon, 21 November 2011, 12:58:51 »
How about using a separate matrix just for the LEDs and let the µC strobe them (turn on/off really fast) instead of letting them be on all the time.
No extra component per switch. Some more components per line in the matrix and more pins required on the µC.
That would allow you to do lots of fancy light tricks as well. Not straightforward to program the µC, though.

Quote from: F u r u y á;456405
Now we'll be only missing olfactible and gustable feedbacks :)
Wasn't it Apple who had claimed that they had made a lickable interface, already? :-þ
🍉

Offline LEGITBALLIN

  • Posts: 82
Would It Be Possible To...
« Reply #11 on: Mon, 21 November 2011, 18:54:15 »
you wouldnt be ablt to see the key since your finger will be on it
V-tec just kicked in yo\'

Offline dewcorps

  • Posts: 38
Would It Be Possible To...
« Reply #12 on: Mon, 21 November 2011, 20:28:41 »
What about the possibility of taking a ducky, razer, etc with pre-existing backlight, and modifying the driver to have the key light up on press, and then fade to black over the period of two seconds or so?

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Would It Be Possible To...
« Reply #13 on: Mon, 21 November 2011, 21:55:28 »
Quote from: dewcorps;457103
What about the possibility of taking a ducky, razer, etc with pre-existing backlight, and modifying the driver to have the key light up on press, and then fade to black over the period of two seconds or so?
Sure, once you have the light on keypress capability, you can just add a capacitor. You can tune a resistor in parallel with it to get the time right.

Hm, I think I'd rather have it where hitting a key "add's" it to the lights on, and you can have a bigger capacitor right at the powersupply, then it'll fade continuously until a key is pressed again. You can then connect a potentiometer to it and control the delay.

Or, once you have the delay right, some surface-mount capacitor and resistor you can have keys fade individually. It'd be pretty awesome.

Offline Lethal Squirrel

  • Thread Starter
  • Posts: 460
  • Location: Michigan
  • I <3 60%
Would It Be Possible To...
« Reply #14 on: Mon, 21 November 2011, 22:42:40 »
guys, let me explain a bit more what I am trying to accomplish.

Basically. I want to make it so when the key is pressed the light turns on, then when the key is released the light turns off. not a toggle, but a momentary light I guess you could call it (i don't know the electrical terms well)

I'm not sure if you guys thought that's what I meant or not, but that is what I plan on trying.
I was going to get the translucent keys from the group buy. the ones that look like normal black keys when there is no light shining through them. i was going to attempt this mod on my black widow.

i just wanted to know if it was technically possible without addition circuit boards, without me tearing up the keyboard first.

Offline nar

  • Posts: 254
  • Location: Tokyo
Would It Be Possible To...
« Reply #15 on: Wed, 23 November 2011, 08:59:28 »
I've been wanting a keyboard like that for my fighting games ever since I saw the Beatmania IIDX arcade cabinets that have keys that do that.

I know there a ton of tutorials on how to do this for arcade sticks, but those are just either wiring the leds to the switch contacts or to a separate controller.
In fact, the easiest way would probably be to wire all the leds to a controller and have it independent from the actual keyboard and use software to tell the controller what key was pressed. Or possibly you could hook that controller up to one of those DIY PS/2 USB converters and have everything done in firmware. Either way, you'd have to wire every single key's LED.

If a keyboard had lighting that was customizable at a key level, I assume you could just hack the driver and implement everything in software. Not sure there is any keyboard like that though.
Keyboards: Topre HE0100 | REALFORCE 103UB & 104UB-DK | FILCO Majestouch 2 Ai Cherry MX Blue | CHERRY G84-4101SPAUS

Offline funkymeeba

  • CRUMPULAR
  • Posts: 406
  • Location: Colorado
  • WEST SHINJUKU PLANTING TUNE
Would It Be Possible To...
« Reply #16 on: Wed, 23 November 2011, 14:16:07 »
This is a pretty neat idea. A friend and I have some ideas on how we could go about doing something like this. I might buy myself a numpad with whatever MX switches on it to play around with. If I end up doing this and good progress is made, I'll be sure to share it.

Although now that I think about it, using a separate PCB and making it software controlled could create some interesting possibilities. It's something I'd be interested in looking into.
Quote
17:15 < vun> these are the healthiest crisps I've ever come across
17:16 < vun> mostly because I can't get the bag open

meebcats - my bad music

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Would It Be Possible To...
« Reply #17 on: Wed, 23 November 2011, 20:25:35 »
Quote from: ripster;457173
Possible but not as simple as wiring in series with the switch contacts.  In fact it'll be a real PITA.

Why not? Is the voltage drop across the diode an issue?

Offline mich

  • Posts: 156
Would It Be Possible To...
« Reply #18 on: Thu, 24 November 2011, 07:20:31 »
I've just measured some old BTC keyboard controller I had laying around. Unfortunately ripster is right - the scanning pull-ups are way to week to drive a LED, they only pass about 1μΑ of current. That is, at least in this particular keyboard, but in others probably too.
« Last Edit: Thu, 24 November 2011, 07:25:29 by mich »

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Would It Be Possible To...
« Reply #19 on: Thu, 24 November 2011, 23:25:51 »
Quote from: mich;458709
I've just measured some old BTC keyboard controller I had laying around. Unfortunately ripster is right - the scanning pull-ups are way to week to drive a LED, they only pass about 1μΑ of current. That is, at least in this particular keyboard, but in others probably too.
Ah, that makes sense.

@ripster, I just put the multimeter in amps mode, and bridged a keyswitch. I'm am empiricist, so naturally I don't believe you. Luckily, I have the equiptment to test it.

Also, I doubt 1 microamp is enough to flip a transistor accurately enough, so you probably can't really do that ether.
---
Right, so I'm seeing one of those large teensy's. You just have the LED's wired into the Teensy, and have it flip them off and on when the right key is pressed. You'd even be able to do duty cycle, fading, etc.
Drill small holes in the PCB where the LED should go, then solder jumper wires to the extra Teensy pins.
---
Hmm, can you have a teensy interpreter, that "intercept's" the signal the normal keyboard is putting out, reads which key is pressed, and lights the proper LED based on that information?