geekhack

geekhack Projects => Making Stuff Together! => Topic started by: alaricljs on Mon, 30 January 2012, 13:07:18

Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 30 January 2012, 13:07:18
First discussion point:  I can't find an antonym for Phantom, so I was looking at synonyms for light.  I couldn't even name my own children if not for my wife, so I'll leave the discussion to you, the interested.

2nd point:  Back in July/August I saw this mod (http://geekhack.org/showwiki.php?title=Island:19096) here on GH and endeavored to duplicate it as a clean PCB design for the Filco 87 case.  siberx had plans for his design so I had to go it mostly alone with a little component choice assistance from him.  I have the PCB design fab ready, and have a small LED test board to test software design.  Never got around to the software to validate my components, so that's where it stands.

I got in touch with siberx and it turns out he's pretty close to open-sourcing the project which means we'll be able to piggy-back his hard work on the software side (and maybe even invalidate my component choices).  Either way it looks like this is a good candidate for the next KB kit to be available here.  Perhaps we can lean on litster's acrylic case designs for even more LED goodness.

Consider this an ADVANCED soldering project as the LED controller chips and the diodes I've chosen are surface mount devices (SMD).  It would likely be impossible to do this type of design without surface mount parts as there is a huge amount of traces and both sides of the board are well used for this.  I'm also interested in moving to integrating the MCU into the keyboard.  My biggest issue with that is losing the rather awesome halfkay bootloader that is only available with the teensy.

I'm also interested in including the CMStorm case design, if there are any owners that are willing to take certain measurements inside their KB that would help.


tl;dr -  87 key backlit design with individually controllable LEDs using SMD components.



Things people are interested in:
104 key design
87 key design
fit into a 'cheap' case  (g80-3000 for instance)
individually controlled LEDs
no SMD OR SMD done by the PCB factory
integrated MCU
N-key diodes (isn't this a given?)
plate not required (PCB mount switch holes)

the ever-requested trackpoint
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 30 January 2012, 13:18:54
Ok. I think we should name it Hazeluff. Just cos I'm so awesome.

Edit: Name ideas - Lux?

Anyway, quick things I wanna put down (since I should just finishg my lab and go home).

I think the basic concept is a TKL/7Bit layout with fully controllable LEDs.

I understand that to get everything on one board, we're going to need to do surface mount components (I hate them). But I think we can make a compromise and use discrete components. What I have on my mind right now is to have something like the Phantom board and then just put holes/mounts on the PCB just so the LEDs go through to the other side. And then wire them up using copper wire (less elegant, but is easier to solder and would allow for way more people to participate). Then use the larger Teensy so we control the Keyboard and LEDs off the same controller. (I think it might still need an extra circuitry to control the 100 or so LEDs, but the phantom on the smaller controller uses all the pins already)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Mon, 30 January 2012, 13:45:59
I did something of possible interest in my design - the diodes are SMD as you mentioned, but so are the LEDs. Because it's a matrix design, I threw an LED into the intersection of each 4 key cluster, and wired it together with the LEDs inside the switch. The wiring is such that I can control with a series of simple dip switches as to which LEDs the current goes, the in-switch or SMD intersection. The reason as to why I did this is that the SMD LEDs would provide good backlight even if one uses caps that are entirely not intended for backlight purposes.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Mon, 30 January 2012, 14:04:42
I was thinking that a design like this would benefit from a special keycap.  Something that would allow light pass up from the diode, but diffuse across the whole top of the cap.  If only these Cherry caps were translucent instead of just glow-in-the-dark.

[ATTACH=CONFIG]39043[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 30 January 2012, 14:08:49
Quote from: Parak;503366
The reason as to why I did this is that the SMD LEDs would provide good backlight even if one uses caps that are entirely not intended for backlight purposes.

Nice, but not compatible with a plate, I and others are somewhat partial to plates.

Quote from: digitalleftovers;503385
I was thinking that a design like this would benefit from a special keycap.  Something that would allow light pass up from the diode, but diffuse across the whole top of the cap.  If only these Cherry caps were translucent instead of just glow-in-the-dark.

(Attachment) 39043[/ATTACH]

It would be rather awesome if DS keys were done such that the symbol was clear and had a sufficient amount of under-key exposure.... it doesn't seem that anyone is going in that direction tho.

Those particular keys look like the ones with paper legends under plastic caps and they just used non-clear caps.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Mon, 30 January 2012, 14:19:01
Quote from: alaricljs;503389

Those particular keys look like the ones with paper legends under plastic caps and they just used non-clear caps.

The key article I pulled them from said that part of it was rubber, so I think it is just a glow rubber topper to the standard 2 piece cherry caps.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Mon, 30 January 2012, 14:52:24
Quote from: hazeluff;503334

Edit: Name ideas - Lux?


GeeLux?

:rofl:
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Mon, 30 January 2012, 15:33:26
Quote from: Parak;503442
GeeLux?

:rofl:

+1
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 30 January 2012, 17:53:33
Quote from: Parak;503442
GeeLux?

:rofl:

Why the Gee?

GEEkhack?

In which case GLux would be better imo. So Ghetto.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Tue, 31 January 2012, 00:47:36
I want a backlight phantom with full numpad on right and possible a trackpoint. And lets try to come up with a layout that pleases as many people as possible and one or two other variants to cove 90%+.  Also a cheap cost effective but nice looking case for it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 31 January 2012, 05:27:35
Quote from: TheProfosist;503973
I want a backlight phantom with full numpad on right and possible a trackpoint. And lets try to come up with a layout that pleases as many people as possible and one or two other variants to cove 90%+.  Also a cheap cost effective but nice looking case for it.

Yeah, maybe we should poll people's opinion on functions/requirements.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 01 February 2012, 00:27:08
full 104 keys
fits in cheap g80-3000 cases
LEDs - inside the switches
n-key rollover - diodes next to the switches
PCB mount holes - for if no plate is wanted

This should cover all but the tenkeyless crowd right? But then they already have a phantom.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 01 February 2012, 14:00:53
Quote from: The_Ed;504992
full 104 keys
fits in cheap g80-3000 cases
LEDs - inside the switches
n-key rollover - diodes next to the switches
PCB mount holes - for if no plate is wanted

This should cover all but the tenkeyless crowd right? But then they already have a phantom.

LED in the switches? you mean a LED per switch as in awesome awesome lighting LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 01 February 2012, 16:46:03
The PCB should have the traces for you to put LEDs inside of the switches.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 01 February 2012, 20:41:19
Quote from: The_Ed;505606
The PCB should have the traces for you to put LEDs inside of the switches.

You mean where theres a slot on the switch for the LEDs. Not physically inside the switch compartment...right?

If so, Agreed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 01 February 2012, 20:46:27
I mean you open up the switch and put a 3mm LED inside. The PCB has the traces to give it power.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 01 February 2012, 20:48:20
Er, classically speaking a properly installed Cherry keyswitch LED is not inside the switch.  There is a pass through hole in the switch that you seat the LED into and solder it to the PCB.  But now we're just flogging semantics.  It would be interesting tho to have a clear switch housing/stem assembly to make the light more even across the keycap.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 01 February 2012, 20:51:56
Yeah, I just looked at a housing now. It is 2 thirds blocked by plastic so the LED would be on top with the wires through the switch. Guess I was thinking of diodes when I said to open it up and put it inside.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 10:40:49
Quote from: The_Ed;505835
Yeah, I just looked at a housing now. It is 2 thirds blocked by plastic so the LED would be on top with the wires through the switch. Guess I was thinking of diodes when I said to open it up and put it inside.

okok. Now that is cleared. Yeah. Just have the holes to mount the LEDs on the backside (no routing, since you probably couldn't route LED power and switch matrix on one PCB).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 02 February 2012, 11:32:26
There should be no problems at all with routing both the switch and the led matrix, even when diodes and pcb mounted switches are taken into account. Granted, the diodes might need to be smd mounted. Additionally, there's little reason for thick traces (that I know of) which obviously hamper routing severely. Signal traces, which is what the switch matrix uses, can be 8 or even 6/4 mil (depending on fab capability/pricing). Even relatively higher current LED traces don't need to be thick, depending on total length of the trace.

One would want a thick trace if there is a possible need to solder directly to the trace or for high currents, where the required width can be easily calculated. I'd rather have thin traces in this scenario, and if I ever happen to lift a pad while soldering, I'd just run a regular wire to the destination.

Anyway, as far as the layout is concerned, I do have a few ideas to throw around, but I can't find what people use to create the layout examples for visualization purposes..
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 11:39:26
I'm working on producing a nice looking render of the PCB, but as I mentioned I have an 87key backlit PCB design already completed.  With full trace routing for all the parts involved.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 11:44:47
Quote from: Parak;506414
There should be no problems at all with routing both the switch and the led matrix, even when diodes and pcb mounted switches are taken into account. Granted, the diodes might need to be smd mounted. Additionally, there's little reason for thick traces (that I know of) which obviously hamper routing severely. Signal traces, which is what the switch matrix uses, can be 8 or even 6/4 mil (depending on fab capability/pricing). Even relatively higher current LED traces don't need to be thick, depending on total length of the trace.

One would want a thick trace if there is a possible need to solder directly to the trace or for high currents, where the required width can be easily calculated. I'd rather have thin traces in this scenario, and if I ever happen to lift a pad while soldering, I'd just run a regular wire to the destination.

Anyway, as far as the layout is concerned, I do have a few ideas to throw around, but I can't find what people use to create the layout examples for visualization purposes..

I would prefer not to use surface mount components. They are a pain to solder (turns away the soldering-noobies, which I think should be cattered for).

I was worried about the number or traces needed, but perhaps you could do it still.

I'll have a look and see what people are using for board layout
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 11:47:45
Quote from: alaricljs;506416
I'm working on producing a nice looking render of the PCB, but as I mentioned I have an 87key backlit PCB design already completed.  With full trace routing for all the parts involved.

Is that with a teensy as the controller and could it cater a 7bit layout? (I love 7bit layout or at least the arrow/home cluster).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 11:56:25
Yes on the teensy, no on the 7bit.  The teensy is located in the area above the arrow cluster.  If the MCU were integrated to the PCB then it could get stuffed either under the spacebar or possibly by the F-keys.  The F-Key area is stuffed with traces and the LED control components.

The issue with using through-hole for all the diodes is all those holes disrupting trace layout.  I haven't tried it, so it may work.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 02 February 2012, 12:06:31
Quote from: hazeluff;506421
I would prefer not to use surface mount components. They are a pain to solder (turns away the soldering-noobies, which I think should be cattered for).

I was worried about the number or traces needed, but perhaps you could do it still.

I mentioned this in another thread previously, but there are PCB shops which will quite happily do SMD assembly for you at very reasonable prices, including component sourcing, and then you just need to solder the through hole stuff yourself. So, I'm not particularly worried about SMD components in that regard, especially if we do the controller onboard.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 13:50:58
Quote from: Parak;506432
I mentioned this in another thread previously, but there are PCB shops which will quite happily do SMD assembly for you at very reasonable prices, including component sourcing, and then you just need to solder the through hole stuff yourself. So, I'm not particularly worried about SMD components in that regard, especially if we do the controller onboard.

That sounds amazing.

So I am now in a agreement with surface mount things if the sellers of the PCB will assemble the diodes.

If so, I dont' think it'd be hard to remake alaricljs design to fit a "7bit" layout? Or maybe we should go for a full layout since we have DOX (small layout) and PHANTOM (TKL/7Bit layout) already. If so, we should have plenty of room to put down the teensy right above the number pad?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 14:36:30
So if I have this straight these are the new specifications:

full 104 key layout
fits in cheap cases - possibly g80-3000
LEDs - leads go through the switches and solder to the board
n-key rollover - diodes next to the switches - possibly SMD and possibly already installed (that would be awesome)
PCB mount switch holes - for if no plate is wanted
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 14:44:50
Quote from: The_Ed;506556
So if I have this straight these are the new specifications:

full 104 key layout
fits in cheap cases - possibly g80-3000
LEDs - leads go through the switches and solder to the board
n-key rollover - diodes next to the switches - possibly SMD and possibly already installed (that would be awesome)
PCB mount switch holes - for if no plate is wanted

Yeah sounds pretty much like what I want. Not sure about fitting in cheap cases if we have some LED drivers. But yeah, sounds about right.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 14:46:53
Well the only thing that has been agreed on in general is that it be a backlit KB and that the LEDs be individually controlled.  Everything else is being discussed.  

I do know that whatever anyone else wants to do I'll be moving forward with an 87 key version that will fit in a Filco case and likely put in the work to make it compatible with the CMStorm cases as well.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 14:57:52
Quote from: alaricljs;506563
Well the only thing that has been agreed on in general is that it be a backlit KB and that the LEDs be individually controlled.  Everything else is being discussed.  

I do know that whatever anyone else wants to do I'll be moving forward with an 87 key version that will fit in a Filco case and likely put in the work to make it compatible with the CMStorm cases as well.

Why would everybody want to pay for the circuitry to INDIVIDUALLY control the LEDs? The Phantom was tenkeyless, I need my tenkey. This should be the first full 104 customizable keyboard. And I will never buy a filco or CMStorm. The g80-3000 cases are cheap, nice to look at, and have a LOT of extra room inside for the extra circuitry to fit.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 14:58:03
Quote from: The_Ed;506556
So if I have this straight these are the new specifications:

full 104 key layout
fits in cheap cases - possibly g80-3000
LEDs - leads go through the switches and solder to the board
n-key rollover - diodes next to the switches - possibly SMD and possibly already installed (that would be awesome)
PCB mount switch holes - for if no plate is wanted

Yeah sounds pretty much like what I want. Not sure about fitting in cheap cases if we have some LED drivers (not sure how much extra needed for the LED control circuit). But yeah, sounds about right.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 15:05:36
Quote from: The_Ed;506572
Why would everybody want to pay for the circuitry to INDIVIDUALLY control the LEDs? The Phantom was tenkeyless, I need my tenkey. This should be the first full 104 customizable keyboard. And I will never buy a filco or CMStorm. The g80-3000 cases are cheap, nice to look at, and have a LOT of extra room inside for the extra circuitry to fit.


Well, you could watch the vid in the link in the first post and decide whether that's cool to you.  There's plenty of 'normal' backlit 104 key boards you could go for instead.  What is it you want in a custom board that's unique from what's readily available?  Good for you on whatever opinion you have of Filco/CMStorm/Costar.  Personally I don't like full size keyboards and don't like cases that have a ton of extra room in them.  Over in the Phantom thread it was brought up that people were interested in a backlit model I mentioned I had a nearly complete design and this is the discussion thread that came of it.  I was already prepared to do the 87key for myself and if it stays that way, I don't care.  

Quote from: hazeluff;506573
Yeah sounds pretty much like what I want. Not sure about fitting in cheap cases if we have some LED drivers (not sure how much extra needed for the LED control circuit). But yeah, sounds about right.


As the design I have stands it's a tiny bit of SMD circuitry that fits on top of the PCB getting in the way of nothing at all.  The plate could be half the standard distance from the PCB and it would still fit.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 15:24:23
awww... why can't someone do a full 104?... So you're basically just doing a controllable backlit phantom?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 15:42:36
There's nothing stopping someone, it's just that it won't be me.  An enterprising individual can take the files that I'll be releasing and expanding them to 104 keys.  It's dead easy.  I haven't released any files yet since I have no proof that my backlight design works.  I have been unable to work on the software to drive it and we are fortunate enough that the individual that inspired my design is planning on releasing his work in  a few weeks or so.  Just given that much it wouldn't be difficult to put together a brand new design.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 15:55:48
I hope someone does expand to a full 104. I reserve the name "Lux Aeterna" for a full 104 version. The 87 could be "Lux Mortalis".
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 15:58:45
So either way, this is mostly a discussion about what people would like to see in a 'kit'.  So some are interested in 104keys.  Some are interested in a design that will fit into a 'cheap' case.  You still haven't explained what you have for/against individually controlled LEDs, I am interested in hearing that.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 16:00:44
I think it would be cool, but I don't really want to pay for that.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 16:06:36
Quote from: The_Ed;506643
I think it would be cool, but I don't really want to pay for that.

If it can all be done on the PCB it shouldn't mean you'd have to pay for it. The difference between all lit and indivitually controlled is just the routing to the LEDs on the boards.

I'd assume you'd need to drive a ton of LEDs using FETs/Transitors for both cases.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 16:09:41
Oh, in that case I redact my complaints about extra cost. But space inside the case is still a concern right?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 16:13:12
Here's the thing Ed... the 'expensive' part is the design.  In terms of additional component cost it's 2 resistors, 5 diodes and 2 shift registers.  Straight from Mouser in that quantity they cost $4.02.  There's going to be some incremental cost if the fab mounts the SMD components tho.

Besides which, there are additional components required to do a design for 'whole-board' lighting.  I don't have a design like that handy so I don't know what they are, but it would be subtracted from the $4.02.

Is that a reasonable cost for something you're not interested in having?  As a percentage of a Phantom it's <3% added to the cheapest board kit.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 16:31:58
<3% is fine I guess. Maybe I was just thinking of that guy who drilled holes in a regular mech board and had what looked like 2 wires to each LED. He had a HUGE controller PCB addon on the back and had to mod the case for it to fit. The LED mod has been done quite a few ways over the years. Sadly I can't find a picture of that board though... Google has failed me...

Found it!

(http://geekhack.org/attachment.php?attachmentid=39354&d=1328222438)

This is why I was hesitant.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 02 February 2012, 16:57:25
That... that's one way of doing it I suppose... when all you have are dip components and no firmware that can do multiplexing...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: IvanIvanovich on Thu, 02 February 2012, 17:05:19
My personal wish list...
PCB mount, I don't want to have to deal with a plate.
Layout similar to the Apple IIgs keyboard. Or essentially a Poker with a tenkey. Board designed in such a way I can just mount it straight onto acrylic, sort of like the Neo Zelia.
For LED I would like the ability to use RGB led, so I can change color on any key or groups.

I doubt many people would also want this, but there is my 2 cents.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 17:08:39
Theres a better way of doign it. Have you seen LED CUBE mod?

http://www.youtube.com/watch?v=6mXM-oGggrM

For 8 x 8 x 8 = 512 LEDs. It is controlled with 64 + 8 = 72 Leads.

What it does is it abuses human perception by lighting them plane by plane really fast. In our case we can light them row by row really fast.
~25? , not 100. We may need to use a demux external to teensy.

So given that we form the matrix on the PCB we only need like 'row + col' number of lines.

Quote from: lysol;506683
My personal wish list...
PCB mount, I don't want to have to deal with a plate.
Layout similar to the Apple IIgs keyboard. Or essentially a Poker with a tenkey. Board designed in such a way I can just mount it straight onto acrylic, sort of like the Neo Zelia.
For LED I would like the ability to use RGB led, so I can change color on any key or groups.

I doubt many people would also want this, but there is my 2 cents.

Whats wrong with the plate? I don't see what you have to "deal" with. (just asking, not shooting down the idea).

As for RGB LEDs. It will be very complex (3 x the routing/wires). They are 4 pin devices...1 pin per color + gnd. Probably not a good idea for what we're doing. But Would be cool xD
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 17:12:49
Quote from: lysol;506683
My personal wish list...
PCB mount, I don't want to have to deal with a plate.
Layout similar to the Apple IIgs keyboard. Or essentially a Poker with a tenkey. Board designed in such a way I can just mount it straight onto acrylic, sort of like the Neo Zelia.
For LED I would like the ability to use RGB led, so I can change color on any key or groups.

I doubt many people would also want this, but there is my 2 cents.

Having nothing on the bottom of the PCB will let you mount it easily on/in acrylic.  My design has nothing on the bottom, all components are top-mount.  RGB LED is impossible since they don't make 3mm RGBs.

Quote from: hazeluff;506689
Theres a better way of doign it. Have you seen LED CUBE mod?

http://www.youtube.com/watch?v=6mXM-oGggrM

For 8 x 8 x 8 = 512 LEDs. It is controlled with 64 + 8 = 72 Leads.

What it does is it abuses human perception by lighting them one by one really fast.

So given that we form the matrix on the PCB we only need like 'row + col' number of lines.

That is the method that my design uses.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: IvanIvanovich on Thu, 02 February 2012, 17:17:53
RGB are all 4 pin leds and wouldn't work in MX switch anyway. I wasn't really thinking about it... lol. So I suppose some sort of tricks would have to be used. Or be forced to place the led outside the switch which would be somewhat stupid.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 17:21:13
Quote from: alaricljs;506695
Having nothing on the bottom of the PCB will let you mount it easily on/in acrylic. My design has nothing on the bottom, all components are top-mount. RGB LED is impossible since they don't make 3mm RGBs.

Maybe we implement the RGB for the capslock/numlock indicators. But I can't see it going further than that.

Quote from: alaricljs;506695

That is the method that my design uses.

Perfect.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 17:25:38
Quote from: lysol;506698
RGB are all 4 pin leds and wouldn't work in MX switch anyway. I wasn't really thinking about it... lol. So I suppose some sort of tricks would have to be used. Or be forced to place the led outside the switch which would be somewhat stupid.

It would have to be on the side. but to control them all, it would take up a lot of wire/routing. It's a ok idea if you try to use a few and light up thje whole board with them.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Barn on Thu, 02 February 2012, 17:26:27
What about RGB LEDs and a micro controller allowing each key's colour to be customised?


Sent from my iPad 2 using Tapatalk
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 17:32:27
Deja vu?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 17:32:47
There are technically 4 holes in the front of the switch so you could bend the side 2 into them. As to whether there are 3mm RGB I could swear I've seen them somewhere. But they weren't cheap...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 17:33:34
The 3mm LEDs that claim to be RGB do not have external control of the RGB, they cycle on their own.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Thu, 02 February 2012, 18:02:23
Quote from: Barn;506708
What about RGB LEDs and a micro controller allowing each key's colour to be customised?


Sent from my iPad 2 using Tapatalk

looks like teensy 2.0 only has 5 PWM pins (? correct me if I'm wrong).  Is there are a better choice (anything feasible) for this purpose?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 18:07:14
Quote from: digitalleftovers;506725
looks like teensy 2.0 only has 5 PWM pins (? correct me if I'm wrong).  Is there are a better choice (anything feasible) for this purpose?

Probably not many other ways you can use them, but you can't control that many things off of the 5 pins.

Can't even control 2 RGB LED's (full color control) with 5 pins...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 18:29:51
Quote from: lysol;506683
My personal wish list...
PCB mount, I don't want to have to deal with a plate.
Layout similar to the Apple IIgs keyboard. Or essentially a Poker with a tenkey. Board designed in such a way I can just mount it straight onto acrylic, sort of like the Neo Zelia.
For LED I would like the ability to use RGB led, so I can change color on any key or groups.

I doubt many people would also want this, but there is my 2 cents.


Im up for the "Poker withe  Tenkey" but minus the Pokers layout and have the Home system Cluster be toggleable with the numpad. I believe I threy together a TKL idea like that for WASD. Though I dont know if that is going anywhere...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 18:31:39
also the teensy can fit under the spacebar with finagling thats is what is currently being pursued with the DOX.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 18:39:47
I'm not so keen on that layout. I like the classic ones.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 18:47:57
Quote from: hazeluff;506759
I'm not so keen on that layout. I like the classic ones.

classic ones? if your referring to the poker I hate its layout 2 I will never buy one and would never use the layout with something like this.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: IvanIvanovich on Thu, 02 February 2012, 18:58:02
Thats pretty much what I was thinking of as well. I really like my Pokers, but the 2nd layer does suck. So tack on a numpad to solve that as you then regain the keys with out making it too much larger. Plus you get a numpad too, which a lot of people can't live without. I see no purpose for the redundant nav cluster at all. F-keys are debatable. If adding f-keys i would just assume stack them right on top of the numeric row like the Choc mini, instead of having a space in between to keep it sleeker.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:05:33
Quote from: lysol;506780
Thats pretty much what I was thinking of as well. I really like my Pokers, but the 2nd layer does suck. So tack on a numpad to solve that as you then regain the keys with out making it too much larger. Plus you get a numpad too, which a lot of people can't live without. I see no purpose for the redundant nav cluster at all. F-keys are debatable. If adding f-keys i would just assume stack them right on top of the numeric row like the Choc mini, instead of having a space in between to keep it sleeker.
You could then do what they did with the realforce numpad and put some useful keys up there...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 19:06:16
I mean I like full 104 layout the most.

Don't like the Function keys removed. I don't mind it being stacked right above. But didn't someone say they wanted to use like a cheap case. In that case It would be better to use normal full-layout.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:08:56
Quote from: hazeluff;506787
I mean I like full 104 layout the most.

Don't like the Function keys removed. I don't mind it being stacked right above. But didn't someone say they wanted to use like a cheap case. In that case It would be better to use normal full-layout.
I like the function row for many things and you can on the fn layer make the 13-24 to have lots of resignable keys
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 19:09:19
Uh yeah, so where are those cheap cases found?  Someone had said g80-3000 and I go to ebay and look to see the cheapest is $90.  Errr wha?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 19:11:12
Hey I just thought of another thing to add to a 104 version. MEDIA KEYS! Right above/below the 3 "lock" LEDs. They would be microswitches like in a mouse, and a potentiometer? knob for volume!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:11:18
Quote from: alaricljs;506790
Uh yeah, so where are those cheap cases found?  Someone had said g80-3000 and I go to ebay and look to see the cheapest is $90.  Errr wha?
Might as well use a barebones WASD then....
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: IvanIvanovich on Thu, 02 February 2012, 19:12:12
You can get g81-3000 for like $20 a lot of times. I don't like those though, they are WAY bigger than necessary. Might be smarter to make it fit in a $5 logitech shell.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:12:43
Quote from: The_Ed;506791
Hey I just thought of another thing to add to a 104 version. MEDIA KEYS! Right above/below the 3 "lock" LEDs. They would be microswitches like in a mouse, and a potentiometer? knob for volume!

you can easily put meadia keys in any layer or are you trying to not have any layer which i think is pointless as that is the main reason i like custom keyboards...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 02 February 2012, 19:13:12
Volume knobs for media control are actually just rotary encoders or even more simple a mechanical arrangement that pulses 2 different switches depending on direction.  The signal to the computer is just Vol+ and Vol-, not Vol NN or Vol %%  :(   So no pot needed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 19:18:35
g81-3000 cases are the same as g80-3000 cases. And you can get them for cheaper than $20. I know the knobs aren't potentiometers, but I just can't think of what the name for that knob is at the moment. Why would you want less keys on a custom keyboard? The more keys the better, I don't have to constantly push modifiers then.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:24:21
Quote from: The_Ed;506801
g81-3000 cases are the same as g80-3000 cases. And you can get them for cheaper than $20. I know the knobs aren't potentiometers, but I just can't think of what the name for that knob is at the moment. Why would you want less keys on a custom keyboard? The more keys the better, I don't have to constantly push modifiers then.
Find a termainal keyboard case for a reasonable price then should fit you perfectly!

That is not what I am looking for at all. I would like to plan a keyboard that is close to a default layout so its reasonably close but phases together the home cluster and the number pad and other wasted space to allow more functionality in a smaller space.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 19:25:32
Quote from: The_Ed;506801
g81-3000 cases are the same as g80-3000 cases. And you can get them for cheaper than $20. I know the knobs aren't potentiometers, but I just can't think of what the name for that knob is at the moment. Why would you want less keys on a custom keyboard? The more keys the better, I don't have to constantly push modifiers then.

For a TKL/Compact (even smaller). We are trying to get all the functionality  of a full-size onto a keyboard that is smaller. But for a full layout, it pretty much has what everyone needs, but for adding even more keys just for volume and media keys, I don't think it's worth it.

I like the volume nob, but I think that would be better off as another mod that was like a Headphone + Mic + USB hub.

Quote from: TheProfosist;506807
That is not what I am looking for at all. I would like to plan a keyboard that is close to a default layout so its reasonably close but phases together the home cluster and the number pad and other wasted space to allow more functionality in a smaller space.

Pretty much sums what I feel. But I don't agree with packing them closer. Tho thinking of it, we would get a few more keys on the function row. And maybe fill the 5 slots under the home cluster.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 19:29:15
Hey TheProfosist you've had my moogle2 capslock in your possession for 67 days now... When is it ever going to get done? I got a vintage cherry unstepped capslock and modded it my self a while ago because I was tired of waiting. I want to be able to compare our modding. Here's mine:

(http://geekhack.org/attachment.php?attachmentid=38810&d=1327717523)

Interesting... it looks like you PMed me while I was typing this. Well I hope it'll finally be in my hands soon.


Edit by TheProfosist: sorry, it is drying right now.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 19:32:15
I think adding another column onto the home cluster is necessary to get a proper numpad other wise were basically making a backlight Phantom 7bit using my layout as a reference....
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 19:35:39
Quote from: TheProfosist;506814
I think adding another column onto the home cluster is necessary to get a proper numpad other wise were basically making a backlight Phantom 7bit using my layout as a reference....

Wait you're thinking of like TKL + one column?. I'm thinking Full layout. @_@
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 19:37:31
It looks like 104 is a no-go on this thread... WHY?!!!...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 20:01:10
Quote from: The_Ed;506820
It looks like 104 is a no-go on this thread... WHY?!!!...

Its a go with me ><

I mean since we've gotten the other 2 common layouts, we should have a 104 layout.

@Profosist: Why would you want PHANTOM + 1 Column. Its hardly any difference from the phantom...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 20:09:47
People always complain about "wasted space"... So does that mean everybody has a 2 foot wide cubicle for their computer at home? It is about time a full 104 custom keyboard was designed! Hey... Here's an idea... How about a separate numpad PCB that you only order if you want a full 104? You just push the plug between the 2 PCBs together!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 20:15:54
Quote from: The_Ed;506834
People always complain about "wasted space"... So does that mean everybody has a 2 foot wide cubicle for their computer at home? It is about time a full 104 custom keyboard was designed! Hey... Here's an idea... How about a separate numpad PCB that you only order if you want a full 104? You just push the plug between the 2 PCBs together!

It could work, Tho the cheapest way would be to use wires to hook them up. The main thing good about the 104 is that it gives us the room to put in the extra stuff we need for the lighting and the teensy(?).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 20:18:33
Wires are fine. And there could also be an optional media key PCB. The space and price issues are why I say the g80/g81 -3000 cases are the best option.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 20:22:33
Quote from: The_Ed;506839
Wires are fine. And there could also be an optional media key PCB. The space and price issues are why I say the g80/g81 -3000 cases are the best option.

Thing is, when we separate the two, we need to find a way to keep it stable in the case. I believe we should stick to just a normal 104 layout, and try to integrate the fully controllable lighting.
Keep things general and applicable to more people.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 20:30:33
Quote from: hazeluff;506819
Wait you're thinking of like TKL + one column?. I'm thinking Full layout. @_@

now im confused!

Quote from: The_Ed;506820
It looks like 104 is a no-go on this thread... WHY?!!!...

seems like hazeluff wants one...



how about a 104+ like shifty the Fn over fill up the emptiness by the arrows and add some above the numpad? I think it would be easy to mod a WASD case to do that.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 20:31:43
I also want a custom numpad with tons of additional functions that idea has been floating around in my head but that would be a separate project.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 20:37:51
So if I have this straight a 104+ will have:
104
+ 5 keys around the arrows
+ 4 more keys above the numpad with the 3 "lock" LEDs directly above those
+ media keys and knob in the center above the F keys

I'd have to cut a lot of extra holes in a -3000 case for those extra keys...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 20:44:50
Quote from: The_Ed;506851
So if I have this straight a 104+ will have:
104
+ 5 keys around the arrows
+ 4 more keys above the numpad with the 3 "lock" LEDs directly above those
+ media keys and knob in the center above the F keys

I'd have to cut a lot of extra holes in a -3000 case for those extra keys...

if you  shrink the F rom you get 2 more keys and a easyier layout as it matches up with the num row...

and the only new hole you would have to make would be the one for the 4 above the numpad. the ones above the arrows just connect the home cluster to the arrows which is easy. ill have to do that on my PLU cases for the 7bit layout to work, as well as cutting out the bits between the F row keys

you dont need the separate media keys just use some of the ones that got added...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 20:49:10
Ah I could use those keys, but what about the volume knob? Where does that go?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 20:57:21
Quote from: The_Ed;506863
Ah I could use those keys, but what about the volume knob? Where does that go?

I dont know mine is on my DAC ;)

You could use keys for that as well...  but if you really want a knob you could get one of those griffin powermate's im just not keen on having a knob on a keyboard.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Thu, 02 February 2012, 21:05:48
A design like this would give you room for EVERYTHING
[ATTACH=CONFIG]39393[/ATTACH]

For people who want 'WEY' to much stuff on their keyboard?  amiright?

Sorry, I couldn't resist.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 21:07:51
For the volume nob thing, I'd love to have a media control box. but not on this keyboard. May start idea for that, its a simple mod, I wouldn't use a teensy.

As for the the keyboard design to allow for keys above arrow and above numpad, I an in agreement. (unless we can't fit all the lighting circuitry). But definitely should allow for the 5 keys above arrow keys.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 21:09:06
Quote from: digitalleftovers;506881
A design like this would give you room for EVERYTHING
(Attachment) 39393[/ATTACH]

For people who want 'WEY' to much stuff on their keyboard?  amiright?

Sorry, I couldn't resist.

TOO MUCH!!! OMG..WAIT.

ITS A SCREEN OMG I CAN LOOK AT YOUTUBE ON MY KEYBOARD!!! I WANT ONE!.

Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 21:10:32
Quote from: digitalleftovers;506881
A design like this would give you room for EVERYTHING
(Attachment) 39393[/ATTACH]

For people who want 'WEY' to much stuff on their keyboard?  amiright?

Sorry, I couldn't resist.

I think it would be kind of fun to have the top one I do think they could have fit more keys.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 21:13:05
we could do a nice programmable touch screen there....
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 21:13:37
I have klipsch 2.1 computer speakers and Sennheiser HD 650 headphones that plug into a FiiO E7/E9 DAC/AMP combo. I myself do not need the volume knob, my dad does. And he already owns a griffin powermate because I had suggested that to him. For future computer builds I may need the knob myself too. That is why it would be cool to have it. Plus there are quite a few people that complain about not having the media keys/volume knob on most mechs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 21:17:10
Quote from: The_Ed;506895
I have klipsch 2.1 computer speakers and Sennheiser HD 650 headphones that plug into a FiiO E7/E9 DAC/AMP combo. I myself do not need the volume knob, my dad does. And he already owns a griffin powermate because I had suggested that to him. For future computer builds I may need the knob myself too. That is why it would be cool to have it. Plus there are quite a few people that complain about not having the media keys/volume knob on most mechs.

I see. Can we design a media/full controllable LEDs keyboard? But the knob...someone needs to find a simple way of adding it to the board.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 21:24:41
Just put a small knob where 1 of those "extra" key spaces are. And we could have a firmware thing to make the LEDs respond in a spectrograph to music!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 21:33:50
Quote from: The_Ed;506903
Just put a small knob where 1 of those "extra" key spaces are. And we could have a firmware thing to make the LEDs respond in a spectrograph to music!

If we input music into the controller...

As for the knob, it probably fit in one of the "spaces". But someone will have to figure out how the know the knob works and how to mount it themselves. If it can act like 2 switches (one for Vol+ and one for Vol-) and we can hook it to the board as 2 "switches".
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 02 February 2012, 21:35:38
Take apart a griffin to figure it out right?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 21:37:08
Quote from: The_Ed;506916
Take apart a griffin to figure it out right?

Don't have to, just need to find what kind of knob it is and how it interfaces with circuitry.

http://hackedgadgets.com/2010/02/01/rotary-encoder-and-shift-registers-explained/:

It spits out grey code for the "position" it is in.

So you'd have to make something in the controller that keeps track of the position and when it changes Inc/Dec the volume. It is possible. You just need to mount it nicely.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 23:34:04
No knob for me please.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 23:41:13
Quote from: TheProfosist;507025
No knob for me please.

No worries, if we do go with the keys abuv numpad. The nob person can put it there instead of 2 switches.

And even without it he can wire it to the area above arrows.

I'm considering a knob for myself now...@_@ I've got a couple of the nice know peices that go on the spinny bit.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 02 February 2012, 23:45:00
Hmm.. I'm kinda tempted to craft this madness (cobbled together in a spreadsheet in a few minutes):

[ATTACH=CONFIG]39405[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 02 February 2012, 23:51:13
Quote from: Parak;507036
Hmm.. I'm kinda tempted to craft this madness (cobbled together in a spreadsheet in a few minutes):

(Attachment) 39405[/ATTACH]

Ahhhh. Left handed numpad. Do not want. (left hander here, but use right hand for numpads).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Thu, 02 February 2012, 23:54:49
my left hand is not that capable sadly.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 03 February 2012, 00:00:52
Yes, an optional knob you can buy that solders to any 2 switch squares. It would have a mini 2x PCB on the bottom that had pins in the same place as mx switches. You just pop it in the board and solder it like any regular mx switch.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Fri, 03 February 2012, 00:05:30
Considering how infrequently I personally use a numpad, I'd rather have a shorter reach of a TKL to the mouse. I still need a numpad however for a few things, so that's why I put it on the left. I also consider full remapping, layers, and macros to be a functional requirement, so the left hand keypad would most of the time serve as a hotkey macro area for games and the like.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Fri, 03 February 2012, 00:06:49
Quote from: Parak;507055
Considering how infrequently I personally use a numpad, I'd rather have a shorter reach of a TKL to the mouse. I still need a numpad however for a few things, so that's why I put it on the left. I also consider full remapping, layers, and macros to be a functional requirement, so the left hand keypad would most of the time serve as a hotkey macro area for games and the like.

I think it might be interesting to have that functionality on the right and left at the same time
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Fri, 03 February 2012, 00:09:43
Quote from: TheProfosist;507057
I think it might be interesting to have that functionality on the right and left at the same time

Right, with full programmability there's no reason why the two could not be interchanged, with the exception of the 1.5 keys. One possibility is to make both sides a 3x6 or 4x6 block of 1x1 keys, and then go to town, though for heavy numpad users having 1.5 keys would be more convenient.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 03 February 2012, 00:14:03
tyrannosaurus rex arms? My arms sit comfortably on the armrests of my chair. My left hand is directly on the wads, while my right is directly on my mouse. If I had a tenkeyless there would be a tenkeyless sized gap between my mousepad and keyboard. How in any way is there any less reaching on a tenkeyless?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Fri, 03 February 2012, 00:53:30
Quote from: The_Ed;507064
tyrannosaurus rex arms? My arms sit comfortably on the armrests of my chair. My left hand is directly on the wads, while my right is directly on my mouse. If I had a tenkeyless there would be a tenkeyless sized gap between my mousepad and keyboard. How in any way is there any less reaching on a tenkeyless?

Shrug? It's more convenient for me. YMMV obviously as with any other thing one may prefer about their user interface devices. On that note, I'm sure everyone wants a particular feature or particular design, but let's try to keep in mind that we're talking about projects that require significant time and money for typically negative or no financial gain in return. The projects will therefore first and foremost serve their own creator's wants/needs, especially since it's impossible to please everyone. In short, let's try to keep feedback and suggestions constructive for those that will hopefully make this one a reality.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: digitalleftovers on Fri, 03 February 2012, 02:23:52
Quote from: hazeluff;506919
Don't have to, just need to find what kind of knob it is and how it interfaces with circuitry.

http://hackedgadgets.com/2010/02/01/rotary-encoder-and-shift-registers-explained/:

It spits out grey code for the "position" it is in.

So you'd have to make something in the controller that keeps track of the position and when it changes Inc/Dec the volume. It is possible. You just need to mount it nicely.


That video also nicely addresses most pin count limitations issues, with the use of shift register.  Could be quite handy for doing practically anything with the LEDs
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 02:34:34
Wow... 3 times the posts have gone missing now... I have the diagram drawn hazeluff. I will post it when I have time to scan it. Though this post may go missing too, so It'll be a surprise.

Oh look... pictures work again! So I can finally post the picture of the rotary encoder I bought 4 of, that was referenced in a lost post!

(http://geekhack.org/attachment.php?attachmentid=39408&d=1328517351)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 07:51:30
Damn the rollback went pretty far last night...(also we were hacked =='')

I'll just repost the circuit I had drawn up. And just resummarize:

[ATTACH=CONFIG]39424[/ATTACH]

So the Mechanical Rotary Encoder acts as a mechanical switch.
We use the resistor to make sure that the encoder does not short the voltage at the column pin to ground.
Everything is good. Concept shows that having a knob for volume is possible.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 11:37:30
Here's mine:

(http://geekhack.org/attachment.php?attachmentid=39468&d=1328549763)

Ghosting can happen without those 2 extra diodes. It looks like your diagram is connecting to only one switch trace, and not connected to the circuit at all. And I have no idea why you are putting a resistor in there. The rotary encoders are 2-bit not 1-bit. They need 2 switches for those 2 bits.

Finally broke a hundred posts! Though if that hacker wasn't around i'd have broken it last week.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 12:09:06
Quote from: The_Ed;507353
Here's mine:



Ghosting can happen without those 2 extra diodes. It looks like your diagram is connecting to only one switch trace, and not connected to the circuit at all. And I have no idea why you are putting a resistor in there. The rotary encoders are 2-bit not 1-bit. They need 2 switches for those 2 bits.

Finally broke a hundred posts! Though if that hacker wasn't around i'd have broken it last week.

Ahaha I've lost like 50 posts = ( was almost at 1337 posts.

I only showed one of the bits. There should be two of them on your whole matrix. The resistor stops the encoder from shorting the column pin straight to ground, in essence the way Its hooked up on mine will cause the bits to be inverted, but that is not a problem.

On yours I don't understand why you have Vol up and Vol down labeled. The encoder doesn't pulse 1 for a increment/decriment. It shows the state it is in. It is up to the MCU to interpret whether or not it is an increment or a decrement. Your design using the "Ground" as the 2nd pin of a switch also works. I hope you know the operation, because the Volup and Voldown labels aren't how the encoder is going to work.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 12:23:53
http://www.youtube.com/watch?v=uh27ftADFKo (http://www.youtube.com/watch?v=uh27ftADFKo)

First part shows with LEDs what will be sent to the teensy. Second half should be skipped... The on/off of the LEDs represent the open/closed of the mx switches. 2 bits, 2 switches, and the teensy will send the appropriate volume key code for each full cycle. I have volume up/down labeled because if they are the first to close in the cycle, then that is the direction I will have the volume go. Even though technically it is the combination of the switches that send the appropriate grey code for volume up/down. 2 extra diodes are needed per rotary encoder to prevent ghosting.

I am using diodes and you don't understand me.
You are using resistors and your bits are inverted, whatever that means. And I don't understand you.
As long as they both work everything is fine.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 12:31:22
Quote from: The_Ed;507373
http://www.youtube.com/watch?v=uh27ftADFKo

First part shows with LEDs what will be sent to the teensy. Second half should be skipped... The on/off of the LEDs represent the open/closed of the mx switches. 2 bits, 2 switches, and the teensy will send the appropriate volume key code for each full cycle. I have volume up/down labeled because if they are the first to close in the cycle, then that is the direction I will have the volume go. Even though technically it is the combination of the switches that send the appropriate grey code for volume up/down. 2 extra diodes are needed per rotary encoder to prevent ghosting.

I am using diodes and you don't understand me.
You are using resistors and your bits are inverted, whatever that means. And I don't understand you.
As long as they both work everything is fine.

Yeah, you're good. = P

Waiting for my phantom~

So. Maybe we can get this project rolling soon = p. I need to colaborate the LED stuff with the rest and see what happens.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 12:38:10
I will only join if it is a 104 or 104+. 129 keys can be put into a g80/g81 -3000 case without changing the spacing. 13 below the F-keys, 3 below scroll lock, 5 above the arrows, 4 above the numpad. And even with all those keys the "lock" LEDs stay the same, and there is an extra inch and a half above everything still for all the controller crap.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 12:49:27
Quote from: The_Ed;507380
I will only join if it is a 104 or 104+. 129 keys can be put into a g80/g81 -3000 case without changing the spacing. 13 below the F-keys, 3 below scroll lock, 5 above the arrows, 4 above the numpad. And even with all those keys the "lock" LEDs stay the same, and there is an extra inch and a half above everything still for all the controller crap.

It will be 104+ since, it out of the projects here, it is the only layout missing. Definitely will do the +4 above the numpad and the +5 above the arrow. But I don't think we will do the 13 under the function (? There isn't enough spacing to put another row of function keys there). I don't want to reduce the distance between the function and number rows as well.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 06 February 2012, 12:49:47
Well, if there's a target case then someone needs to provide measurements for the case.  All the standoff locations and how the holes in the top frame correlate to those standoffs.

And it does look as though the spacing on the g80-3000 F-row is such that a set of keys would fit between it and the num-row.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 12:55:10
Quote from: alaricljs;507383
Well, if there's a target case then someone needs to provide measurements for the case.  All the standoff locations and how the holes in the top frame correlate to those standoffs.

And it does look as though the spacing on the g80-3000 F-row is such that a set of keys would fit between it and the num-row.

Ewwww... Thats so far away. I'd target the standard 104 layout case. Filco/Ducky/Whatever?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 14:29:34
You could use the added 13 key row as your F-key row. You are free to program it as you wish. The 129 key layout can be anything you want it to be. If the LED windows were moved on a g80/g81 -3000 case you could fit 133 keys. And if the F-key row spaces were removed you could fit 4 more on that and extra row below, totaling 137. I would rather stay at 129 to not mess with the layout.

I just looked at a picture of a leopold and there wouldn't be able to have the extra 4 above the numpad even. Same for filco. I'm seeing ducky's with 4 keys already there.

Maybe I'm just used to "mod room"... Call me old fashioned... I personally prefer the F-keys farther away, so the extra 13 + 3 would be macros or whatever. I don't want to accidentally quick save/load when I didn't mean it... stuff like that... And it's really only like what 6mm farther right?

If I have to I could take apart one of my g80's and measure and take pictures. Should I, or would I just be wasting my time?...

I did some digging and I got all the way back to 1999 for the idea of an individually controlled LED mechanical keyboard! It was DECK Keyboards! -

Quote
fredDarmstadt, Great idea(s), individualy addressable LEDs, a whole 104 keyboards worth. we looked at that in aprox 1999 and didn't do it as it's expensive, and we didn't know any 3rd party software developers who would REALY be interested. but maybe the time has come. In about 4 months, we will introduce a standard 104 key layout KB with the same 50 million cycle keys and the same LED backlighting as we have and the same negative image keycaps we now have. Hey keep those ideas coming. you can E-MAIL me at tech support.
TOM g

I think he was talking about the DECK Legend. Which is why in 2008 a guy made the Legend what it almost was.

(http://geekhack.org/attachment.php?attachmentid=39354&d=1328222438)

Almost all of that will be internalized in the teensy and traces, I hope...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 16:12:50
Quote from: The_Ed;507434
You could use the added 13 key row as your F-key row. You are free to program it as you wish. The 129 key layout can be anything you want it to be. If the LED windows were moved on a g80/g81 -3000 case you could fit 133 keys. And if the F-key row spaces were removed you could fit 4 more on that and extra row below, totaling 137. I would rather stay at 129 to not mess with the layout.

I just looked at a picture of a leopold and there wouldn't be able to have the extra 4 above the numpad even. Same for filco. I'm seeing ducky's with 4 keys already there.

Maybe I'm just used to "mod room"... Call me old fashioned... I personally prefer the F-keys farther away, so the extra 13 + 3 would be macros or whatever. I don't want to accidentally quick save/load when I didn't mean it... stuff like that... And it's really only like what 6mm farther right?

If I have to I could take apart one of my g80's and measure and take pictures. Should I, or would I just be wasting my time?...

I did some digging and I got all the way back to 1999 for the idea of an individually controlled LED mechanical keyboard! It was DECK Keyboards! -



I think he was talking about the DECK Legend. Which is why in 2008 a guy made the Legend what it almost was.

Show Image
(http://geekhack.org/attachment.php?attachmentid=39354&d=1328222438)


Almost all of that will be internalized in the teensy and traces, I hope...

Obviously the +4 above the numpad and the +5 above the arrows won't fit in a standard case. This is cos it's a nonstandard layout. BUT you can still go for the extra keys if you wanted to, you'd just need to get your own case. The board will give the option for extra keys, but not compulsary.

As for the mess of wires you see there. That will be reduced significantly. We do the Column/Row polling we do for switches, but with LEDs. The lights are turned on one by one at a high frequency. Also If we do the SMD and use traces for the LED routes, then there should heopfully no wires flying about. = ). Where was the guy doing the LED controll stuff...

As for the Cherry G80 case. No need to rush for it. But I'd prefer it to fit the more standard layout, where the F keys were slightly closer than the G80.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Mon, 06 February 2012, 16:44:59
Quote from: The_Ed;504992
full 104 keys
fits in cheap g80-3000 cases
LEDs - inside the switches
n-key rollover - diodes next to the switches
PCB mount holes - for if no plate is wanted

This should cover all but the tenkeyless crowd right? But then they already have a phantom.

No 104 key layout is boring. There are so many already in the market!
What about a HHKB clone?

I would not complain about the possibility to have LEDs in the switches.

Quote from: alaricljs;506790
Uh yeah, so where are those cheap cases found?  Someone had said g80-3000 and I go to ebay and look to see the cheapest is $90.  Errr wha?


What about using G81 cases? There are tons of them, once the key caps came off ...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Mon, 06 February 2012, 16:47:26
Quote from: alaricljs;506790
Uh yeah, so where are those cheap cases found?  Someone had said g80-3000 and I go to ebay and look to see the cheapest is $90.  Errr wha?


What about using G81 cases? There are tons of them, once the key caps came off ...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 16:51:22
Quote from: 7bit;507528
No 104 key layout is boring. There are so many already in the market!
What about a HHKB clone?

I would not complain about the possibility to have LEDs in the switches.



What about using G81 cases? There are tons of them, once the key caps came off ...


Well 104 is boring, but its one of the layouts not done already and its different in because of the lighting. I'm argueing cos it's what I like. But I'm going for no less than TKL/7bit (but with proper numpad for the right bit; essentiall extra column of switches next to the home/arrow cluster).

As for the HHKB clone, Isn't that like the DOX?

If we can get a ton of cases, it would make it slightly more economical, but I still find it weird that the function row is so far away. I need them for games.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 17:37:47
I've probably posted this like 10 times (most are probably still "missing") here already, but g80/g81 -3000 cases are EXACTLY the same. I use the F-keys for games too, but I've gotten used to and prefer the greater distance now. The cherry cases have the most "mod room" and are EXTREMELY cheap, especially if bought in bulk when they show up. If the extra row of 20 switches is put in between the F and number rows, you can use that as your F-row instead. You can program any switch to be any switch. There are virtual key codes for F1-F24, so make the original F-key row F13-F24. A 129 key layout PCB would have the original 104 in the correct positions for the cherry cases. You would simply cut out the plastic and populate whichever extra switch locations you want. I would for sure use at least 9 extra switch locations for the media keys and knobs. And I may cut out and populate others for macros if I feel like it. That is why the 129 is also known as the 104+. It can be used as a regular 104, or up to a 129, thus it is +.

It is hard to carry on this discussion when parts have disappeared at least 3 times that I've noticed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 18:05:32
Quote from: The_Ed;507570
I've probably posted this like 10 times (most are probably still "missing") here already, but g80/g81 -3000 cases are EXACTLY the same. I use the F-keys for games too, but I've gotten used to and prefer the greater distance now. The cherry cases have the most "mod room" and are EXTREMELY cheap, especially if bought in bulk when they show up. If the extra row of 20 switches is put in between the F and number rows, you can use that as your F-row instead. You can program any switch to be any switch. There are virtual key codes for F1-F24, so make the original F-key row F13-F24. A 129 key layout PCB would have the original 104 in the correct positions for the cherry cases. You would simply cut out the plastic and populate whichever extra switch locations you want. I would for sure use at least 9 extra switch locations for the media keys and knobs. And I may cut out and populate others for macros if I feel like it. That is why the 129 is also known as the 104+. It can be used as a regular 104, or up to a 129, thus it is +.

It is hard to carry on this discussion when parts have disappeared at least 3 times that I've noticed.

But I really like the normal distance between the number and function row ><. I already have enough trouble doing ctrl+f1 with one hand, any more and I'd be stretching way too far. (and no I'm not open to swapping capslock and ctrl).

I also OCD, and if I had a keyboard with the extra distance between the two, It'd feel so wrong.

Also, I'm one of the people who'd rather get a custom case than use the cherry one.

I reckon it'd fit in a rubber dome case:
http://www.rosewill.com/products/1580/ProductDetail_Overview.htm#/Mgnt/Uploads/ImagesForProduct/ImgPrd-1580-Cm[5c0e9ae52d994ac2ba5bff4413bd458d].jpg
These cost like $15...There are probably other brands too with decent cases.

I'd just like to keep the look I'm used to intact.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 18:20:24
What part of the F-keys on your board would be closer don't you understand? Your F-keys would be the extra row of keys in the empty space.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 18:30:48
Quote from: The_Ed;507605
What part of the F-keys on your board would be closer don't you understand? Your F-keys would be the extra row of keys in the empty space.

I Don't like that either...Sorry should of been clear.

Maybe we can HAVE BOTH!. I'm a genius, no more argueing. I can't imagine it adding a lot of routing since the switches for what i want and what you want are in parallel and can never both be used at the same time.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 18:42:48
Both? Cherry case and rosewill case universal? I would think that the PCB switch mount holes would make this impossible. But if it's possible then our bickering is done!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 18:54:41
Quote from: The_Ed;507619
Both? Cherry case and rosewill case universal? I would think that the PCB switch mount holes would make this impossible. But if it's possible then our bickering is done!

Its like how the phantom has multiple places to place the shift switch. It should still work, since they are in parallel. I can't seen it adding so much routing that it causes a problem.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 19:06:22
Remember that with the LED control there is DOUBLE the routing.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 19:08:20
Quote from: The_Ed;507635
Remember that with the LED control there is DOUBLE the routing.

I see. But...we're only extending the existing one. I don't think it'll obstruct anything. We'll have to see what happens when we implement such a thing.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 19:16:12
FOR SCIENCE!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 19:26:38
Quote from: The_Ed;507641
FOR SCIENCE!

And believe me I am still alive
I'm doing science and I'm still alive
I feel FANTASTIC and I'm still alive
While you are dying I'll be still alive
And when you're dead I'll be still alive
STILL ALIVE
still alive

[ATTACH=CONFIG]39507[/ATTACH]

[ATTACH=CONFIG]39508[/ATTACH]

[ATTACH=CONFIG]39509[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 19:33:23
I LOVE PORTAL!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 06 February 2012, 19:37:21
Quote from: The_Ed;507654
I LOVE PORTAL!

I even have extra portal 1+2 keys on steam. ><
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 06 February 2012, 19:39:41
Preordered huh?

CRAP! I just realized... We also need the mounting holes for PCB mount cherry g99 stabilizers!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 06:25:03
Quote from: The_Ed;507661
Preordered huh?

CRAP! I just realized... We also need the mounting holes for PCB mount cherry g99 stabilizers!

Can it not be plate mount?

Will this affect the board too much?

If alaricljs (http://geekhack.org/member.php?8933-alaricljs) has a circuit for for the LED stuff, and I can get round to using the software for drawing up PCBs. We can see what space we have available on the board.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Tue, 07 February 2012, 08:57:42
Quote from: The_Ed;507570
I've probably posted this like 10 times (most are probably still "missing") here already, but g80/g81 -3000 cases are EXACTLY the same. I use the F-keys for games too, but I've gotten used to and prefer the greater distance now. The cherry cases have the most "mod room" and are EXTREMELY cheap, especially if bought in bulk when they show up. If the extra row of 20 switches is put in between the F and number rows, you can use that as your F-row instead.

That's a good point

Quote from: The_Ed;507570
...
It is hard to carry on this discussion when parts have disappeared at least 3 times that I've noticed.

I recommend to move over to DT with this ...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Tue, 07 February 2012, 09:55:21
Quote from: hazeluff;507612
I Don't like that either...Sorry should of been clear.

Maybe we can HAVE BOTH!. I'm a genius, no more argueing. I can't imagine it adding a lot of routing since the switches for what i want and what you want are in parallel and can never both be used at the same time.


This should work. If not turn the switches around 90 degrees and we have the same situation as with the Phantm PCB (function row).

PCB vs Plate mounting: With the switch-opening-cutouts, there should be no argument against platemounting anymore.

Can we please have an extra column of switches on the left?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Tue, 07 February 2012, 09:57:13
Quote from: ripster;508131
The trouble with Deskthority.net is it's filled with foreigners.


I will tell webwit to close your account to reduce the number of posts done by foreigners @Deskthority significantly!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 12:58:35
Quote from: 7bit;508178
This should work. If not turn the switches around 90 degrees and we have the same situation as with the Phantm PCB (function row).

PCB vs Plate mounting: With the switch-opening-cutouts, there should be no argument against platemounting anymore.

Can we please have an extra column of switches on the left?

If we do, it won't fit most cases. = /

Plate mounting imo is the way to go, specially with the lovely side holes on the phantom ones <3.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 15:08:18
Okay! new list for 104+:

104
+ 5 above arrows
+ 4 above numpad
+ Esc through Pause/Break in double positions - in "regular" and cherry G80/G81 -3000 positions

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into "regular" and cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted

7bit - Do you have a pile G81-3000 cases for those who want a cheap case here? I'll probably just buy a cheap G80-3000 for myself to get the case, PCB mount G99 stabilizers, and PCB mount switch bottoms.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:15:32
Sadly the idea still doesn't the normal Filco cases. But that's ok with me I guess.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 15:20:10
Why wont it fit filco? And I just realized that we will have to have wires running from the 3 "lock" switches' LEDs to also light up the LEDs in the upper right. They will be in parallel.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:26:13
Quote from: The_Ed;508495
Why wont it fit filco? And I just realized that we will have to have wires running from the 3 "lock" switches' LEDs to also light up the LEDs in the upper right. They will be in parallel.

Because the extra "row" added above the numberpad, will make the PCB longer than the case of a FILCO. Tho Why would anyone use a good keyboard's case for this. Might as well get a custom. But just my 2cents on that.

Possible we may need flyovers for those LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 07 February 2012, 15:29:36
As for why a direct replacement for Filco, plenty of people have a Filco and might be interested in changing it up a little.  1 PCB and a teensy would be all you need, re-use the rest of the Filco and you have a relatively inexpensive way to a custom firmware KB platform.  Even cheaper with a Rosewill.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 15:30:34
"flyovers" == wires or traces? By the way, are we going to be using the Teensy++ w/ Pins? I don't see how there would be enough pins otherwise.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:32:02
Quote from: The_Ed;508509
"flyovers" == wires or traces? By the way, are we going to be using the Teensy++ w/ Pins? I don't see how there would be enough pins otherwise.

No i mean wires if it doesn't fit.

I think the firmware may have to alternate between polling and doing the LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 15:34:32
Alternate? There would have to be A LOT of extra diodes to allow that...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:37:57
Quote from: The_Ed;508515
Alternate? There would have to be A LOT of extra diodes to allow that...

Nope it doesn't. Someone posted it on a Phantom/Dox discussion and I think the image might of got lost during the rollback. It involves bringing in some BJT/FETs to control. I'll go see if I can find it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 07 February 2012, 15:43:44
If I recall correctly it was a 3 wire design, common 'ground' between the switch and LED and then separate lines for the switch signal and LED signal.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 15:44:53
DAMNED HACKER! FLIFLA MUST DIE! I don't know anything about BJT/FETs so you can do that. So... were you still going to implement your rotary encoders your way, or my way? Just curious since it would be interesting to see if both ways work, even if you do decide to come over to the diode way...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 07 February 2012, 15:47:07
(= Calm down boys (and girls, what do I know..) Looking for this? I can't swear it'll work out exactly like that, but I have a feeling it should be doable.
(http://i41.tinypic.com/2d9bfqg.jpg)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:48:28
Quote from: The_Ed;508523
DAMNED HACKER! FLIFLA MUST DIE! I don't know anything about BJT/FETs so you can do that. So... were you still going to implement your rotary encoders your way, or my way? Just curious since it would be interesting to see if both ways work, even if you do decide to come over to the diode way...

It doesn't matter. You can do it whatever way you want. They are up to the user to implement into the switches.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 15:51:22
Quote from: PrinsValium;508524
(= Calm down boys (and girls, what do I know..) Looking for this? I can't swear it'll work out exactly like that, but I have a feeling it should be doable.


Thank you kinda sir.

This is exactly what I was looking for.

I don't even think there will be a problem with too much current going into the row pin.

Still need to test the whole thing tho and select the right FET/BJT (FET imo, just to remove the dependancy on base current).

I'll print it out 2morrow and ask around the guys at Uni (its great doing a degree in electronics).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 07 February 2012, 16:02:52
Yeah, I'm not too familiar with transistors and stuff but my understanding is; BJT - current controlled current source, FET - voltage controlled current source.

We would of course just be interested in saturating them in any case, controlling the current by other means. I think the Teensy and all(?) microcontrollers are FET based anyhow.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Tue, 07 February 2012, 16:04:17
Quote from: hazeluff;508365
If we do, it won't fit most cases. = /

Plate mounting imo is the way to go, specially with the lovely side holes on the phantom ones <3.


Ok, maybe I will set up some layout on my own. For the big keyboard I already have the Tipros which come wuite close to what I would like to have.


Quote from: The_Ed;508484
Okay! new list for 104+:

104
+ 5 above arrows
+ 4 above numpad
+ Esc through Pause/Break in double positions - in "regular" and cherry G80/G81 -3000 positions

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into "regular" and cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted

7bit - Do you have a pile G81-3000 cases for those who want a cheap case here? I'll probably just buy a cheap G80-3000 for myself to get the case, PCB mount G99 stabilizers, and PCB mount switch bottoms.

You had forgotten the function row in 7BIT layout style (ie no gaps between the function keys).
But honestly, I'm not so much interested in this. It is easier and cheaper to mod the Tipro.

Ascaii might have a lot of these cases (if he didn't throw them away).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Ascaii on Tue, 07 February 2012, 16:17:21
I should have a bunch of cases available. Anything from g80-1k, g80-3k, to Desko cases in 3k layout. Ill tally what I have. Would definitely want a pcb :)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 16:23:01
How much output voltage are on those column pins. I'ma go debug and see if at least the LED component of integrated design above works.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 16:24:51
Quote from: PrinsValium;508545
Yeah, I'm not too familiar with transistors and stuff but my understanding is; BJT - current controlled current source, FET - voltage controlled current source.

We would of course just be interested in saturating them in any case, controlling the current by other means. I think the Teensy and all(?) microcontrollers are FET based anyhow.

IC like to use FET. Less current going around. As well as much easier to predict behavior and bias and such. Tradeoff is the "intrinsic gain". But that's analogue circuits.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 07 February 2012, 16:25:41
I've been doing some work on this "universal" Filco replacement board. My idea is that it should be possible to fit it into both a Filco Tenkeyless case as well as the full size case. Perhaps adding tiny holes as drill guides for the different PCB mount stabilizer options. In my world fitting into a Filco case is still the best idea =) The Teensy++ would be used for a full size and a Teensy for a Tenkeyless. All different switch locations supported of course ;) (no full 7bit yet though...)
(http://i44.tinypic.com/30bk8dl.jpg)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 07 February 2012, 16:28:43
Quote from: hazeluff;508568
How much output voltage are on those column pins. I'ma go debug and see if at least the LED component of integrated design above works.


5V I suppose, don't forget current limiting on the LEDs. I didn't include it in that diagram.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 16:29:03
Quote from: PrinsValium;508572
I've been doing some work on this "universal" Filco replacement board. My idea is that it should be possible to fit it into both a Filco Tenkeyless case as well as the full size case. Perhaps adding tiny holes as drill guides for the different PCB mount stabilizer options. In my world fitting into a Filco case is still the best idea =) The Teensy++ would be used for a full size and a Teensy for a Tenkeyless. All different switch locations supported of course ;) (no full 7bit yet though...)

I don't know about this. = / It is a really cool idea tho. So when its TKL, we saw off the right side? It feels like such a waste if that is the case.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 07 February 2012, 16:31:57
Given a sufficient run size (>25 boards) the price differential between doing 2 different PCB designs approaches pennies very quickly.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 16:39:42
Quote from: alaricljs;508579
Given a sufficient run size (>25 boards) the price differential between doing 2 different PCB designs approaches pennies very quickly.

Lets go with one first ; p

Take things one step at a time ye?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 16:44:55
Quote from: PrinsValium;508576
5V I suppose, don't forget current limiting on the LEDs. I didn't include it in that diagram.

Yeah I'll work that out. I don't think it'll hit 5V because almost nothing hits the rails.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 07 February 2012, 17:21:32
I got lost with that wiring diagram... But as long as the new 104+ requirements are met I'm fine. I really hope that the G99 holes make it in so I don't have to drill them as PrinsValium suggested.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Tue, 07 February 2012, 20:48:41
i mwould like to have the option for the 2 F rows to be side by side and allow for 2 extra keys each like the 7bit it was implemented on the phantom to do that and standard should be able to be done on this right?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 20:52:53
Quote from: TheProfosist;508819
i mwould like to have the option for the 2 F rows to be side by side and allow for 2 extra keys each like the 7bit it was implemented on the phantom to do that and standard should be able to be done on this right?

What are these 2 extra keys? You mean like compressing all the Function keys horizontally?

And by the 2 F rows you mean like 2 stacked on top of each other vertically?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Tue, 07 February 2012, 20:55:55
Quote from: hazeluff;508821
What are these 2 extra keys? You mean like compressing all the Function keys horizontally?

And by the 2 F rows you mean like 2 stacked on top of each other vertically?
yes compressed horizontally there would be the ability to have 2 more keys that I could put to use but like the phantom would still support the normal spacing as well.

Yes 2 function rows stacked vertically there was talk of that when using the cherry case so if their easy enough to mod into the case im in.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 21:00:52
Quote from: TheProfosist;508823
yes compressed horizontally there would be the ability to have 2 more keys that I could put to use but like the phantom would still support the normal spacing as well.

Yes 2 function rows stacked vertically there was talk of that when using the cherry case so if their easy enough to mod into the case im in.

Yeah, I guess it could work.

I'd like to get some software to make the traces, can someone let me know what they're using?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 07 February 2012, 21:01:44
KiCAD  (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CC8QFjAA&url=http%3A%2F%2Fkicad.sourceforge.net%2F&ei=nOUxT9H7I4GB0QG0w6WCCA&usg=AFQjCNH0VxUfziBdFHXuNXAiyXhAiJ0JHg)is what Prins and myself have been using.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 21:05:35
Quote from: alaricljs;508828
KiCAD  (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CC8QFjAA&url=http%3A%2F%2Fkicad.sourceforge.net%2F&ei=nOUxT9H7I4GB0QG0w6WCCA&usg=AFQjCNH0VxUfziBdFHXuNXAiyXhAiJ0JHg)is what Prins and myself have been using.

Gonna play around with that ^_^.

Would EAGLE be good to use? I have that in Uni. And I think i can get myself an install for myself.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 07 February 2012, 21:10:25
Biggest reason I use Ki is because Prins made footprints for all the cherry parts available in one of his wiki's and instructions on how to use it.  Eagle would obviously do the job, just need to get footprints done.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 21:12:50
Quote from: alaricljs;508833
Biggest reason I use Ki is because Prins made footprints for all the cherry parts available in one of his wiki's and instructions on how to use it.  Eagle would obviously do the job, just need to get footprints done.

Well I'd use KiCAD, since you guys are using it. And the cherry parts already done means I dont have to look aroudn for it ^_^.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Tue, 07 February 2012, 21:13:46
looks like we could even fit 3 more keys below PrtSc/NumLk/Pause http://tinyurl.com/6f7lowl so we could get 133 max then
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 21:52:32
Quote from: TheProfosist;508835
looks like we could even fit 3 more keys below PrtSc/NumLk/Pause http://tinyurl.com/6f7lowl so we could get 133 max then

Dude, you Arn't ambitous enough we put 8 ontop of numpad!

KiCAD question:
Just curious how The extra switch positions are done on the Phantom. Is an extra component made and then the components made to overlap on the trace?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Tue, 07 February 2012, 22:15:13
Quote from: hazeluff;508855
Dude, you Arn't ambitous enough we put 8 ontop of numpad!

would love to do that but I think it would run into the LEDs...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 07 February 2012, 23:00:05
Quote from: TheProfosist;508873
would love to do that but I think it would run into the LEDs...

Im thinking of not putting switches there at all. Do we really need them when you could get +12 function keys. That space also happens to be a great place to put the teensy/other mod things like the volumn nob and yeah the lock status LEDs are there too.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Tue, 07 February 2012, 23:18:00
I'm also willing to do the traces, provided a half decent sch/net/brd, ideally :p

However, I'd obviously prefer to do an SMD controller design with LED control, as that makes things a lot easier. I definitely don't have enough EE experience at this point to do one from scratch, so I'm really hoping that we'll have something from siberx.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Wed, 08 February 2012, 00:25:22
O just though of something there will be more keys depending if we make it optional to have the numpad to have 1x keys I would want all 1x keys except for possibly enter. The other pace there will be more keys if if you just expand the Phantom like we originally had planned you could have up to 143 keys. Now thats a keyboard ;) !!!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 08 February 2012, 02:35:43
Quote from: hazeluff;508855
KiCAD question:
Just curious how The extra switch positions are done on the Phantom. Is an extra component made and then the components made to overlap on the trace?

Yeah, I just put the same footprints on top of each other. I think that is the easier way to do it. otherwise special footprints need to be created for all overlapping clusters. Individual pads can be removed by hand where needed to. I added all the slot holes required for overlapping holes to a special "footprint" containing them all.

I use KiCAD since it is free, and powerful enough to produce good quality gerber files. There is a free version of Eagle as well, but that only supports really tiny boards. But Eagle is supposedly more powerful than KiCAD if you want to pay up =) I think it was a bit fiddlier as well when I tries it out...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 05:38:21
I have said before that I support the 129 key layout. It looks like we now have supporters for 2 different 104+ layouts:

104
+ 5 above arrows
+ 4 above numpad


+ Esc through Pause/Break in double positions - in "regular" and cherry G80/G81 -3000 positions - 113 keys total - my second compromise choice
OR
+ 16 in an extra row underneath Esc through Pause/Break that are in cherry G80/G81 -3000 positions - 129 keys total - my first choice


Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into "regular" and cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted

Single person suggestions:
alaricljs - 87 key version
alaricljs - the ever-requested trackpoint
TheProfosist - wants long numpad keys split into 2 keys - No support for this yet as regular 2x keys would no longer be able to be used.

I would like to be able to still use the 3 "lock" LED windows, so there won't be 4 more keys there.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 08 February 2012, 08:57:37
The trackpoint was asked for by someone else, I just cataloged it in the first post... I think it was TheProfosist.   Not that a TP wouldn't be pretty awesome, I just don't know if the complexity issues can be readily solved.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Wed, 08 February 2012, 09:02:13
Quote from: TheProfosist;508835
looks like we could even fit 3 more keys below PrtSc/NumLk/Pause http://tinyurl.com/6f7lowl so we could get 133 max then

Will it really be possible to have mount-positions in 1/2 units steps in both direction (horizontal and vertical)?

Is the distance of main-, cursor- and number-field the same for Filco and Cherry? For Cherry it is 1/2 unit.

If every possible space is filled up and the bottom row is designed like the Phantom, we'd have:
3*23+3*22+19 == 154 switches.

Quote from: hazeluff;508919
Im thinking of not putting switches there at all. Do we really need them when you could get +12 function keys. That space also happens to be a great place to put the teensy/other mod things like the volumn nob and yeah the lock status LEDs are there too.

LED or switch, whatever is prefered.

For Cherry cases there should be no problem with the controller, but Filcos have no room. That is a problem.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 09:24:53
Quote from: 7bit;509169
Will it really be possible to have mount-positions in 1/2 units steps in both direction (horizontal and vertical)?

I think it can. doing the kicad files now...so many switches to put in XD

Quote from: 7bit;509169
LED or switch, whatever is prefered.

I think it may work, but if all the switches need LED, i don't think we can have all the traces done cos of the number of LED + Switches. I'll try tho.

Quote from: 7bit;509169
For Cherry cases there should be no problem with the controller, but Filcos have no room. That is a problem.

Indeed, And I want to be able to fit it in the smaller filco board...and even with the two rows of Function keys, it wouldn't fit in a filco anymore...maybe we need to give up the filco case idea?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Wed, 08 February 2012, 09:47:19
Quote from: hazeluff;509186
I think it can. doing the kicad files now...so many switches to put in XD



I think it may work, but if all the switches need LED, i don't think we can have all the traces done cos of the number of LED + Switches. I'll try tho.



Indeed, And I want to be able to fit it in the smaller filco board...and even with the two rows of Function keys, it wouldn't fit in a filco anymore...maybe we need to give up the filco case idea?


It is only a bit more than 1/2 a unit. Is the case for the Filco so tight?

BTW: I don't need LEDs in every switch. Just thought it might be useful for some.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 09:50:28
Quote from: 7bit;509205
It is only a bit more than 1/2 a unit. Is the case for the Filco so tight?

BTW: I don't need LEDs in every switch. Just thought it might be useful for some.

Its really thin round the edges. so it wont fit 2 rows of function (or a function row that has a 1 unit gap from number row; same thing).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 14:23:19
I've started doing the schematic for the board.

By doing it 7 rows by 23 columns there are 8 pins left for LED controls. Assuming we do the alternate between polling and LED lighting, we cannot get LED indicators for numlock/Capslock/scrollock. The options are to remove the 8/4 keys above the numpad. Or we have extra multiplexors to control the LEDs. Any input guys.

Also, Prins would you like to supply schematics from the Phantom that supports the 1.5 and 1.25 Width mods. Or can I implement that myself without making a new component?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 08 February 2012, 14:54:53
A normal keyboard is quite possible to do with 21 columns. 14 for the alpha numeric, 3 for the nav cluster, 4 for the numpad. Only problem is that the number row fits 15 keys. This is easily solvable if no other rows are crammed with a lot of extra keys... The Teensy++ has 46 IO-pins, so using that chip would give more than enough pins to  play with.

I do not use any special components for the overlapping switch locations. Simply put several footprints on top of each other. Remove holes that overlap and replace them with slots instead.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 14:59:38
Quote from: PrinsValium;509386
A normal keyboard is quite possible to do with 21 columns. 14 for the alpha numeric, 3 for the nav cluster, 4 for the numpad. Only problem is that the number row fits 15 keys. This is easily solvable if no other rows are crammed with a lot of extra keys... The Teensy++ has 46 IO-pins, so using that chip would give more than enough pins to  play with.

I do not use any special components for the overlapping switch locations. Simply put several footprints on top of each other. Remove holes that overlap and replace them with slots instead.

Right right. Well the teensy site says only 38 are IO...But there are 46 pins...So the 8 unaccounted ones are interior pins. Are those usable?

Edit: It says 46 IO pins, just 8 are analogue. ^_^
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 15:07:16
Will the alternation between polling and lighting the LEDs make them flicker? Like with an old CRT that has it's refresh rate too low?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 15:11:13
Quote from: The_Ed;509399
Will the alternation between polling and lighting the LEDs make them flicker? Like with an old CRT that has it's refresh rate too low?

The polling happen really fast. And once every millisecond(?, im unsure, but 1khz polling is about right). Then it won't flicker much. It'll spend a (/few) ms of the time off because It polled.

CRT refresh is in the hz range and this polling is in the milli range, it won't be noticable. But anyway we have enough pins.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 15:25:28
If I'm following this right you'd need 21(columns) + 7(switch rows) + 7(LED rows) = 35 pins. And the 3 "lock" LEDs would be put into the top row on the "Num Lock", "/", and "*" columns right? Or am I way off? I'm an IT guy so I'm not an "expert" in circuits.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Wed, 08 February 2012, 15:26:31
Someone should come up with some basic layouts like with the Phantom it might help to have a visual aid when designing the PCB.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 15:29:33
Quote from: The_Ed;509416
If I'm following this right you'd need 21(columns) + 7(switch rows) + 7(LED rows) = 35 pins. And the 3 "lock" LEDs would be put into the top row on the "Num Lock", "/", and "*" columns right? Or am I way off? I'm an IT guy so I'm not an "expert" in circuits.

If those keys are didividually lit, the lock keys have to be separate. Also i need to collect my thoughts on whether or not to use tge alternation between LED and polling or to do it separate. And just to check uf i have enough pins. But outlook is good.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 15:53:17
You could always use 2 teensys and connect them to an internal USB hub right? That would all fit with room to spare in a 129 key G80-3000.

The polling teensy and LED teensy would have a pin connection between them to signal each other to start when they're done.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Internetlad on Wed, 08 February 2012, 17:39:49
Quote
First discussion point: I can't find an antonym for Phantom, so I was looking at synonyms for light. I couldn't even name my own children if not for my wife, so I'll leave the discussion to you, the interested.

RE: Names.

Light: Synonyms: ablaze, aglow, bright, brilliant, burnished, clear, cloudless, flashing, fluorescent, glossy, glowing, lambent, lucent, luminous, lustrous, phosphorescent, polished, radiant, refulgent, resplendent, rich, scintillant, shining, shiny, sunny, unclouded, unobscured, vivid, well-lighted, well-lit

Phantom: Antonyms: reality

http://www.thesaurus.com

Are we even trying here?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 17:54:27
Quote from: The_Ed;506636
I hope someone does expand to a full 104. I reserve the name "Lux Aeterna" for a full 104 version. The 87 could be "Lux Mortalis".

Looks like this post has come back from the abyss! How can we not be trying? Everyday posts were randomly disappearing... Hopefully that's fixed now, as I can see more and more of my posts reappearing.

Holy crap! Are 1 in 4 posts here really mine? Guess I talk too much...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 20:10:24
Quote from: The_Ed;509514
Looks like this post has come back from the abyss! How can we not be trying? Everyday posts were randomly disappearing... Hopefully that's fixed now, as I can see more and more of my posts reappearing.

Holy crap! Are 1 in 4 posts here really mine? Guess I talk too much...

You question me a lot. And it's good. Cos i sprout ideas without double checking.

If I were naming the board as my own project, I would like call it something with my name in it. Hazelboard, Hazboard,HazeLUX.

Sadly this is a group effort. So therefore I will put my vote into:

LUX


= p Its elegant, but slightly cheesy. I don't think it needs any more to it. = p

or maybe

Aura
Radient
Dawn

Back on serious topic:

I think allowing for both polling and LED lighting at the same time should work. The debounce(?, its in the code) of 5ms and poll rate of 1kHz(?,im unsure but this is what most keyboards are,ye?) will lead to a LED that won't flicker.This is pretty much exactly the design that Prin has done. I'm considering having the transistor only drive the current/voltage across the LEDs and not both switches and LEDs.It makes for slightly easier analysis/less area to have fault,I think. Row pins are sensitive to voltage and LEDs are sensitive to voltage, but are nicely controlled with current control.

If anyone knows what I'm saying in the following (and I still make sense) then please comment:

I want to use a NMOS for the column and have the source to ground (might need use a resistor to bias current). And at the positive rail use a PMOS and active low with combination of the row select pin to the base.
This is my design. It's like Prins, but the main thing we don't have to worry about is the voltage given to the Row lines for detecting closed switches. Also no extra/unaccounted current flowing through the "switch circuit":
[ATTACH=CONFIG]39801[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 20:33:18
Umm... Why are there columns named LED row?...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 20:35:41
Quote from: The_Ed;509698
Umm... Why are there columns named LED row?...

They aren't columns. They control the rows. The FET just needs to go to the + power rail. So it looks like a column. If you analyse, then you will see they control the LEDs of each row only.

Also I named two pins "Key Row 1". /facepalm.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 20:42:49
Just make sure you don't make it so I can't put my 2 rotary encoders in the way I had planned. As long as it works, it works. So was this finalized or still under debate?

129 key:

104
+ 5 above arrows
+ 4 above numpad
+ 16 in an extra row underneath Esc through Pause/Break that are in cherry G80/G81 -3000 positions

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 21:18:57
Quote from: The_Ed;509710
Just make sure you don't make it so I can't put my 2 rotary encoders in the way I had planned. As long as it works, it works. So was this finalized or still under debate?


104+ key (I don't want to count):

+ 5 above arrows
+ 8 above numpad
15 Key Function Row + ESC
+ 15 Key Function Row below the Function row and above Number row
+ 3 Between Home cluster and PrintScr keys.

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - most likely SMD and probably have them preinstalled
PCB switch mount holes - for if no plate is wanted (I don't know if it will be possible if I allow for multiple key positions + pcb mount, I will work towards checking this)
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted (See above ^)

So my summary

-104+ Key
-Fit Cherry G80/81
-NKRO
-Multiple layout on one PCB
-Individually controlled LED
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 21:43:52
+ 5 above arrows - OK
+ 8 above numpad - The top extra 4 will be where the 3 "lock" LED windows are... OH!... Even if I don't put switches there I could still put my 3 "lock" LEDs there and control them right?
15 Key Function Row + ESC - Don't Condense! 13 keys here!
+ 15 Key Function Row below the Function row and above Number row - Don't Condense! 13 keys here!
+ 3 Between Home cluster and PrintScr keys. - OK

You are submitting a 137 key version. I would support 8 keys above the numpad if I can use the switches' LED traces for my 3 "lock" LEDs. I do NOT support condensing the dual F-rows to get an extra 4 keys. So I would support a 133 key version as follows:

133 key:

104
+ 5 above arrows
+ 8 above numpad - can use 3 of the top 4 switches' LED traces for the 3 "lock" LEDs
+ 16 in an extra row underneath Esc through Pause/Break that are in cherry G80/G81 -3000 positions

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 21:55:47
Quote from: The_Ed;509765
+ 5 above arrows - OK
+ 8 above numpad - The top extra 4 will be where the 3 "lock" LED windows are... OH!... Even if I don't put switches there I could still put my 3 "lock" LEDs there and control them right?
15 Key Function Row + ESC - Don't Condense! 13 keys here!
+ 15 Key Function Row below the Function row and above Number row - Don't Condense! 13 keys here!
+ 3 Between Home cluster and PrintScr keys. - OK

You are submitting a 137 key version. I would support 8 keys above the numpad if I can use the switches' LED traces for my 3 "lock" LEDs. I do NOT support condensing the dual F-rows to get an extra 4 keys. So I would support a 133 key version as follows:

133 key:

104
+ 5 above arrows
+ 8 above numpad - can use 3 of the top 4 switches' LED traces for the 3 "lock" LEDs
+ 16 in an extra row underneath Esc through Pause/Break that are in cherry G80/G81 -3000 positions

Individually controlled LEDs - fit through holes in mx switches and solder to traces on the PCB
Fits into cherry G80/G81 -3000 cases
n-key rollover - diodes next to the switches - possibly SMD and possibly already preinstalled
PCB switch mount holes - for if no plate is wanted
Cherry G99 stabilizer PCB mount holes - for if no plate is used and cherry stabilizers are wanted


The keys don't matter, since I'm trying to get multiple layouts on the board. So I'll be seeing if the traces can support both the condensed 15 key Function row AND the 13key. Same with the 8 keys above the numpad. I am going to try to have both the 8 keys AND the 3 lock LEDs (Can't be done at same time (I don't think)). It will most likely be, If you have 8 keys, There will be no lock LEDs and if you don't use the 8 keys, you can use 3 lock LEDs (controlled as if they were the LEDs of 3 of the 8 keys in that region, but located in the appropriate location)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 22:16:05
That's good. That means my 129 key layout is inside of your 137 key layout. So... Now I have to find somebody with cherry doubleshot F13-24. I think I've seen white before, but never black sadly...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 22:18:57
Quote from: The_Ed;509799
That's good. That means my 129 key layout is inside of your 137 key layout. So... Now I have to find somebody with cherry doubleshot F13-24. I think I've seen white before, but never black sadly...

May need custom ones. Since this is a Fully lighted board. I will run a GB on the side for Doubleshots with clear legends. I mean what's the point if you cna't see the LEDs through your keycaps?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 08 February 2012, 22:21:27
Quote from: hazeluff;509807
I will run a GB on the side for Doubleshots with clear legends.
 Er, wha?  Do you know this is possible?  I mean, why the hell haven't we seen any if this is possible?  I'd be in for 2 sets.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 22:24:26
Quote from: alaricljs;509811
Er, wha?  Do you know this is possible?  I mean, why the hell haven't we seen any if this is possible?  I'd be in for 2 sets.

I don't see how it can't be done. Also transparent/translucent colorless is a plastic that SP has. Its one of the samples.

[ATTACH=CONFIG]39826[/ATTACH]

UEV!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 08 February 2012, 22:27:21
I've only ever seen UEV used when they did the clear caps in GB 3.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 22:33:39
Quote from: alaricljs;509819
I've only ever seen UEV used when they did the clear caps in GB 3.

Its the same type of plastic as the others. I shoudl be doubleshot-able. I'll go ask Melisa?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 22:40:26
I like my cherry doubleshots so much I was going to just have the ambient glow around the keycaps. That glow that lasts for a split second before fading away efffect for the keys I press. It was in one of those videos. But if a groupbuy for clear legended keycaps with "faux (cycloverid)" cherry legends is done that would be interesting as well. Though that would cost a fortune in legending fees right? I don't like SPs standard font... It isn't... right... But hell if it wasn't that expensive for an SP font version I'd take a set. Crap... I think I need to buy a third set of doubleshots from 99-hk... I'll wait till later I think...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 22:45:22
Quote from: The_Ed;509836
I like my cherry doubleshots so much I was going to just have the ambient glow around the keycaps. That glow that lasts for a split second before fading away efffect for the keys I press. It was in one of those videos. But if a groupbuy for clear legended keycaps with "faux (cycloverid)" cherry legends is done that would be interesting as well. Though that would cost a fortune in legending fees right? I don't like SPs standard font... It isn't... right... But hell if it wasn't that expensive for an SP font version I'd take a set. Crap... I think I need to buy a third set of doubleshots from 99-hk... I'll wait till later I think...

Yeah, Jesuswasazombie wanted to do a dolce set with faux cherry font. And its not quite possible (well it has it issues). Thus I'll probably end up doing it using their standard fonts.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 22:58:17
Including the f13-24, media keys, "clear", and a few others I can't think of right now?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 08 February 2012, 23:00:18
Quote from: The_Ed;509855
Including the f13-24, media keys, "clear", and a few others I can't think of right now?

Depending on the price of including them. But Ideally I would include that and some extra blanks for the other ones. Media keys will cost a bit, if we need custom legends.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Wed, 08 February 2012, 23:10:50
Can I propose that you do something like the Phantom for the main section of keys so that it can do ISO ANSI and 7bit? and everything talked about with the condensed and non condensed keys should be possible as it was done on the Phantom already.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 08 February 2012, 23:15:08
ANSI and ISO are already being supported as far as I know. I don't think 7bit is going to be supported though. That abomination should stay exclusive to the phantom.

Wait a minute... Is that a TASER next to the color samples?!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 09 February 2012, 03:09:35
Quote from: hazeluff;509827
Its the same type of plastic as the others. I shoudl be doubleshot-able. I'll go ask Melisa?

Actually I am pretty sure this is wrong. My memory tells me they were unable to double shoot that particular "color".
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: byFd on Thu, 09 February 2012, 03:35:23
Quote from: PrinsValium;509978
Actually I am pretty sure this is wrong. My memory tells me they were unable to double shoot that particular "color".

think i read something like this somewhere too.

also not sure how it would look like doubleshotted since the color of the base cap would still be (partly) behind it. if you look inside a cap you see what i mean :)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 06:14:31
Quote from: byFd;509985
think i read something like this somewhere too.

also not sure how it would look like doubleshotted since the color of the base cap would still be (partly) behind it. if you look inside a cap you see what i mean :)

When light shines through it should be fine. Gotta check whether or not it can be done tho
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 09 February 2012, 10:24:01
Ok, so I started to lay out a board with LED pads in every switch and ran into a couple of "problems".

1. Rotated stabilized keys like ISO enter and keypad + need to have the switch rotated to work with Costar stabilizers. This of course means the LED for that location will also be moved to the side of the key rather than straight down. Cherry stabilizers can have the switches rotated any direction.

2. Some PCB mount holes for Cherry stabilizers overlap alternative layouts switch-LED locations. I don't know how keen the factory is on doing overlapping holes. Probably not at all... Those holes would need to be drilled once the layout is chosen. Stabilizer locations for different "space bars" and around the "enter" area is a complete mess anyways and they cannot be drilled before layout has been decided either.

3. Some LED pads in the space bar row is just interfering silly with each other, but that looks like it can actually be worked out...

4. Are we aiming to have SMD for diodes, controller and everything except the MX switches and LEDS?

All in all though, this seems to end up less a mess than I thought =D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 10:34:17
Quote from: PrinsValium;510169
Ok, so I started to lay out a board with LED pads in every switch and ran into a couple of "problems".

1. Rotated stabilized keys like ISO enter and keypad + need to have the switch rotated to work with Costar stabilizers. This of course means the LED for that location will also be moved to the side of the key rather than straight down. Cherry stabilizers can have the switches rotated any direction.

2. Some PCB mount holes for Cherry stabilizers overlap alternative layouts switch-LED locations. I don't know how keen the factory is on doing overlapping holes. Probably not at all... Those holes would need to be drilled once the layout is chosen. Stabilizer locations for different "space bars" and around the "enter" area is a complete mess anyways and they cannot be drilled before layout has been decided either.

3. Some LED pads in the space bar row is just interfering silly with each other, but that looks like it can actually be worked out...

4. Are we aiming to have SMD for diodes, controller and everything except the MX switches and LEDS?

All in all though, this seems to end up less a mess than I thought =D

Good to hear its less messed up.

I was actually drawing up my own last night. If you don't mind I'd like to play around with it once you get the basics down?

1) I don't think it'll affect too much. The lights may come from the side, but in general shouldn't be too noticeable.

2) In terms of it overlapping other switch-LED locations, its ok as long as we arn't using those LEDs when a layout is picked. If it helps, I think not having the 7Bit mod row is alright. (Tho I can see that some people would want more mod keys; Like japanese layout).

3) Don't know what to make of this. We'll see for this one?

4) SMD for diodes for now. I think we can mount the controller, unless SMD the controller benefits us greatly. But if we SMD the controller, we need to implement the usb mini loader?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 09 February 2012, 10:44:27
Quote from: hazeluff;510184

2) In terms of it overlapping other switch-LED locations, its ok as long as we arn't using those LEDs when a layout is picked. If it helps, I think not having the 7Bit mod row is alright. (Tho I can see that some people would want more mod keys; Like japanese layout).

3) Don't know what to make of this. We'll see for this one?

4) SMD for diodes for now. I think we can mount the controller, unless SMD the controller benefits us greatly. But if we SMD the controller, we need to implement the usb mini loader?


2. There is no problem once the layout has been picked. Switch locations overlapped by stabilizer mounting holes can of course not be interesting in that layout...

3. It's going to require a lot of manual tweaking, that is all. reversing the mounting direction of some of the LEDs. Nothing more than an annoyance when they are going to be soldered.

4. If we are having anything SMD mounted, I think we might just as well have as much as possible. This would probably also allow us to place all important components within the alphanumeric section. That would in effect make it possible to cut down the PCB to any size desired. One PCB for Tenkeyless/full size/Poker/whatever. Also leaves more room for switch locations where the Teensy would have had to go otherwise.


But now I am taking a shower and heading off to the pub, see you Monday =) This is going to be one long weekend....
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 10:49:01
Quote from: PrinsValium;510197
2. There is no problem once the layout has been picked. Switch locations overlapped by stabilizer mounting holes can of course not be interesting in that layout...

3. It's going to require a lot of manual tweaking, that is all. reversing the mounting direction of some of the LEDs. Nothing more than an annoyance when they are going to be soldered.

4. If we are having anything SMD mounted, I think we might just as well have as much as possible. This would probably also allow us to place all important components within the alphanumeric section. That would in effect make it possible to cut down the PCB to any size desired. One PCB for Tenkeyless/full size/Poker/whatever. Also leaves more room for switch locations where the Teensy would have had to go otherwise.


But now I am taking a shower and heading off to the pub, see you Monday =) This is going to be one long weekend....

3) Sounds good. Well since we can label the holes, it'll be annoying, but won't be confusing as hell when assembling.

4) Yeah, We might as well SMD the controller, but someone needs to sort out the loading bit, I'm not quite sure of the interface for that.

Would be amazing if the board works for any layout wanted, specially the cutting down to allow use in a filco board. Because what I had at the moment only fits in Cherry G80/81 cases.

Cheers~ I gotta stop procrastinating and finish off my lab work to submit...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 11:00:37
Quote from: PrinsValium;510197
3. It's going to require a lot of manual tweaking, that is all. reversing the mounting direction of some of the LEDs. Nothing more than an annoyance when they are going to be soldered.

I created a separate module and schematic component for a switch with an LED. At least on the pcb, it's easier to deal with for movement purposes, since you'll always have the LED holes in a specific location. Also, square pads should indicate anodes. You've probably done both of these things already anyway, so I'm likely being redundant :p

Quote from: PrinsValium;510197
4. If we are having anything SMD mounted, I think we might just as well have as much as possible. This would probably also allow us to place all important components within the alphanumeric section. That would in effect make it possible to cut down the PCB to any size desired. One PCB for Tenkeyless/full size/Poker/whatever. Also leaves more room for switch locations where the Teensy would have had to go otherwise.

Yeah, the hope here is to implement siberx's design, as otherwise there's a lot of work that would need to be done..
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 09 February 2012, 11:08:24
Just as teasers, the stabilizer holes are supposed to be the size of the copper pads. Those holes are .039" = 1mm for easy drill alignment.

(http://i43.tinypic.com/dq6uxx.jpg)
(http://i39.tinypic.com/2h2mn3l.jpg)

Pads will be round, squared and stars... =P And there aren't even any diodes in those pictures yet =D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 11:11:24
Quote from: Parak;510213
I created a separate module and schematic component for a switch with an LED. At least on the pcb, it's easier to deal with for movement purposes, since you'll always have the LED holes in a specific location. Also, square pads should indicate anodes. You've probably done both of these things already anyway, so I'm likely being redundant :p



Yeah, the hope here is to implement siberx's design, as otherwise there's a lot of work that would need to be done..

Ahaha I do Electronic Engineering and still don't know which is the anode and which is the cathode. I need someone to tell me if long leg to + or short let ><.

I don't think there is a lot to do for the LEDs. apart from getting the right parts for biasing. The code for it to be implemented straight from the MCU is quite straight forward.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 11:12:26
Quote from: PrinsValium;510220
Just as teasers, the stabilizer holes are supposed to be the size of the copper pads. Those holes are .039" = 1mm for easy drill alignment.

Show Image
(http://i43.tinypic.com/dq6uxx.jpg)

Show Image
(http://i39.tinypic.com/2h2mn3l.jpg)


Pads will be round, squared and stars... =P And there aren't even any diodes in those pictures yet =D

Gonna Sqeel like a little girl. Have my babies Prin!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 11:27:14
Quote from: PrinsValium;510220
Pads will be round, squared and stars... =P And there aren't even any diodes in those pictures yet =D

I think that the one potential problem there is overlapping anode and cathode for differing switch positions means pin reassignment in the firmware most likely. It's also a bit of a headache schematic wise, I'd think.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 11:41:20
Quote from: Parak;510239
I think that the one potential problem there is overlapping anode and cathode for differing switch positions means pin reassignment in the firmware most likely. It's also a bit of a headache schematic wise, I'd think.

We should be fine if we rotate the switches when that happens?

The whole thing is a headache. This is why low level system/code design is so much harder. But once the framework/infrastructure is there, the high level stuff is easy!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 13:33:52
Quote from: hazeluff;510252
We should be fine if we rotate the switches when that happens?

Well, LEDs that are used for keyboard backlighting typically have fairly narrow viewing angles in order to be decently bright. The keycap legend is also usually positioned on top of said LED. By rotating the LED, the beam will be in a different place, and the lighting of that keycap will be somewhat different than the others that are oriented in a regular way.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 13:42:38
Quote from: hazeluff;509815
I don't see how it can't be done. Also transparent/translucent colorless is a plastic that SP has. Its one of the samples.

(Attachment) 39826[/ATTACH]

UEV!


They can, but not in the normal double-shot way. It will be more expensive. I think they did some keys with transparent legends, but don't remember the manufacturer.


BTW: SP key caps are so thin, that LEDs shine through. I'm using a KBDRUNNER as LED-cover on my Tipro.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 13:44:26
Quote from: 7bit;510356
They can, but not in the normal double-shot way. It will be more expensive. I think they did some keys with transparent legends, but don't remember the manufacturer.

I just emailed Mellisa she said it's possible, but they wont do it. Because of all the obstructing plastic.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 13:45:44
Quote from: hazeluff;510361
I just emailed Mellisa she said it's possible, but they wont do it. Because of all the obstructing.


What does she mean by "obstructing plastic"?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 13:49:22
Quote
Eugene-
While it is physically possible to use the material as a first shot, we won't sell keys this way. There is too much plastic under the keycap to interfere with the purpose of using the clear material.
Sorry!

I'll quote it.

Anyway I guess she means the that net like thing underneath that you see on all doubleshots?

But I Reckon the ambiance of the light should still make its way to the other side...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 13:54:15
Wait, so entirely transparent keys are fine, but using that material as an infill is not? ¬_¬
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 13:57:33
Quote from: hazeluff;510367
I'll quote it.

Anyway I guess she means the that net like thing underneath that you see on all doubleshots?

But I Reckon the ambiance of the light should still make its way to the other side...


(http://geekhack.org/attachment.php?attachmentid=20159&d=1310048686)
Imagine the red to be clear. You see white on the surface and then these lines under the surface.

We should let them make a run of sample keys.

What about a GEEK HACK key group buy in orange on clear, just to see the effect.

The legends might be more visible as with black on very dark grey.

Also, worth a try should be the oposite way: clear legend on a colored key.


ps: You can say about Ripster what you want, but he has made quite a lot of usefull photos.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 13:59:13
Quote from: Parak;510369
Wait, so entirely transparent keys are fine, but using that material as an infill is not? ¬_¬

Yeah...

Well cos if we do Clear legends on Opaque keys, you'll see that the mesh does kind of get in the way. I think one option may be for Translucent Clears and have WASD lazer engrave/etch them. I mean if we get a good amount of support for it maybe he'll do it. At the moment I can't think of another option.

Well if we get the interest, I may ask her to do a test if possible? I think Opaque legend on clear will look somewhat silly, but Clear legend on opaque keys seems like its possible, even tho the reduced brightness.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 14:05:21
Quote from: hazeluff;510373
Yeah...

Well cos if we do Clear legends on Opaque keys, you'll see that the mesh does kind of get in the way. I think one option may be for Translucent Clears and have WASD lazer engrave/etch them. I mean if we get a good amount of support for it maybe he'll do it. At the moment I can't think of another option.

Well if we get the interest, I may ask her to do a test if possible? I think Opaque legend on clear will look somewhat silly, but Clear legend on opaque keys seems like its possible, even tho the reduced brightness.


(http://geekhack.org/attachment.php?attachmentid=20146&d=1310045805)
Poor black Cherry doubleshot :-(

The light should shine through the transparent (white in the picture) legend, somehow.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 14:09:09
Quote from: 7bit;510376
Poor black Cherry doubleshot :-(

The light should shine through the transparent (white in the picture) legend, somehow.

From the loks of this one, it would through some (reflection/refraction and whatnot). But the T might not light up.

RIP Cherry key. May we have a moment of silence
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 14:19:11
.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 14:19:31
Quote from: 7bit;510386
.
' ' indeed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: 7bit on Thu, 09 February 2012, 14:21:55
Ok, moment of silence is over.

The legends should be where the LED is, like on the new Vortex keyboard which got stuck.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 14:23:25
Quote from: 7bit;510389
Ok, moment of silence is over.

The legends should be where the LED is, like on the new Vortex keyboard which got stuck.

Well as long as its not over the stem, I don't see devastating consequences.

I guess thing is, we don't know if it'll work and we still need to convince Melissa.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 16:36:39
Make this

(http://www.otd.kr/gn/data/file/album/3697244786_145d02f8_DSC01289.JPG)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 16:50:35
Quote from: tsangan;510458
Make this



No = p.
Thats almost just a Choc Mini in a nice case with nice caps. ><
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 16:53:09
No, that's a choc mini/race with good size modifiers and not retarded size ones
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 16:57:01
Quote from: tsangan;510470
No, that's a choc mini/race with good size modifiers and not retarded size ones
Well its missing like 60 keys from what I want to do ; p
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 16:57:37
Look at the Deck Legend. All of the legends are on the top half of the keys, directly above the LEDs. All switches are oriented upside down with the LEDs on top. And the ENTIRE bottom of the keycaps allows light through, not just a mesh.

(http://geekhack.org/attachment.php?attachmentid=39927&d=1328828234)

(http://geekhack.org/attachment.php?attachmentid=39926&d=1328827947)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 16:59:03
That thing has 78 keys, you want a 138 key keyboard :rofl:
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 17:00:01
Quote from: The_Ed;510475
Look at the Deck Legend. All of the legends are on the top half of the keys, directly underneath the LEDs. All switches are oriented upside down with the LEDs on top. And the ENTIRE bottom of the keycaps allows light through, not just a mesh.


Yeah but SP can't make it that way = /. We can put the LEDs on the top where the legends are, but noone to make us caps.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 17:03:21
Ask Deck who makes their keycaps. And if they make them in-house if they would make custom sets for us.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 17:04:45
Quote from: The_Ed;510479
Ask Deck who makes their keycaps. And if they make them in-house if they would make custom sets for us.
They don't even make sets of their own for sale separately, people have asked. So chances of anyone asking them to make a custom set are slim to none
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 17:10:44
You could bribe them with one of your cherry red esc tsangan. And you still haven't told me "where" you got your WNV...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 17:11:18
Quote from: The_Ed;510479
Ask Deck who makes their keycaps. And if they make them in-house if they would make custom sets for us.

Sent email.

Lets see. There's also Ducky/Razer?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 17:13:19
I know personally that the razer won't last more than a few years. They are just rubber painted onto clearish white keycaps that have had the legends lasered off.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 17:14:15
Quote from: ripster;510486
NICE pic!

Must be why I am the Number One Keyboard Expert On The Planet.

Vote here:
http://geekhack.org/poll.php?pollid=309&do=showresults

I voted. ; p

Ripster, If you are #1, Answer this:
Who will make us keycaps with transparent legends?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 17:14:52
Quote from: The_Ed;510488
I know personally that the razer won't last more than a few years. They are just rubber painted onto clearish white keycaps that have had the legends lasered off.

I know it's terrible. Its always a option, a rather poor one that's probably better not done.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: demik on Thu, 09 February 2012, 17:38:14
Quote from: tsangan;510458
Make this

Show Image
(http://www.otd.kr/gn/data/file/album/3697244786_145d02f8_DSC01289.JPG)


This. A million times this.

We already have one tenkeyless GH keyboard, let's go for something smaller.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 17:39:55
I just noticed that you voted NO to Ripster... I think you've just signed your own death warrant. He already doesn't like me so I won't vote.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 18:00:14
The thing I don't like about that 2 piece method is the square seam on the top of the keycaps... But it is still technically the best method for backlit keys right?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:11:11
Quote from: The_Ed;510514
The thing I don't like about that 2 piece method is the square seam on the top of the keycaps... But it is still technically the best method for backlit keys right?

Between this and the Razer method, I'd go for the Deck method.

If they are indeed PBT. I have an idea. But it might get costly. Get a white translucent keycaps and dyesub the legends on. I reckon that would be cool.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 18:12:13
Quote from: hazeluff;510530
Between this and the Razer method, I'd go for the Deck method.

They both don't sound appealing at all :peep:
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:16:35
Quote from: tsangan;510531
They both don't sound appealing at all :peep:

I edited for a crazier option 3. What do you think about Translucent keycap with dyesub legends?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tsangan on Thu, 09 February 2012, 18:17:36
Quote from: hazeluff;510541
I edited for a crazier option 3. What do you think about Translucent keycap with dyesub legends?

I dont want to go blind
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:19:38
Quote from: tsangan;510542
I dont want to go blind

Going more for a "glow" and less "blind". Tho we should have the option to set keyboard to LAZER.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 18:40:41
la S er... not Z. And I already have lasers. The goggles are what's expensive when it comes to lasers. The 2 pairs I own cost $87.60 and $157.94. Better safe than sorry. I wonder how long it will take to pay off school loans when I keep buying all sorts of "toys"... Though if the keyboard could blind an unauthorized user that would be friggin' awesome!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:41:54
Quote from: The_Ed;510563
la S er... not Z. And I already have lasers. The goggles are what's expensive when it comes to lasers. The 2 pairs I own cost $87.60 and $157.94. Better safe than sorry. I wonder how long it will take to pay off school loans when I keep buying all sorts of "toys"... Though if the keyboard could blind an unauthorized user that would be friggin' awesome!

@_@ Physics? Playing with LaZeRz?

I spell it Lazer because I'm too cool for school.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 18:45:13
Does anybody even have a machine that can dyesub the entire keycap minus the legend?

And I have lasers to burn things. Because burning things is cool. Uh huh huh... (beavis and butthead)

I swear that close to 2/3 of the posts here must be from us 2...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:47:33
Quote from: The_Ed;510568
Does anybody even have a machine that can dyesub the entire keycap minus the legend?

And I have lasers to burn things. Because burning things is cool. Uh huh huh... (beavis and butthead)

I swear that close to 2/3 of the posts here must be from us 2...

That wasn't what I was suggesting. I was actually suggesting a glowing keycap with dark legends (because I don't think anyone dyesubs whole keys).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 18:52:40
So then I WOULD need my laser goggles! Too much light would go through the keycaps. And Plus clearish white would look HORRIBLE on a black keyboard!

Try to get SP to do the Deck Legend method.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 18:54:34
Quote from: The_Ed;510580
So then I WOULD need my laser goggles! Too much light would go through the keycaps. And Plus clearish white would look HORRIBLE on a black keyboard!

Try to get SP to do the Deck Legend method.

It's unfortunate if you use a black keyboard. I reckon it would look pretty badass. Unfortunately no way to test my theory out.
And as for blinding lights. I think if we use PWM to drop the intensity, it could give a nice ambient glow on the keys. Like I wasn't thinking closer to opaque than transparent. So looks opaque but glows when lit.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 19:10:10
Seems like it would still give me a headache trying to see the legends through the glow. When I used the razer blackwidow ultimate in the past I had to turn it down low. I don't have enough pigment in the back of my eyes so my pupil expands to the size of my iris in a normally lit room. I can't see in the dark, and outside I'm blinded... And I get those oh so pleasant optical migraines from my dad's side... Oh and I also have glasses because I can't see even 6 inches anymore... I have a headache right now... And this is why I thought that I should still use a standard doubleshot set and just have the ambient glow around the keys... I need to go get some excedrin now...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 19:13:29
Quote from: The_Ed;510597
Seems like it would still give me a headache trying to see the legends through the glow. When I used the razer blackwidow ultimate in the past I had to turn it down low. I don't have enough pigment in the back of my eyes so my pupil expands to the size of my iris in a normally lit room. I can't see in the dark, and outside I'm blinded... And I get those oh so pleasant optical migraines from my dad's side... Oh and I also have glasses because I can't see even 6 inches anymore... I have a headache right now... And this is why I thought that I should still use a standard doubleshot set and just have the ambient glow around the keys... I need to go get some excedrin now...

= ( Thats gotta suck...

Maybe we will leave you with normal keycaps.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 19:23:14
normal or Deck style turned low.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 09 February 2012, 19:26:34
It was my understanding that the red/yellow Chinese flag cap was done as a yellow PBT keycap dyed red and lasered to get the yellow to show linky (http://geekhack.org/showthread.php?24994-dyesub-104-87-group-round-1&p=478130&viewfull=1#post478130)   makes me wonder about white PBT dyed black and lasered... Mmmm PBT
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 19:29:43
Quote from: alaricljs;510615
It was my understanding that the red/yellow Chinese flag cap was done as a yellow PBT keycap dyed red and lasered to get the yellow to show linky (http://geekhack.org/showthread.php?24994-dyesub-104-87-group-round-1&p=478130&viewfull=1#post478130)   makes me wonder about white PBT dyed black and lasered... Mmmm PBT

They are lazered and then filled with paint. You can see the dip in them. I've got a few keycaps from taobao which are done the same way.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Findecanor on Thu, 09 February 2012, 19:30:37
Quote from: The_Ed;509765

+ 8 above numpad - can use 3 of the top 4 switches' LED traces for the 3 "lock" LEDs
+ 16 in an extra row underneath Esc through Pause/Break that are in cherry G80/G81 -3000 positions
[...]
Fits into cherry G80/G81 -3000 cases

There are features inside the G8x-3000 cases that would make those requirements a bit difficult.

There are both "newer" cases for keyboards with windows keys, and there are older winkeyless cases.
These look almost the same from the outside, but they are somewhat different inside. The winkeyless cases are of higher quality with thicker plastic, so I think that they could be more desirable for this custom keyboard.

What complicates things is that there are poles here and there protruding from the top and/or bottom of the case through the PCB to hold it steady, and most of them are located in-between the function row and the numeric row where the extra row of function keys would go.
These poles are also in somewhat different positions inside newer and older cases, but the winkeyless cases have much fewer of them.
With a newer case, you would also have to cut away plastic for keys above the numpad.

Having an extra row of keys above the function row old would also involve some cutting, but a lot less and you wouldn't have to be tidy. The plastic could be twisted off with a pair of pliers even.

Also:
* It is not possible to add a plate without a lot of cutting, and it is a bit difficult (and noisy and dusty if you use a dremel)
* Winkeyless and winkeyful keyboards have lock LEDs in different positions (but that is a minor issue)

(I know this because I transplanted a Chicony 5181 with plate-mounted Monterey switches into a newer G80-3000 case ... and then I got an older case and did it all over again. I should really post pics of that mod ...)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 19:37:30
Quote from: The_Ed;510514
The thing I don't like about that 2 piece method is the square seam on the top of the keycaps... But it is still technically the best method for backlit keys right?


It's still not the most optimal, judging from my used TG3s. The top coating is basically fading out to the point of letting more of the backlight through, and washing out the legend.

I wonder if the reverse would be more feasible, where the cap is clear with some color of an infill. The LEDs can then be wide angle, for a rather different effect than typical backlit keyboards, but at least forever lasting.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 19:40:54
Quote from: Findecanor;510622
There are features inside the G8x-3000 cases that would make those requirements a bit difficult.

There are both "newer" cases for keyboards with windows keys, and there are older winkeyless cases.
These look almost the same from the outside, but they are somewhat different inside. The winkeyless cases are of higher quality with thicker plastic, so I think that they could be more desirable for this custom keyboard.

What complicates things is that there are poles here and there protruding from the top and/or bottom of the case through the PCB to hold it steady, and most of them are located in-between the function row and the numeric row where the extra row of function keys would go.
These poles are also in somewhat different positions inside newer and older cases, but the winkeyless cases have much fewer of them.
With a newer case, you would also have to cut away plastic for keys above the numpad.

Having an extra row of keys above the function row old would also involve some cutting, but a lot less and you wouldn't have to be tidy. The plastic could be twisted off with a pair of pliers even.

Also:
* It is not possible to add a plate without a lot of cutting, and it is a bit difficult (and noisy and dusty if you use a dremel)
* Winkeyless and winkeyful keyboards have lock LEDs in different positions (but that is a minor issue)

(I know this because I transplanted a Chicony 5181 with plate-mounted Monterey switches into a newer G80-3000 case ... and then I got an older case and did it all over again. I should really post pics of that mod ...)

Can the Protruding bits be cut off? If not, if ther are only like a couple layouts for them, we can have holes for them.

 If one wishes to go for a extra function row then yes he will have to cut plastic. You can choose whether or not you want the extra keys above the number pad. For someone who wants to use the cases and don't want to cut plastic. I'd assume they would stick with the original layout that would fit inside the case. We're not designing it so that all versions fit in the Cherry cases. We're designing so that if you so choose to use a Cherry case, you can do it (but you'd have to give up extra keys if you don't want to cut things up).

Don't think there are issues, but thank you for pointing out those mounting pegs on the inside of cases.

As for the plate thing, I don't know whether or not we can put in PCB stabilizer slots. What's the reason for not being able to use plates?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 19:45:49
Quote from: Parak;510630
It's still not the most optimal, judging from my used TG3s. The top coating is basically fading out to the point of letting more of the backlight through, and washing out the legend.

I wonder if the reverse would be more feasible, where the cap is clear with some color of an infill. The LEDs can then be wide angle, for a rather different effect than typical backlit keyboards, but at least forever lasting.

It might be possible to do that. I'm currently asking melissa about the clear/translucent PBT keycap with dyesub legends (will be costly as **** if possible).

Also reply from before about why they won't doubleshot clear on opaque and "other ways of doing clear legend on opaque keycap":

Quote
Correct - there will be blockage from the 'Grid' under the keycap - little to no light will come through.
The only way we can do translucent legends is to mold them in a translucent polycarbonate material, paint them with black paint, then engrave to expose the translucent legend. As you might image, this is our most expensive process.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 19:49:31
It's not an inability, it's just the FEEL of typing on a PCB compared to a plate. I prefer the feel of PCB, but to do that I need the PCB holes to mount the switches and G99 stabilizers. To use the extra keys there will have to be plastic cut away, this was already known. But even if extra keys aren't used the extra row may call for a few nubs to be removed. I will open one of my keyboards up now to find out. I will post again in a few minutes.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 19:51:54
Quote from: The_Ed;510647
It's not an inability, it's just the FEEL of typing on a PCB compared to a plate. I prefer the feel of PCB, but to do that I need the PCB holes to mount the switches and G99 stabilizers. To use the extra keys there will have to be plastic cut away, this was already known. But even if extra keys aren't used the extra row may call for a few nubs to be removed. I will open one of my keyboards up now to find out. I will post again in a few minutes.

Was explaining to the person I quoted.

The fact that using the cherry case may also mean the inability to add the extra keys.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 19:57:04
Quote from: hazeluff;510643
The only way we can do translucent legends is to mold them in a translucent polycarbonate material, paint them with black paint, then engrave to expose the translucent legend. As you might image, this is our most expensive process.


Depending on the amount of paint used, this sounds like the type of method that was used on the keys on my cortrons (http://geekhack.org/showwiki.php?title=Island:13306&viewfull=1&page=1&do=comments#post292001). It is definitely a very durable process, but skimping on the paint turns it into a TG3/Deck keycap :/
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 19:59:32
Damn... I need to get my tamper proof bits...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 20:09:20
Quote from: Parak;510652
Depending on the amount of paint used, this sounds like the type of method that was used on the keys on my cortrons (http://geekhack.org/showwiki.php?title=Island:13306&viewfull=1&page=1&do=comments#post292001). It is definitely a very durable process, but skimping on the paint turns it into a TG3/Deck keycap :/

The Razer BW are done with this method, The worry is the wear on them.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 20:12:26
Those round "barrels" will have to be removed for all layouts. There are screw holes that can be used instead. There are a few stabilizing pins that need holes as well.

(http://geekhack.org/attachment.php?attachmentid=39946&d=1328839750)

(http://geekhack.org/attachment.php?attachmentid=39944&d=1328839699)

(http://geekhack.org/attachment.php?attachmentid=39945&d=1328839725)

(http://geekhack.org/attachment.php?attachmentid=39943&d=1328839669)

(http://geekhack.org/attachment.php?attachmentid=39947&d=1328839777)

(http://geekhack.org/attachment.php?attachmentid=39942&d=1328839643)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 20:22:25
Okay! So there are 3 "barrel" things that would have to be cut off. The "lock" LED area would have to be ground down <2 millimeters to be flat. There are 5 screw holes for securing the PCB as well as 2 stabilizing pins. So there will have to be 7 holes in the PCB to secure it.

So basically <10 minutes with a dremel and you're good to go. Unless you want to cut out the front piece for extra switches of course.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 09 February 2012, 20:27:07
Quote from: hazeluff;510663
The Razer BW are done with this method, The worry is the wear on them.

Yeah, the cortron uses extremely thick coating; I can see and feel the edges of it in the legend, and even the used board does not show any wear on the keycaps at all. I doubt that SP uses the same type of process..
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 20:28:44
Quote from: Parak;510673
Yeah, the cortron uses extremely thick coating; I can see and feel the edges of it in the legend, and even the used board does not show any wear on the keycaps at all. I doubt that SP uses the same type of process..

And neither do I like the edges on the legends @_@.

@The_Ed alright, so not too bad I guess?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 20:36:13
1. RED - Cut off the 3 "barrels"
2. BLUE - Grind down the bits that stick up in the 3 "lock" LED area
3. GREEN - There are 5 screw holes
4. YELLOW - There are 2 stabilizing pins that go through holes in the PCB

(http://geekhack.org/attachment.php?attachmentid=39948&d=1328841039)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 20:40:30
Quote from: The_Ed;510677
1. RED - Cut off the 3 "barrels"
2. BLUE - Grind down the bits that stick up in the 3 "lock" LED area
3. GREEN - There are 5 screw holes
4. YELLOW - There are 2 stabilizing pins that go through holes in the PCB


Alright. = / So no way of doing it for the board without modding?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 20:43:36
Only because we are adding those extra keys. If we were doing ONLY 104 it would fit perfectly WITHOUT modding.

Is it weird for me to feel wrong about looking at my board "naked"? It just doesn't seem... right...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 20:45:57
Quote from: The_Ed;510681
Only because we are adding those extra keys. If we were doing ONLY 104 it would fit perfectly WITHOUT modding.

Wait really? How? Which Keys?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 20:48:57
The extra keys underneath F1, F9, Scroll Lock, Pause/Break (possibly, it's really close), and the extra 8 above the numpad would have to go for us to put this into a cherry case WITHOUT modding it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 20:56:49
Quote from: The_Ed;510685
The extra keys underneath F1, F9, Scroll Lock, Pause/Break (possibly, it's really close), and the extra 8 above the numpad would have to go for us to put this into a cherry case WITHOUT modding it.
You are saying that those poles stick up into that area between the function  row and the number row. And we need to put holes into the PCB or Mod the case. But maybe, we can fit those holes in the PCB? ( I don't know, we are really pushing this towards ease of putting it in the cherry case).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 21:15:44
More pics! The PCB holes for PCB mounted MX, PCB mounted G99 stabilizers, and 7 mounting holes shouldn't interfere with the routing. I like the extra switches, they allow my media keys/knobs. If people can't spend 10 minutes to mod their case for a custom keyboard then they shouldn't be building one in the first place. The first picture shows the relative sizes of the switch, stabilizer, and screw holes.

(http://geekhack.org/attachment.php?attachmentid=39958&d=1328843097)

(http://geekhack.org/attachment.php?attachmentid=39957&d=1328843073)

(http://geekhack.org/attachment.php?attachmentid=39956&d=1328843052)

(http://geekhack.org/attachment.php?attachmentid=39954&d=1328843005)

(http://geekhack.org/attachment.php?attachmentid=39955&d=1328843027)

(http://geekhack.org/attachment.php?attachmentid=39953&d=1328842984)

(http://geekhack.org/attachment.php?attachmentid=39952&d=1328842960)

(http://geekhack.org/attachment.php?attachmentid=39951&d=1328842936)

(http://geekhack.org/attachment.php?attachmentid=39950&d=1328842908)

(http://geekhack.org/attachment.php?attachmentid=39949&d=1328842882)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mtl on Thu, 09 February 2012, 21:21:08
Quote from: tsangan;510480
They don't even make sets of their own for sale separately, people have asked. So chances of anyone asking them to make a custom set are slim to none
They used to sell these blank keycap kits. Maybe they can be convinced to do it again, though you'd still need a process to paint the legends.
[ATTACH=CONFIG]39960[/ATTACH][ATTACH=CONFIG]39959[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 21:23:05
If the holes don't affect routing , we should be fine. I'm trying to aim this to those who don't want to mod more than just putting in switches in a layout. But I won't cater to it, if it means heavy (re)design of the board and such. For those willing like you, 10 mins work on the plastic isn't too bad.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 21:28:21
We will NOT be using the RED "barrels" to mount the PCB. We will be using the 5 BLUE screw holes and 2 BLUE stabilizing pins. I don't yet know for sure exactly where those 5 screw holes match on the PCB so we may have to use less. The 2 stabilizing pins do not interfere with anything.

(http://geekhack.org/attachment.php?attachmentid=39961&d=1328844158)

(http://geekhack.org/attachment.php?attachmentid=39962&d=1328844184)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 21:43:44
So seems like alls good = D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 21:47:34
Those 5 screw holes mean that some PCBs must have used both the "barrels" and screws. Those things weren't goin' nowhere. It looks like only the 2 screw holes on the ends can be used for sure. So 2 screws and 2 stabilizing pins for sure. The other 3 screw holes are up to careful measurement...

(http://geekhack.org/attachment.php?attachmentid=39969&d=1328845526)

(http://geekhack.org/attachment.php?attachmentid=39968&d=1328845502)

(http://geekhack.org/attachment.php?attachmentid=39967&d=1328845477)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 09 February 2012, 21:53:24
The GeekHack servers must hate me right now. I'm taking up all the bandwidth with my pictures. My sister's new camera is awesome. She'll scream at me later when she realizes I took it from her room.

"You are currently using 29.44 MB to store 38 uploaded attachments." - Yeah and it takes FOREVER to upload that much to these slow ass servers...

I told her I used it... I got screamed at... I'm forbidden from using it again... I'll still use it when I want... Rinse and repeat...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Thu, 09 February 2012, 22:46:23
Quote from: The_Ed;510722
The GeekHack servers must hate me right now. I'm taking up all the bandwidth with my pictures. My sister's new camera is awesome. She'll scream at me later when she realizes I took it from her room.

"You are currently using 29.44 MB to store 38 uploaded attachments." - Yeah and it takes FOREVER to upload that much to these slow ass servers...

I told her I used it... I got screamed at... I'm forbidden from using it again... I'll still use it when I want... Rinse and repeat...

Hell yeah = p

I have a ton of attachments as well @_@.

Anyway, since nothing bad seems to be going on. I'm gonna leave it be and go to bed. Gotta wake up in 3 hours for a lecture...LOL Me and my sleeping patterns. I gotta learn sometime not to sleep so late...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 10 February 2012, 01:29:51
Does anyone have any idea as to how I can mark where the center 3 screwholes line up on the PCB? Stick "something" in the screwholes and press the PCB onto it? When a "test" PCB is ordered I could be one of the people to test it to make sure it both fits in the case right and works properly.

I used a hole punch on double-sided tape. I stuck the dots of tape on the 5 screw holes and pressed the PCB against them. There are now 5 dots of tape stuck to the PCB. It doesn't look good for the 3 screw holes in the center. But the side 2 look like they won't interfere with anything. I will post a picture tomorrow when I get my sister's camera again.

I figured out why the servers take so long. I upload my pictures, and then it shrinks and compresses them to less than a quarter of their original size and quality! WHY?!!! Oh and hazeluff are you up again yet? Or are you sleeping through your lecture? I should probably be in bed myself... Oh yeah... Excedrin has caffeine... But at least my headache is barely noticeable. Now how do I sleep... Damnit! More people need to be awake now cause I'm bored... Guess I'll try to sleep now. Not that it'll do any good. I am kinda hungry though... Someone make me a sammich!...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 04:12:51
I didnt wake up in time for my first lecture
 I am now. How about lay a bit of bluetack on the nobs. And press the bord ontop them and hopefully they stick
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Findecanor on Fri, 10 February 2012, 10:19:07
Quote from: hazeluff;510635
Can the Protruding bits be cut off?
Yes, and that is quite easy if you have modded plastic cases before, but it might not be for everyone.
Winkeyless cases are easier to modify, because they do not have those big-ass "barrels" (as The_Ed called them).

Quote from: hazeluff;510635
What's the reason for not being able to use plates?
There are "skirts" down the edges of the key groups. These touch the top of the PCB. To fit a plate in there, you would have to cut away approx. half the height of these skirts. This is tricky and a bit of work to do. The biggest difficulty is getting the height right. If you get that wrong then either it won't fit or the top will be wobbly.

Awful picture, but you can see the burrs where I have cut.
[ATTACH=CONFIG]39989[/ATTACH]

Gotta go. I'll post more later.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 10:23:43
Quote from: Findecanor;511011
Yes, and that is quite easy if you have modded plastic cases before, but it might not be for everyone.
Winkeyless cases are easier to modify, because they do not have those big-ass "barrels" (as The_Ed called them).


There are "skirts" down the edges of the key groups. These touch the top of the PCB. To fit a plate in there, you would have to cut away approx. half the height of these skirts. This is tricky and a bit of work to do. The biggest difficulty is getting the height right. If you get that wrong then either it won't fit or the top will be wobbly.

Awful picture, but you can see the burrs where I have cut.
(Attachment) 39989[/ATTACH]

Gotta go. I'll post more later.

Well, i mean if you want to use one of the cherry cases you're gonna have to either mod or sacrifice the plate.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 11:16:59
I've been bugging Melissa about making keycaps thet allow light through for the whole of yesterday.

Quote
Those keys shouldnt pass any light as they are colored to be opaque. I have a keycap molded out of PBT natural if you want to test it for backlighting...

"Those keys" refer to normal white PBT.

I am inquiring about this "PBT natural". And ask her if she'd kindly take a photo of it against any light source, just to see if it allows for much light.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 11:23:01
Quote from: ripster;511064
Tell her hi.

Send her this link too:GLWIC (http://geekhack.org/showthread.php?24707-Why-Is-The-Ripster-So-Darn-Pissed-At-Signature-Plastic-Key-Group-Buys&p=465725&viewfull=1#post465725).

On second thought, better not.

I know you're mad ripster. Calm down.

Here have a bagel.

[ATTACH=CONFIG]40009[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 10 February 2012, 15:12:24
Here are the pictures of the double-sided tape dots I promised. The screw holes would be smaller and fit somewhere inside of the areas defined by the dots. Which means that only the side 2 screw holes can be used for sure. The center 3 look like they line up with the bottoms of switches. Am I right?

(http://geekhack.org/attachment.php?attachmentid=40028&d=1328907552)

(http://geekhack.org/attachment.php?attachmentid=40026&d=1328907523)

(http://geekhack.org/attachment.php?attachmentid=40025&d=1328907496)

I hadn't noticed those "skirts" before. Here's a picture of what he's talking about. It looks like it'll take <10 minutes for those who aren't using a plate (like myself). But if you are using a plate it'll take about 30 minutes. I bet some people would rather make their own case than mod one for half an hour to make the plate fit. Why do people even like plates in the first place? What benefits do they bring? I can only think of cons... 1. They detract from the typing experience 2. They make it a pain in the ass to modify switches 3. They make the keyboard friggin' heavy... the list goes on...

(http://geekhack.org/attachment.php?attachmentid=40029&d=1328907576)

Oh and just cause I'm bored, some entertainment.

(http://geekhack.org/attachment.php?attachmentid=40030&d=1328907596)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 16:27:14
Quote from: The_Ed;511222

I hadn't noticed those "skirts" before. Here's a picture of what he's talking about. It looks like it'll take <10 minutes for those who aren't using a plate (like myself). But if you are using a plate it'll take about 30 minutes. I bet some people would rather make their own case than mod one for half an hour to make the plate fit. Why do people even like plates in the first place? What benefits do they bring? I can only think of cons... 1. They detract from the typing experience 2. They make it a pain in the ass to modify switches 3. They make the keyboard friggin' heavy... the list goes on...



I don't know what you mean in 1). How does it detract from the typing experience?
2) Is invalid because we'll be using the nice pockets next to the switch holes, like on the phantom modifying switches will be the same difficulty as without the switch.
3) It does, but weights kind of good if you don't need to move the keyboard around a lot. The weight gives it stability.

Anything can be seen from different angles.

The sticky tape seems to line up either in the center or touching the bottom of the switch.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 10 February 2012, 16:56:43
So are we just going to use the 2 screw holes on the sides and the 2 stabilizing pins to mount the PCB? This should be enough right?

Have you ever typed on PCB mounted mx? I have typed on both PCB and plate mounted, and I prefer the FEEL of PCB mounted. They both feel different, and unless you've tried both you can't comment on whether or not you like plates in my book.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 17:24:10
Quote from: The_Ed;511274
So are we just going to use the 2 screw holes on the sides and the 2 stabilizing pins to mount the PCB? This should be enough right?

Have you ever typed on PCB mounted mx? I have typed on both PCB and plate mounted, and I prefer the FEEL of PCB mounted. They both feel different, and unless you've tried both you can't comment on whether or not you like plates in my book.

I have never, so I'm not commenting on the feel. I'm just commenting on the functionality of it. Should get one to give it a whirl.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 10 February 2012, 20:43:03
I tested the rotary encoders I bought and oddly the left and middle pins are pins A and B, while the right pin is the shared Ground pin... From Digi-Key they were $12.60 (after tax and shipped) for 4 of them. They will work quite nicely as my volume and fast forward/rewind knobs. Now all I need is a PCB to wire them to... How long do you think it will take for the PCBs to be completed?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 10 February 2012, 20:58:50
Quote from: The_Ed;511423
I tested the rotary encoders I bought and oddly the left and middle pins are pins A and B, while the right pin is the shared Ground pin... From Digi-Key they were $12.60 (after tax and shipped) for 4 of them. They will work quite nicely as my volume and fast forward/rewind knobs. Now all I need is a PCB to wire them to... How long do you think it will take for the PCBs to be completed?

I would assume you could mount it to the case like a lot of similar components. It's got that nut that clamps onto the case.

If you really need a board, get a veroboard? It's basically a PCB with metal strips and holes. Its cheaper and doesn't require it to be custom made. There should be ones where its not strips and just circular pads too.
http://www.verodirect.com/images/UploadedImages/01-0033.jpg
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 10 February 2012, 21:33:40
Technically without a custom PCB I would need 2 layers. A mounting layer that's just a blank board that I drill mounting holes in, and a wiring layer that has only circle contacts. That would mean a custom case that's friggin' high too. I won't be doing that much work, so I'll wait for this custom PCB. I just want you to throw out a rough estimate of when you think this custom PCB will be completed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sat, 11 February 2012, 07:58:18
Quote from: The_Ed;511446
Technically without a custom PCB I would need 2 layers. A mounting layer that's just a blank board that I drill mounting holes in, and a wiring layer that has only circle contacts. That would mean a custom case that's friggin' high too. I won't be doing that much work, so I'll wait for this custom PCB. I just want you to throw out a rough estimate of when you think this custom PCB will be completed.

Expect quite a few months... at least...Since it's still being worked on and we're not rushing it (neither do I really have much time if it is made quickly). Uni work has got me occupied most of the time. So yeah.

We don't even know if our whole concept even works/is possible yet. So it's going to be at least some time.

Then again unless if someone else pushes this forth, it could be quite fast.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 12 February 2012, 23:33:07
For POS cherry boards what does the third letter of A, B, C, or D signify? I just got a POS for parts on ebay and I noticed that some models have 4 model numbers. They look identical except for that third letter. Any Ideas? Or is cherry just being weird...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 13 February 2012, 17:33:04
For the screw holes - I think that there should be 3 more screw holes in the space between f4/f5, f8/f9, and f12/prt sc/sys rq. Therefore if you use a cherry case you have the 2 screw holes on the sides and the 2 stabilizing pins. But if you use a custom case you could use 7 screws (using stabilizing pin holes for screws instead). I could probably mod a cherry case to be able to accept 7 screws myself even.

Oh and there are 31 new G80-3000LSCEU-2 going for $83.24 a piece right now. Makes those Leopold's look expensive right now. They should be US ANSI with € on the 5 key. Though my G80-3000LQCEU-2 came with a regular 5 key...

http://www.ebay.com/itm/NEW-Cherry-G80-3000-Standard-Keyboard-G80-3000LSCEU-2-/380410644490?pt=PCA_Mice_Trackballs&hash=item58923dc80a#ht_2329wt_1189 (http://www.ebay.com/itm/NEW-Cherry-G80-3000-Standard-Keyboard-G80-3000LSCEU-2-/380410644490?pt=PCA_Mice_Trackballs&hash=item58923dc80a#ht_2329wt_1189)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 13 February 2012, 19:07:17
Update on translucent keycaps.

The best SP can do is use a material they call PBT Natural (I guess the PBT with no color added?). Melissa attached the following image to show me what it was like. It is a PBT natural keycap over a "very strong orange colored LED."

[ATTACH=CONFIG]40427[/ATTACH]

So the key is that White color, and the yellow/orange is the LED shining through. I think it would look very nice as a keycap replacement for backlit keyboards. With that said, I will likely run this as a GB with the keyboard when it does happen = p. Or someone can pick it up and do it now if they'd like.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 13 February 2012, 20:07:47
If an orange LED is yellow through the PBT, then what color will a blue LED be through the PBT?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 13 February 2012, 20:27:30
Quote from: The_Ed;513600
If an orange LED is yellow through the PBT, then what color will a blue LED be through the PBT?

Either the PBT is absorbing Red light, or the color of the camera wasn't calibrated. Or maybe the orange LED was very Yellow. = / If you look at at the grey/black board around the key, you can see it is yellow and not orange. Suggesting the natural light of the LED is like that color.

I don't think its the PBT absorbing since it's color is white.
 
I don't think the keycap is distorting it (or very little).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 13 February 2012, 20:44:19
Would these white "natural" PBT keycaps have the legends dye sublimated on? Or would they be able to doubleshot the white "natural" PBT into black keycaps?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 13 February 2012, 20:45:41
There's no such thing as double-shot PBT because of the sizeable shrinkage of cooling PBT
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 13 February 2012, 20:49:01
We can't do doubleshot method. It doesn't work out no matter what material we use because of the "blocking" of light. Which is why I asked melissa about these PBTs.

PBTs have to be dyesubed if we want legends.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 13 February 2012, 20:52:19
Dye Sublimated in cycloverid replica cherry font?

Would the letters themselves be what's dyed or everything but the letters? And if it's everything but the letters is that just the top or the top and the sides?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 11:36:56
Quote from: The_Ed;513630
Dye Sublimated in cycloverid replica cherry font?

Would the letters themselves be what's dyed or everything but the letters? And if it's everything but the letters is that just the top or the top and the sides?

Dye the letters themselves. I think showing off the backlighting would be cool = D. Also there are no keys out there like this (I don't think), but all boards come with legends that light up.

I have made a replica Cherry font myself too, it might not be too pricy to put those on. Not sure how much SP charge for a ton of custom legends.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 15:16:25
I think it would be cooler (and easier on my eyes) if everything but the letters was dye sublimated on the top. That way the letters and the entire sides would still glow. But it would allow for better contrast to be able to "see" the letters. I would then use blue LEDs because I find that blue lettering on a black background is easiest on my eyes. What do you think about that?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 15:29:47
Deck only have the letters glow. The letters and sides would glow from what I'm suggesting.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 15:55:48
About the only legend glowing. That method might not sit so well with SP. And I don't think SP will cover a key in dyesub. I mean there was the way of "paiting" the whole key but the legends, but that costs a lot too.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 15:59:56
NOT the whole key is what I keep saying now. That would cost too much you said. I'm only talking about dye sublimating everything but the letters on the TOP of the keycaps. That means that the entire sides of the keycaps glow as well as the letters.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 16:03:36
Quote from: harrison;514462
no, we get it.  they don't dye the sides of the key anyhow.

do you even know if they're willing to dye their clear/translucent plastic?

Well it's PBT, They'll probably do it.

I'm not sure how it'll look if we do it the way you described. Don't think many other people would be into it either.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 16:08:26
Don't they do just that on the tops of the Deck keycaps?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 16:09:00
Quote from: harrison;514469
it's one of those things where we'd need to see it first.

easiest way to get an impression of what it would look like is to get a set of blanks and get decals cut.  we'd need white balanced shots to see how different LEDs react to the plastic.  i'm also curious about the margins/boarders that SP could work with, assuming they'd be willing to cover ~95% of the key's top surface in dye.  i'm going to guess they'd want a premium for that much ink.

I think its very possible. >< Someone put a decal on their clear cap and test it. ><
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 14 February 2012, 16:09:21
Deck caps are printed ABS not dyesubbed PBT.  And yeah, they paint the negative.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 16:11:20
From the FAQ on Deck's site:

Quote
NEVER! Characters can't chip off the key caps or wear down because we use a sublimated negative printing process which drives the ink into the plastic keycaps at 525°F. This means permanent printing from the inside out, not just on the top, and gives the letters a permanent place inside the plastic.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 16:18:35
Interesting. I can't imagine SP charging us the same as just the legend if we cover the whole cap in dyesub ><.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 16:23:43
Isn't the legend fee fixed?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 14 February 2012, 16:25:31
Quote from: The_Ed;514491
Isn't the legend fee fixed?

No idea...Since they don't openly list prices. I could image they would charge w/e they want. And if I were them, this is the perfect excuse to charge more.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 14 February 2012, 16:33:49
You better hope they don't read this thread...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 19 February 2012, 14:21:04
Wondering if Prin is still working on a board, or if I should do something...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 19 February 2012, 14:39:47
Do whatever you can to help get this rolling. As I have no experience making PCBs I can't really do much. Pictures and witty banter are pretty much all I can contribute. By the way, that "keycap flip" is quite clever. When I first saw it a while ago it took me a good 10 seconds of confusion before I saw "it". I'll have to figure out how to accurately measure those 7 holes to see "for sure" which ones can be used, and where "exactly" they would have to be put on the custom PCB. I'm thinking a rigid clear plastic sheet... Now all I have to do is find a big enough piece somewhere... Or is there a better way?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 19 February 2012, 15:04:39
metafour thinks I'm related to you ripster. I personally don't see the resemblance.

http://geekhack.org/showthread.php?20459-Second-Group-of-Brand-New-Official-Cherry-Double-Shot&p=518060&viewfull=1#post518060 (http://geekhack.org/showthread.php?20459-Second-Group-of-Brand-New-Official-Cherry-Double-Shot&p=518060&viewfull=1#post518060)

Well... Maybe a little...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 19 February 2012, 15:05:41
Quote from: The_Ed;518870
Do whatever you can to help get this rolling. As I have no experience making PCBs I can't really do much. Pictures and witty banter are pretty much all I can contribute. By the way, that "keycap flip" is quite clever. When I first saw it a while ago it took me a good 10 seconds of confusion before I saw "it". I'll have to figure out how to accurately measure those 7 holes to see "for sure" which ones can be used, and where "exactly" they would have to be put on the custom PCB. I'm thinking a rigid clear plastic sheet... Now all I have to do is find a big enough piece somewhere... Or is there a better way?

Thing is that Prin has a good start on it, I'm not sure I can be doing much to help. ><
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Sun, 19 February 2012, 22:29:00
I'm sort of still working on it... I need to read up a lot on the electronics =) I asked for some help on a Swedish electronics forum, and got a lot of good tips.

My design will be a universal Filco (perhaps also Poker) replacement board though. With a lot of extra options and bonus layouts with homemade cases. Like alpha+numpad instead of standard tenkeyless, and the ability to keep only the alpha plus any setup of the rest =)

I think I'm getting a good idea on how to wire everything. There will be shift registers (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn74hc595&fileType=pdf) to hold all the LED data, 6 rows × 3 per/row × 8 bits/registry, each row will be loaded serially, all rows in parallel, into a the storage registry, then the data is clocked out the outputs. The rows will be cycled by a separate decade counter (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=CD4017B&fileType=pdf) clocked by a PWM output pin. Keypresses will be read through three buffers (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=SN74HC541&fileType=pdf), six columns at a time.

Then there needs to be a lot of diodes like always, and a bunch of transistors, some capacitors all over the place and the MCU and all the extra components that it needs to have... I think I am going to stick to the ATmega32u4 like on the Teensy, then at least I know that the HID interface will be working =P The smaller ATmega32u2 would be easier to squeeze in, but I am unsure of how easy or possible it is to make the keyboard code run on it.. I don't know anything about this AVR business... Also I need to figure out how to program the MCU, I have a programmer that I at least think is able to do these MCUs =)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 19 February 2012, 22:40:00
Quote from: PrinsValium;519258
I'm sort of still working on it... I need to read up a lot on the electronics =) I asked for some help on a Swedish electronics forum, and got a lot of good tips.

My design will be a universal Filco (perhaps also Poker) replacement board though. With a lot of extra options and bonus layouts with homemade cases. Like alpha+numpad instead of standard tenkeyless, and the ability to keep only the alpha plus any setup of the rest =)

I think I'm getting a good idea on how to wire everything. There will be shift registers (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn74hc595&fileType=pdf) to hold all the LED data, 6 rows × 3 per/row × 8 bits/registry, each row will be loaded serially, all rows in parallel, into a the storage registry, then the data is clocked out the outputs. The rows will be cycled by a separate decade counter (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=CD4017B&fileType=pdf) clocked by a PWM output pin. Keypresses will be read through three buffers (http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=SN74HC541&fileType=pdf), six columns at a time.

Then there needs to be a lot of diodes like always, and a bunch of transistors, some capacitors all over the place and the MCU and all the extra components that it needs to have... I think I am going to stick to the ATmega32u4 like on the Teensy, then at least I know that the HID interface will be working =P The smaller ATmega32u2 would be easier to squeeze in, but I am unsure of how easy or possible it is to make the keyboard code run on it.. I don't know anything about this AVR business... Also I need to figure out how to program the MCU, I have a programmer that I at least think is able to do these MCUs =)

I quite liked the idea of using the polling columns to shift through the LEDs as well, Is the shift registers really necessary?

Also, would it be hard for others to load, since not everyone has a programmer.

I might go head with what I had in mind and design with the teensy as the MCU. I think with the use of some FETs there doesn't need to be shift registers.

Have you documented any measurements for things that I could possibly get off of you? Also maybe components like diodes/resistors designs for the software. That would be handy.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 07:45:43
Wait, 6 rows? I thought we were doing a 7 row 133 key board. And how could you possibly route it to work as a fullsize, tenkeyless, and poker?! That's a lot of extra circuitry you're adding too. Wouldn't that drive up the price too much? How is a filco replacement board "universal"?...

hazeluff - I don't know what FETs are, but if it turns out they can in fact be used, you should design a competing board. That way there would be a "filco - fullsize and tenkeyless, and poker" and a "cherry, custom (133 key)" version.

Crap... I went to Wikipedia...

Quote from: Wikipedia
Source (S), through which the majority carriers enter the channel. Conventional current entering the channel at S is designated by IS.
Drain (D), through which the majority carriers leave the channel. Conventional current entering the channel at D is designated by ID. Drain to Source voltage is VDS.
Gate (G), the terminal that modulates the channel conductivity. By applying voltage to G, one can control ID.


Quote from: PrinsValium
Show Image
(http://geekhack.org/attachment.php?attachmentid=41183&d=1329744434)


So if I have this straight - Those Transister_NPN would be replaced by FETs. C would be Source (S), B would be Gate (G), and E would be Drain (D).

When in polling mode - the FETs on the LED rows would have their gates closed to prevent the LEDs from lighting up during polling. Each column would take it's turn having it's gate open to be polled through the switch rows.

When in LED lighting mode - The FETs on the LED rows would have their gates opened (when polled) to allow the LEDs to light up when they are polled. Each column would take it's turn having it's gate open to light up the LED rows that were polled.

Is this what you're trying to do?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 07:58:43
Quote from: The_Ed;519486
Wait, 6 rows? I thought we were doing a 7 row 133 key board. And how could you possibly route it to work as a fullsize, tenkeyless, and poker?! That's a lot of extra circuitry you're adding too. Wouldn't that drive up the price too much? How is a filco replacement board "universal"?...

So if I have this straight - Those Transister_NPN would be replaced by FETs. C would be Source (S), B would be Gate (G), and E would be Drain (D).

When in polling mode - the FETs on the LED rows would have their gates closed to prevent the LEDs from lighting up during polling. Each column would take it's turn having it's gate open to be polled through the switch rows.

When in LED lighting mode - The FETs on the LED rows would have their gates opened (when polled) to allow the LEDs to light up when they are polled. Each column would take it's turn having it's gate open to light up the LED rows that were polled.

Is this what you're trying to do?


I'm leaning towards having completely separate matrices for the switches and LEDs after all.

But wiring like that picture it should probably be possible to do both the LED lighting and switch sensing at the same time. If there aren't to much stray capacities/inductances.

I just picked the transistor symbol I had at hand. FETs and BJTs are very different but still the "same" in this application, we only want them maxed out as current switches. N- as well as P-channel could be used depending on what what turns out to be the most suitable.

A universal Filco replacement board have all the important circuitry contained within the alpha-section. This makes it possible to cut away parts not needed. The Filco tenkeyless is the same physical layout as the fullsize (differing only in mounting holes and other under the hood stuff). Simple circuitry doesn't mind being cut away if designed to allow for it. Mounting holes may interfere, but I don't think I have run into any unsolvable problems this far.

I'm redesigning my backup script at the moment (important second to nothing...), but after that I might squeeze in some KiCAD time =)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 08:08:22
Quote from: hazeluff;519267
I quite liked the idea of using the polling columns to shift through the LEDs as well, Is the shift registers really necessary?

Also, would it be hard for others to load, since not everyone has a programmer.

I might go head with what I had in mind and design with the teensy as the MCU. I think with the use of some FETs there doesn't need to be shift registers.

Have you documented any measurements for things that I could possibly get off of you? Also maybe components like diodes/resistors designs for the software. That would be handy.


Shift registers frees up a ton of processor cycles, and more cycles allows for generating more advanced lighting patterns. The shift registers are ~<$0.5 a piece, so $9 in total.

I'm unsure of how much current can be put through the VCC and GND pins on the Teensy, but it might be the full USB 500mA, I don't know. Having the USB connector directly on the main board would give a safe 500mA for sure. And implementing the "Teensy" directly on the main board solves some placement difficulties =P

No-one should get sad if we develop two competing products. Competition is good, right? =)

I have some measurements for mounting holes and key locations of the Filco boards if you are interested. They are only as good as I made them though, no universal truths...

I haven't made footprints for anything else than the Teensy and Cherry parts. But there are libraries out there for all sorts of components. And there are hundreds of different footprints for transistors and things like that. So you would still want to make your own based on the datasheet of the actual part you are going to use.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 08:39:26
Designing two only helps our cause. Since neither of us can work on one design together. By doing two one can be the fallback of the other. Ill do my integrated design and you do your split one (LED). See what turns out better.

I still dont think the shift registers help. Since the wire that is polling for the keyboard can be used for also the LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 08:44:49
OK, but was I correct in understanding what you're trying to do hazeluff? If so then I also agree that your design should work, and should be cheaper with those extra keys even.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 08:59:39
Oh, and I  forgot... 21 columns on a full size board, and 21 for the LEDs, and then 7 rows on top of that. That is a lot of I/O without some external logic components.

Edit: Well make that 11 + 11 cols plus 14 rows and that is less of a problem.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 15:34:42
Quote from: PrinsValium;519518
Oh, and I  forgot... 21 columns on a full size board, and 21 for the LEDs, and then 7 rows on top of that. That is a lot of I/O without some external logic components.

Edit: Well make that 11 + 11 cols plus 14 rows and that is less of a problem.

The current design is (15 + 3 + 4) 22 Column + 7 Row = 29 pins For the keyboard itself, with 7 more for the LED Rows.
By reusing the same pins of the Column of the keyboard for the LEDs I save a lot of pins.

Quote from: PrinsValium;508524
(= Calm down boys (and girls, what do I know..) Looking for this? I can't swear it'll work out exactly like that, but I have a feeling it should be doable.
Show Image
(http://i41.tinypic.com/2d9bfqg.jpg)


Thats 36, which can be implemented with the teensy 2 ++.

Yes it's a lot of I/O but it should be fine.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 16:57:57
22 columns?

1. 13
Extra 13
2. 14
3. 14
4. 13
5. 12
6. 8

Largest is 14. 14 + 3 + 4 = 21...

+ 7 * 2 = 35...

Am I missing something?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 17:13:47
Quote from: hazeluff;519834
The current design is (15 + 3 + 4) 22 Column + 7 Row = 29 pins For the keyboard itself, with 7 more for the LED Rows.
By reusing the same pins of the Column of the keyboard for the LEDs I save a lot of pins.

Yeah, so I haven't slept a lot lately... Of course it should be done that way around, but I think you should consider 11+11+14. That still fits the Teensy++ and lowers the required frequency of cycling the matrix. Now I've got some more work to do, no sleeping yet =P
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 17:19:51
Quote from: The_Ed;519889
22 columns?

1. 13
Extra 13
2. 14
3. 14
4. 13
5. 12
6. 8

Largest is 14. 14 + 3 + 4 = 21...

+ 7 * 2 = 35...

Am I missing something?

Esc + F1-12 + 2 extra = 15?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 17:21:54
Quote from: PrinsValium;519905
Yeah, so I haven't slept a lot lately... Of course it should be done that way around, but I think you should consider 11+11+14. That still fits the Teensy++ and lowers the required frequency of cycling the matrix. Now I've got some more work to do, no sleeping yet =P

I see what you mean, but Given how much slack we have to compute between cycles to still achieve the 1kHz poll rate, I don't think it's nessesary.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 18:02:58
There's no way that the 9 holes required for every switch won't interfere with each other if there is a 15 switch spacing laid over a 13 switch spacing on the F and extra rows. We would have to have the F and extra rows be either 13 key or 15 key. Unless there is diagram proof that they both fit we should go with the traditional 13.

The PCB switch mounting pins are the most likely holes to interfere with each other, followed by the diode holes. And even if all the holes fit, the traces may not with so little "land".

The PCB mount cherry G99 stabilizer holes are also a concern for interfering.

I have been referencing these 2 PCBs for my spacing concerns. How sure are you that EVERYTHING will fit?

(http://geekhack.org/attachment.php?attachmentid=41222&d=1329782167)

(http://geekhack.org/attachment.php?attachmentid=41221&d=1329782165)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 18:20:15
I just thought of a compromise. 14 keys on the F and extra rows. The 14th would be between Esc and F1. That wouldn't interfere with anything. Sound good?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 18:26:51
Quote from: The_Ed;519946
I just thought of a compromise. 14 keys on the F and extra rows. The 14th would be between Esc and F1. That wouldn't interfere with anything. Sound good?

I'm working it out right now... Its a very slow process of putting down 100+ switches onto the design ><.

I think it'll work. I'm not ruling it out until my thing doesn't work
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 19:05:29
Progress: Cluster**** time

[ATTACH=CONFIG]41225[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 19:26:10
I'm not seeing it... What layout IS that? Or is it just incompletely populated with switches that are in the wrong places?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 19:46:50
Prin do you have SMD component for diodes (schematics)? Also should i change the grid to fit the different mod switches? The settings now don't quite work for the 1.25 mods (or 1.5) I don't know. It doesn't lay out right. I'm currently using your 0.1875" setting for the grid.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 19:47:23
Quote from: The_Ed;520001
I'm not seeing it... What layout IS that? Or is it just incompletely populated with switches that are in the wrong places?

Im laying out all the layouts on there. Was only half done.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 20:11:13
First of all, turn off the ratsnest... ;D

Second, keys not fitting on the grid needs to be adjusted "manually". Right click the component and set the coordinates by hand. Make yourself a spreadsheet of all the switch coordinates. It will come in handy, I promise =)

I don't have any footprints for SMD diodes. You want to make them yourself anyhow to make sure they are correct. There are a lot of different ones. Different manufacturers mmay even have different recommendations for pad layouts. Check the datasheet for the exact part you will b using. If you are going to have a manufacturer mount the components you might need to specify "good" solder mask clearances and solder paste patterns as well. I haven't looked into those things.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 20:18:23
Quote from: PrinsValium;520050
First of all, turn off the ratsnest... ;D

Second, keys not fitting on the grid needs to be adjusted "manually". Right click the component and set the coordinates by hand. Make yourself a spreadsheet of all the switch coordinates. It will come in handy, I promise =)

I don't have any footprints for SMD diodes. You want to make them yourself anyhow to make sure they are correct. There are a lot of different ones. Different manufacturers mmay even have different recommendations for pad layouts. Check the datasheet for the exact part you will b using. If you are going to have a manufacturer mount the components you might need to specify "good" solder mask clearances and solder paste patterns as well. I haven't looked into those things.

How handy is the switch coordinates... >.> theres like 160 switches...

Oh well I'll work with the discrete for now and see how that works.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 20 February 2012, 20:24:26
Quote from: The_Ed;519942
There's no way that the 9 holes required for every switch won't interfere with each other if there is a 15 switch spacing laid over a 13 switch spacing on the F and extra rows. We would have to have the F and extra rows be either 13 key or 15 key. Unless there is diagram proof that they both fit we should go with the traditional 13.

The PCB switch mounting pins are the most likely holes to interfere with each other, followed by the diode holes. And even if all the holes fit, the traces may not with so little "land".

The PCB mount cherry G99 stabilizer holes are also a concern for interfering.

I have been referencing these 2 PCBs for my spacing concerns. How sure are you that EVERYTHING will fit?

I'm probably going to drop some of the PCB mount holes, especially for secondary switch locations. Some of them will be completely swallowed by center holes of other switch locations. PCB mounted switches isn't really a absolute requirement even on a mounting plate less board. It just requires some more care to get everything straight.

LED holes will actually not interfere too badly. There are going to be some creative solutions in a couple of places, but nothing really bothersome.

Mounting holes for stabilizers for different layouts might be the biggest concern. They can't really be combined. If any holes are drilled to full size from start it won't be possible to have options, since the holes will overlap extensiely. Stabilizer/center holes for the ANSI and ISO enters really messes things up for eachother already.

I am going to do 1mm holes for all stabilizer mounts. Which holes to drill will be chosen later. It's pretty easy to line the holes up with those pilot holes. And chery stabilizers aren't that extremely sensitive either. (In my opinion plate mounting is the future anyways =D)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 21:04:53
I'm actually to get lost in all that is the holes for mounting x and y.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Mon, 20 February 2012, 22:47:55
Quote from: hazeluff;520024
Prin do you have SMD component for diodes (schematics)? Also should i change the grid to fit the different mod switches? The settings now don't quite work for the 1.25 mods (or 1.5) I don't know. It doesn't lay out right. I'm currently using your 0.1875" setting for the grid.

Here's a SOD/SOT-123 component that I made for Vishay 1N4148W-V-GS08. I don't recall why, but I didn't like the SOD-123 that came with kicad libraries for some reason.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 20 February 2012, 23:09:24
On my design I've scrapped the extra keys above the Numpad. It's extra keys that I don't think are that useful. Also it gives me room for the teensy
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 20 February 2012, 23:35:32
4 of the 8, or all 8? The 4 directly above the numpad were going to be used for my rotary encoders remember?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 21 February 2012, 11:07:42
I threw them all...out...Wire them up to the bit above the arrows?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 21 February 2012, 15:08:34
The 5 above the arrows is where "play/pause", "next track", "previous track", "stop", and "mute" will go. I need the 4 directly above the numpad for the 2 rotary encoders for "volume up/down", and "fast forward/reverse". Can't you just throw out the 4 above those 4? Is a 1 x 4 key plot too small? If we truly are using cherry or custom cases you could still have all 8 of those and put everything that doesn't fit in that extra 1.5 inches at the top.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 21 February 2012, 15:14:48
Quote from: The_Ed;520991
The 5 above the arrows is where "play/pause", "next track", "previous track", "stop", and "mute" will go. I need the 4 directly above the numpad for the 2 rotary encoders for "volume up/down", and "fast forward/reverse". Can't you just throw out the 4 above those 4? Is a 1 x 4 key plot too small? If we truly are using cherry or custom cases you could still have all 8 of those and put everything that doesn't fit in that extra 1.5 inches at the top.

But you can easily use wires to connect it elsewhere. I'm going to stick with the being removed and work towards putting them back. Tonight I shall put in the LEDs and FETs...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 21 February 2012, 21:48:45
Just use the extra 1.5 inches in the top. You'd have room for the teensy and the FETs there. And you could keep those 8 keys too.

Can those FETs switch open and closed in <4ns like a diode? If they can't then they may not work.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 22 February 2012, 03:30:16
I dont want to make the board much bigger than it needs to be.
 Also im taking this one step at a time. Gonna get something working before i add more stuff.
As for the fets. They are smd atm so there tiny as hell. As for switching they should be in the nanosecond range. I dont have the numbers atm but ill check they should switch fast enough.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 22 February 2012, 04:45:13
The ns only tell how fast signals they can handle. With the processor running at 16MHz the shortest possible time for anything is 62ns, and I don't know if it is even possible to turn I/O-pins on for a single clock cycle. In any case that's probably not going to be interesting since there will be a lot to do between I/O-signals.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 22 February 2012, 05:57:26
Quote from: PrinsValium;521657
The ns only tell how fast signals they can handle. With the processor running at 16MHz the shortest possible time for anything is 62ns, and I don't know if it is even possible to turn I/O-pins on for a single clock cycle. In any case that's probably not going to be interesting since there will be a lot to do between I/O-signals.

Yeah

I mean the absolute is the delay of turning on the pin and the LED lighting up. But that's not near being a problem.

I'm not having much fun putting the components in place... Can't wait to see the routing spaz out.

Prin, do you know the correct orientation for the LEDs. They are slightly differently aligned when I use the user grid and rotate the LED. It's not really a big problem since its quite minimal difference, and the LED legs could always be slightly slated/bent.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 22 February 2012, 06:36:58
I am soon going to know this link (http://www.cherrycorp.com/english/switches/key/mx.htm) by heart... The LED pads should be on the same distance from the center. Otherwise there is something wrong with the footprint. There is a little diode symbol on the casing. Getting that orientation is of course prettier, but it doesn't really matter =) The LED fits into the switch any way around. It might be a bit late now but I would recommend integrating the LED pads with the switch footprint.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 22 February 2012, 06:42:49
Quote from: PrinsValium;521695
I am soon going to know this link (http://www.cherrycorp.com/english/switches/key/mx.htm) by heart... The LED pads should be on the same distance from the center. Otherwise there is something wrong with the footprint. There is a little diode symbol on the casing. Getting that orientation is of course prettier, but it doesn't really matter =) The LED fits into the switch any way around. It might be a bit late now but I would recommend integrating the LED pads with the switch footprint.

Wait are you telling me, the diode included switch is actually the switch + LED? == FML... Redrawing my whole thing... Dear lord...thats gonna take a while...I've been using a basic switch + LED component...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 22 February 2012, 06:48:20
For this project I am going to use a 4-pin schematics switch symbol with the LEDs included. When I did the Phantom I had separate LED symbols, and separate components. But they were only 3 LEDs =) I also made a MX_LED footprint with the same coordinate origin as the switch to line them up easily.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 22 February 2012, 06:55:58
Quote from: PrinsValium;521700
For this project I am going to use a 4-pin schematics switch symbol with the LEDs included. When I did the Phantom I had separate LED symbols, and separate components. But they were only 3 LEDs =) I also made a MX_LED footprint with the same coordinate origin as the switch to line them up easily.

I don't want to redraw the schematic I have. The separate LED (I think I'm using MX_LED) is what I want, since I want to be able to rotate the orientation of the LED, without redrawing on the schematic. Should i just play around with the schematic so that it works both ways?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Mon, 27 February 2012, 13:46:52
As found by Ripster (http://geekhack.org/showthread.php?27903-Woohoo!-TITANIUM-Keyboards&p=528065&viewfull=1#post528065), it looks someone had the idea of using super bright leds inside of the switches as backlighting for normal keycaps. I have to say that it looks quite nice.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Mon, 27 February 2012, 15:47:37
Quote from: harrison;528362
you'll have to help me out here, since I can't read the original post on kbdmania... but from what Google translate did (or didn't) parse, I don't see any evidence from either the post or that picture that the LEDs are outside of the housing. the positioning of the light would actually suggest that the standard LED pass through in the housing was used.

and for what it's worth, the give-away for me is the capslock key.  if you're designing lighting independent from the switch, I don't see why anyone would choose to offset the light on the capslock key.

Yeah, I totally jumped the gun on this one, partially owing to not seeing such T1 LEDs before. Post edited to reflect (oho) that, thanks.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 28 February 2012, 04:38:55
Just did my first try at soldering an ATmega controller. It didn't come out excessively bad at all =D Simple $50 40W soldering iron, a lot of flux, and lead free solder. I haven't tested it yet but I don't think I managed to break it... I had to do some cleaning up after the first side of legs. After that I nailed the right amount of solder to cover all pads in one go.
(http://i42.tinypic.com/11ux848.jpg)



On a separate note, I am considering making a Filco replacement "mother board". 12 rows, every other column belonging to each row, so two physical rows for each keyboard row. And 21 columns with the possibility to connect columns in pairs with jumpers. That way it is possible to choose if you want to use 12 rows x 11 cols or 6rows x 21 cols, by connecting rows or columns in different ways to each other. Then there will simply be perhaps a 36 pin connector of some sort to connect everything to a separate controller board.

And all that x2, once more for the LED matrix as well.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 28 February 2012, 08:33:00
I use a Weller WESD51 and either Kester 24-6040-0053 or Kester 24-6337-0010. There is so little flux residue that you don't even have to clean it. Lead-free solder is crap, it will lead to cold/broken joints. Get yourself some good 'ol leaded Kester "44" and you will be quite pleased with it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Tue, 28 February 2012, 15:02:18
Quote from: PrinsValium;529194
Just did my first try at soldering an ATmega controller. It didn't come out excessively bad at all =D Simple $50 40W soldering iron, a lot of flux, and lead free solder. I haven't tested it yet but I don't think I managed to break it... I had to do some cleaning up after the first side of legs. After that I nailed the right amount of solder to cover all pads in one go.

Hey, better than what my first attempt at hand soldering SMDs. You can clean the residue with denatured alcohol and a lot of paper (which will get shredded on the TH parts) if you want.

Prototyping a controller? :D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Tue, 28 February 2012, 22:23:09
holy **** prin, that's really clean for doing it by hand.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Tue, 28 February 2012, 23:05:05
Nice PrinsValium.  If you can SMD the controller to the tiny PCB, may as well do it on the keyboard PCB.  That would make the case design a lot simpler because we would not need to make room for the controller that is the size of a Teensy.  Also, we could make many different kind of cases and have the USB connector on the PCB and exposed through the case.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 29 February 2012, 02:57:33
Thanks, I think it turned out pretty well =) Drag soldering (http://www.youtube.com/watch?v=t06malVew40) was pretty simple after all... Yes, I cleaned it up with alcohol afterwards, there was flux left all over the place... There should be some paper fibers showing in that picture. Before soldering switches or other hollow parts the board could probably be really easily cleaned in an ultrasonic alcohol bath. (Trivia: my mom sometimes do ultrasonic baths of glassware in boiling hot concentrated nitric acid at work, that is when they need to be clean)

It would be nice to have everything mounted directly on the PCB. There are two things I haven't figured out yet though. First of all I would like to be able to use the ATmega32u2 instead of the ATmega32u4 (the Teensy controller). The u2 chips are 32 pin instead of 44 pin and take a fair bit less space. The TQFP packages with legs (like the one I soldered) is at least possible to solder by hand, but much larger than the QFN package chips that are on the Teensy boards. QFN chips need to be reflow soldered though, and I don't think I will be doing that at home at least (it's far from impossible though). First thing, I don't know if the usb_keyboard code will compile for the u2 series of chips, or how hard it would be to adjust it. I have very little knowledge onthe hardware part of that code... The other thing is, I still haven't tried programming any ATmega controller other than using the Teensy boot loader.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 29 February 2012, 03:17:13
That diabolical 7bit keeps adding switches to the GB. My balance now reads $119.82... 173 switches are quite expensive. Hopefully this PCB will be done soon so I'll have a place to put most of those.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 29 February 2012, 21:05:29
Quote from: Parak;529651
Hey, better than what my first attempt at hand soldering SMDs. You can clean the residue with denatured alcohol and a lot of paper (which will get shredded on the TH parts) if you want.

Prototyping a controller? :D
toothbrush and drug store isopropyl works fine and doesn't leave bits of paper everywhere.

prin: what's the status of adapting this design for a 60% board? i was thinking it we don't have enough room on the board for the controller for some reason we could do a board sandwich (which i think you allude to a previous post)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Wed, 29 February 2012, 21:21:51
Quote from: mkawa;531413
toothbrush and drug store isopropyl works fine and doesn't leave bits of paper everywhere.


I actually never found a toothbrush to work well at all, as it just picks up the rosin and spreads it in a nice thin and sticky layer all over the board. YMMV :p
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 01 March 2012, 00:28:32
you need to really douse that sucker with solvent
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 01 March 2012, 01:16:21
All of you talk about cleaning the PCB afterwards, but you wouldn't have to if you used Kester "44" solder. There is only a few yellow pinprick droplets of rosin flux left after you are done. And even though they come off easily, I just leave them. Kester themselves say you don't have to clean "44". Once you try it you can never go back.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 01 March 2012, 01:18:14
imo no clean solder is totally a crock
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 01 March 2012, 01:20:27
Kester "44" is RA, NOT no-clean. But since it's non-corrosive and non-conductive you don't have to clean it. Don't knock it 'till you try it.

Quote
Kester “44”®
Rosin “44”®
is a high activity RA core flux designed for
excellent instant wetting action, even on Nickel surfaces.
Although “44”®
is a RA-based material, the residues are
non-corrosive if not cleaned.  Per J-STD-004, “44”®
is
classified as ROM1 flux.

Product Description
Kester 44 Rosin Flux is an activated rosin formula
for use in flux-cored solder wire.  Kester 44 Rosin
Flux has virtually dominated the field of   activated
rosin core solders for well over four decades.  An
outstanding performance feature of this flux is the
"instant-action" wetting behavior.  The high mobility
and fast-spreading action of this  flux results in
more reliable production line soldering.
Performance Characteristics:
•   High activity RA formulation
•   Excellent solderability to a wide variety of
metallizations
•   Industry standard RA cored wire for decades
•   Classified as ROM1 per J-STD-004

Cleaning:
Kester 44 possesses excellent fluxing ability, the flux residue is non-corrosive and non-conductive under normal
conditions of use.  When exposed to an elevated temperature and humidity environment (38°C, 94% RH) for
72 hours, there is no evidence of corrosion caused by the flux residue.  Throughout its many years of wide
usage, 44 Rosin Flux has produced many billions of soldered connections.  In all these billions of solder
joints, involving the most delicate and critical of electrical and electronic components, there has never been
an authentic instance of corrosion by the flux residue under normal conditions of use.  This mild property of
the residue permits leaving the flux on the assembly for many applications.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 01 March 2012, 07:50:34
Kester 44 is great... I haven't found a way to solder SMD without extra flux tho.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 01 March 2012, 08:59:03
Yeah, I use MG Chemicals 835-100ML for SMDs, which is really cheap compared to what flux pens costs. They also claim there's no need to remove residue, but it just looks really nasty after an application or two.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 01 March 2012, 09:00:54
That's exactly what I've got (except a whole liter) and yes, it's ugly if you don't clean it off.  I'm working on methods to apply less.  The 'bottle syringe' I've got lets way too much out at one time.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Thu, 01 March 2012, 09:07:24
Quote from: alaricljs;531942
That's exactly what I've got (except a whole liter) and yes, it's ugly if you don't clean it off.  I'm working on methods to apply less.  The 'bottle syringe' I've got lets way too much out at one time.

Try a quick dunk with a qtip, squeezing it against the side of the can or something if you get too much.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 05 March 2012, 19:36:23
Status update? I bought a set of vintage doubleshot F13-F24 from Tarkoon. And yes I know beige/grey clashes with black. I just couldn't find them in black.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 05 March 2012, 19:44:47
Quote from: The_Ed;536260
Status update? I bought a set of vintage doubleshot F13-F24 from Tarkoon. And yes I know beige/grey clashes with black. I just couldn't find them in black.

Im swamped with work. This is a side thing for me, on top of many things...Sorry if you had high hopes for fast completion.

I'll try to put in some time when I can. I got 4 coursework due in 3 weeks...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 05 March 2012, 19:54:43
I won't have the switches from the phantom switch GB until close to the end of april I think. It would be nice to get these PCB finished and ordered before may so that it could be completed by the end of june. The time periods of these GB's kill me...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Mon, 05 March 2012, 21:31:58
i actually think it's not a bad idea to let this sit for a bit until we have some experience getting a lot of phantoms built. we're going to learn a lot with this first wave, and realistically even if we finished the design tomorrow it would be summer before we got product anyway.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Mon, 05 March 2012, 22:14:32
Quote from: mkawa;536408
i actually think it's not a bad idea to let this sit for a bit until we have some experience getting a lot of phantoms built. we're going to learn a lot with this first wave, and realistically even if we finished the design tomorrow it would be summer before we got product anyway.

Word.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 08 March 2012, 22:07:33
I tried using radioshack desoldering braid a while ago. It doesn't have any flux on it... It didn't work - period, until I rubbed some of my dads ancient flux all over it. That just made a mess. Lesson learned - NEVER buy radioshack desoldering braid unless you're masochistic.

So I got myself some of that techspray no-clean desoldering braid - #2 and #4. IT'S FUCKING AWESOME! It sucks up all the solder in 3-5 seconds! Even out of the holes! There's nothing to clean up afterwards too! If any of you ever need to do some desoldering, you NEED to pick up some techspray no-clean desoldering braid. You won't regret it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 08 March 2012, 23:23:05
really? i have some radioshack brand braid that has a perfectly reasonably amount of flux in it...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 08 March 2012, 23:30:53
You have some of their OLD braid. The NEW stuff they currently sell has no flux whatsoever.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Sat, 24 March 2012, 04:25:54
So I sort of gave up on the LED-stuffed board. I'm too busy, this is what I have been working on instead. My universal Filco replacement PCB.

[ATTACH=CONFIG]45511[/ATTACH]

Properties
 ◦ Filco standard layout ISO/ANSI/JP.
 ◦ Cherry 1.5 modifier layout including off-center caps lock.
 ◦ Realforce layout.
 ◦ Full 7bit layout with all the extra keys.
 ◦ My own symmetric stagger layout.
 ◦ Location of the numpad and navblock can be swapped.
 ◦ PCB fits a full size Filco case or the tenkeyless Filco case.
 ◦ Numpad, navblock, and function row can be cut off, leaving a fully functional board.
 ◦ All sorts of different non-standard shift row setups.
 ◦ PCB mount stabilizer holes need to be drilled post manufacturing.

Things I still need to sort out.
 ◦ Placing all the controller components somewhere.
 ◦ Routing the monster.
 ◦ Programming the controller.
 ◦ Might need to replace some more holes with slots.
 ◦ Need to add stabilizer locations for the JP 4.5 unit spacebar.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Game Theory on Sat, 24 March 2012, 11:55:55
Having missed the initial Phantom round this sounds great to me.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sat, 24 March 2012, 11:58:49
prins, i think i've found someone who can give me a very crashy course on pcb design. do you think you can send what you have for the LED stuffed? (was this the 60% or the bigger?)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Sat, 24 March 2012, 12:05:29
PrinsValium, is it possible to add holes for PCB mount switches?  From what I can tell on your screen shot, some switch locations are doable, but the overlapping ones look iffy.

Are you going with and SMD controller this time?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: captain on Sat, 24 March 2012, 12:37:06
We should make the next GH keyboard WIRELESS BLUETOOTH. Maybe with a USB backup and rechargeable lipo battery. :-)

I have been looking into this and the bluesmirf HID seems to be the way to go.
http://www.sparkfun.com/products/10938
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sat, 24 March 2012, 18:17:28
I could live without LEDs, but I need my PCB mounting holes damnit! You have holes for more layouts than what currently exists. But no PCB mounting holes for those that don't use plates? Why can't the switch and stabilizer PCB mounting holes be drilled out? Why is plateless the only layout NOT supported?

And wireless ANYTHING sucks. Laggy, unresponsive, or the batteries are dead... Wired just works. You don't "fix" what works.

I'm a little cranky from lack of sleep...

Edit: You could mod yours to be wireless, but everything I've had that's been wireless has never "worked".
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Sun, 25 March 2012, 08:17:12
There might be room on the PCB for the extra switch holes on most locations. It gets really messy where there are many (partially) overlapping switch locations.

Overlapping switch holes can be slotted since the solder pad still keeps the switches in place. Stabilizer mount holes cannot overlap just like that. They need to have the correct shape, or the stabilizer won't stick to the PCB. Pilot holes in the correct location is the best solution I can see.

Furthermore, I think plate mounting is the future.



There is a very crashy course (http://geekhack.org/showwiki.php?title=Design+your+own+Teensy+keyboard+in+KiCAD+how-to+guide) in keyboard PCB design that I wrote =) I don't really think I am ahead of anyone else in the LED keyboard design.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Findecanor on Sun, 25 March 2012, 10:41:31
Quote from: PrinsValium;555365
◦ Numpad, navblock, and function row can be cut off, leaving a fully functional board.
Yeah, but you can't move a section to the left side. ;)

Quote from: PrinsValium;556195
There might be room on the PCB for the extra switch holes on most locations. It gets really messy where there are many (partially) overlapping switch locations.
A few weeks ago I sketched this in Inkscape (with only approximate hole dimensions). Yes, really messy... and you can't have LEDs because LEDs would require all switches to be oriented one way.
[ATTACH=CONFIG]45632[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 25 March 2012, 11:28:31
rargh, just realized i'm going to be out of town for like 3 weeks anyway. garrhhg
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: captain on Sun, 25 March 2012, 12:32:08
Quote from: The_Ed;555817
And wireless ANYTHING sucks. Laggy, unresponsive, or the batteries are dead... Wired just works. You don't "fix" what works.

I'm a little cranky from lack of sleep...

Edit: You could mod yours to be wireless, but everything I've had that's been wireless has never "worked".

Ok mr cranky, but my suggestion gives the best of BOTH worlds!  USB for direct connection and charging; Bluetooth for using with ANY device, like the damn iPad I'm addicted to lately. ;-)

AA batteries might be a better power source. Recharging can be a PITA. Tossing in three new AAs is no big deal, and you can always use rechargeable ones.

The Apple Bluetooth keyboard works great!  It's problem is that it only comes in rubber dome or scissor switches. I want a Bluetooth Filco blue or HHKB.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 25 March 2012, 13:50:06
Right I'm almost starting my Easter "break" (Lol, sif I can actually rest in it). I'm just having a thought of what I've done already, and I just remember, It is not possible to do my crazy super layout without having LEDs facing the wrong way. Thinking of that, I may just go for a phantom-esque 104 layout.

I think a wireless+rechargeable keyboard is interesting, specially if you like sitting back away from the desk while working on your computer. But I think it would be nice for like the DOX and not so much for larger layouts. But that's my opinion. Also we need someone to design the rechargeable part...oh wait....I could very well do that...@_@ like use the cable to charge or to connect with the wire to the PC.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 25 March 2012, 15:09:48
Quote from: Findecanor;556258
A few weeks ago I sketched this in Inkscape (with only approximate hole dimensions). Yes, really messy... and you can't have LEDs because LEDs would require all switches to be oriented one way.
(Attachment) 45632[/ATTACH]


If PrinsValium turns the switches like you did he could fit all of the PCB mount switch holes right? Pilot holes for the PCB mount stabilizer holes would be a compromise I could live with. Just as long as plateless is fully supported I'm good. I'd buy a few PCBs so I can try different things too.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Sun, 25 March 2012, 18:32:43
Quote from: The_Ed;556414
If PrinsValium turns the switches like you did he could fit all of the PCB mount switch holes right? Pilot holes for the PCB mount stabilizer holes would be a compromise I could live with. Just as long as plateless is fully supported I'm good. I'd buy a few PCBs so I can try different things too.

With the 7bit layout support built into the PCB design, I don't think it is possible to have fully supported plateless design because of vast amount of overlapping switch locations.  My request to have the tiny holes to support PCB-mount switches is only for when you want to use PCB-mount Cherry switches in a plate-mounted configuration (e.g. easier to acquire, harvest from old boards).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 25 March 2012, 21:23:13
Quote from: litster;556562
With the 7bit layout support built into the PCB design, I don't think it is possible to have fully supported plateless design because of vast amount of overlapping switch locations.  My request to have the tiny holes to support PCB-mount switches is only for when you want to use PCB-mount Cherry switches in a plate-mounted configuration (e.g. easier to acquire, harvest from old boards).

That is a second reason for having the holes that I hadn't thought of.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 25 March 2012, 21:28:08
the whole point of this board is LEDs. we can't turn the switches, and even if we could, i think the vast majority prefer plate mounting at this point.

if you want to cheap out on switches by harvesting old ones, i don't know that a custom PCB is really the way to go -- just harvest a pcb while you're at it...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Sun, 25 March 2012, 22:44:43
The Phantom prototype I built has vintage Cherry MX Brown springs and stems.  I like it more than any of my Filcos.  Also, there will be times that you will only be able to get a hold of PCB-mount Cherry switches, new or vintage.  It is not every day you can join a Cherry switch group buy to order whatever switch type you want.  Tell me, when was the last time you joined a Cherry switch group buy before the Phantom group buy?  There are people who joined the Phantom group buy for other parts but didn't order any switches.

I am not advocating to do a PCB-mount design only.  Just the flexibility to use PCB-mount switches in a plate-mount design.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 25 March 2012, 23:49:00
i'd be all for it if it were possible (i actually preferred it for simplicity's sake prior to buying a poker, lol), but it doesn't really seem possible.

also i have trouble believing there's any significant difference between vintage switch parts and new switch parts that actuating the new switch a couple million times wouldn't fix.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 26 March 2012, 11:11:00
Quote from: mkawa;556718
the whole point of this board is LEDs. we can't turn the switches, and even if we could, i think the vast majority prefer plate mounting at this point.

if you want to cheap out on switches by harvesting old ones, i don't know that a custom PCB is really the way to go -- just harvest a pcb while you're at it...

Yeah, we can turn the switches, but some LEDs would be rotated instead of all uniformly in the same direction.

Question: LEDs above or bellow?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Mon, 26 March 2012, 12:24:48
i vote for uniformly below..
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 26 March 2012, 12:32:55
Typically backlit KBs have the LED above.  So if you want compatibility with any available backlit keycaps, it would need to be above.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 26 March 2012, 12:38:20
Quote from: alaricljs;557370
Typically backlit KBs have the LED above.  So if you want compatibility with any available backlit keycaps, it would need to be above.

Yeah that sounds right. If i get round to restarting, i will do this = D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Mon, 26 March 2012, 17:47:24
Quote from: litster;556786
The Phantom prototype I built has vintage Cherry MX Brown springs and stems.  I like it more than any of my Filcos.  Also, there will be times that you will only be able to get a hold of PCB-mount Cherry switches, new or vintage.  It is not every day you can join a Cherry switch group buy to order whatever switch type you want.  Tell me, when was the last time you joined a Cherry switch group buy before the Phantom group buy?  There are people who joined the Phantom group buy for other parts but didn't order any switches.

I am not advocating to do a PCB-mount design only.  Just the flexibility to use PCB-mount switches in a plate-mount design.


The PCB-mount switch holes will allow people like me to go plateless and other people to harvest switches from junk boards to save money. There are SO MANY layouts on that PCB but somehow this has been overlooked...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Tue, 27 March 2012, 05:01:58
Quote from: alaricljs;557370
Typically backlit KBs have the LED above.  So if you want compatibility with any available backlit keycaps, it would need to be above.
doesn't the race have them below?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 27 March 2012, 07:38:07
Nope, first 5 seconds of this vid should be enough proof:
[video=youtube;clnmiOM7aF4]http://www.youtube.com/watch?v=clnmiOM7aF4[/video]

Besides, I did say typical and all the retail boards pretty much cover typical.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 27 March 2012, 09:18:39
If I start rotating switches in all kind of directions all over, someone is for sure going to complain that they feel different mounted in different orientations. Also it gets insanely messy =P

My work flow usually goes something like this: "Lets keep as many of the switches as possible in the PCB mount footprint." "Let me just take this hole out of that footprint, and the other one out of this one..." "It sure would be effin' great if those holes overlapped when switches are placed 1/2 unit apart, this way there will be a ton of slot holes." "Damnit, plate mounting is the **** anyways."

A lot of the footprints can certainly be made PCB mount compatible. Some locations with only one of the holes present, the other one being eaten by a larger hole of another footprint. This would of course improve something on stability, and ease straight mounting. Believe it or not, but all those small holes actually get in the way when trying to route everything somewhat neatly =P


Last, I have a question as well. If the controller is surface mount directly to the main PCB, should the diodes be SMD as well or do you think it is better to keep them through hole since all the switches are anyhow?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 27 March 2012, 11:12:31
Well, as you said all those holes can make routing stuff a *****.  SMD diodes might make it easier to route everything and they're the easist SMD soldering.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 27 March 2012, 11:17:46
I definitely if you order a good amount, that it's worth the SMD Diodes, It makes everything neater. Routing and aesthetics. Also while your at it, you may want to SMD the MC.

So many things for me to do, but I really want to get back to designing my board = ( (also some thought into it makes be believe that I can only do one layout, because of the LEDs. If only the holes weren't horizontally next to each other... damnit...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 28 March 2012, 03:39:54
I forgot to ask this earlier but are cherry off-center spacebars compatible with your new PCB PrinsValium?

Can you just put in every PCB-mount switch hole that fits without turning the switches then? 1 PCB-mount pin hole is sufficient to mount a PCB-mount switch in those slots.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 28 March 2012, 20:38:53
1) yah, SMD all the way.

2) how many people actually _need_ pcb mounting holes? if it's only 1, it makes much more sense to get rid of them to free up space for routing and components. we're already surface mounting the controller, i mean, seriously.. this is not a board for the cheapskate or faint of heart.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 28 March 2012, 22:32:13
I agree to SMD. But people could harvest switches from old cherry boards if there were PCB mounting holes. And I myself could go plateless. By allowing people to harvest switches there would probably be quite a few more orders as it would be cheaper to make one of these custom boards.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 29 March 2012, 01:16:56
so far it's just you and litster.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Thu, 29 March 2012, 02:07:18
If there is a way to drill holes into the PCB to install Cherry PCB-mount stabilizers, and sounds like there is, I will be fine.  That is all I'd need to make an acrylic-plate-mount keyboard.  Plate-mount stabilizers would not work for this application.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 29 March 2012, 11:07:02
It is not completely trivial to drill the stabilizer holes, a good drill press really helps. This Dremel Workstation doesn't cut it. It totally messes up larger dimensions like the 0.120" and 0.157" holes, even with good quality high speed carbide drills.
[ATTACH=CONFIG]46229[/ATTACH]
See the stabilizer holes on this one =P
[ATTACH=CONFIG]46227[/ATTACH]
This one might be a bit heavier than necessary =) but a dream in comparison (on good days when the school kids haven't re-adjusted it...).
[ATTACH=CONFIG]46231[/ATTACH]
There are no pilot holes on this laminate, but you should be able to picture the idea. Brad pointed drills like this center themselves nicely.
[ATTACH=CONFIG]46230[/ATTACH]


I'll make the diodes SMD then.

Here is a size comparison of the Atmel chips. The leadless ones are the ATmega32u4 that comes on the Teensy. The large ones are the leaded counterpart. The smaller chips in the middle are the simpler ATmega32u2.
[ATTACH=CONFIG]46228[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 29 March 2012, 13:08:53
keep in mind that you can't drill out the stabilizer holes if there are traces routed through there :P
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Thu, 29 March 2012, 13:37:18
Quote from: mkawa;560543
keep in mind that you can't drill out the stabilizer holes if there are traces routed through there :P

I am sure PrinsValium will route the traces around stabilizer pilot holes if they could be drilled into wider, bigger holes.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 29 March 2012, 16:37:14
My question of whether or not cherry off-center spacebars will work on this PCB still hasn't been answered.

PCB mounting pin holes should be included wherever they are not eaten whole by another hole. This will allow people to scrounge from old boards and for me specifically to go plateless. Plus I have too many switches with PCB mounting pins I would like to be able to use. Why should everyone be forced to buy new platemount switches? Just include the holes.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Thu, 29 March 2012, 17:26:19
Quote from: The_Ed;560790
Just include the holes.

Is that a suggestion, a request, or a demand?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 29 March 2012, 17:33:05
he's willing to pay for one hole if other people chip in for the rest.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 29 March 2012, 17:36:18
Quote from: The_Ed;560790
My question of whether or not cherry off-center spacebars will work on this PCB still hasn't been answered.

PCB mounting pin holes should be included wherever they are not eaten whole by another hole. This will allow people to scrounge from old boards and for me specifically to go plateless. Plus I have too many switches with PCB mounting pins I would like to be able to use. Why should everyone be forced to buy new platemount switches? Just include the holes.

I forgot about that question.. After gathering info from the key reference wiki, when designing the phantom PCB, I think I concluded that the off-center spacebar switch coincides with the center-mounted spacebar switch of the cherry symmetrical 1.5-1.0-1.5-7-1.5-1.0-1.5 setup. So that footprint is already included on the PCB. This has yet to be verified though, I think.

Yes, of course it is a nice idea to include the PCB mount holes. I could at least try to do it for the locations of the standard QWERTY setup. Leaving them out for the other options would probably take away almost all of the really pesky overlaps.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 29 March 2012, 19:27:13
Sounds good for the spacebar then. I've got like 7 of those cherry off-center spacebars and no other kind left... All the rest were sold...

"locations of the standard QWERTY setup" - Does that mean ANSI 104 or just the 26 letters of the alphabet? Or something else entirely?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 29 March 2012, 20:52:00
Everything that doesn't have a variable position I would expect, so... num-row til you hit the backspace end, all the alpha and most punctuations... nav cluster and numpad also I expect... apart from possibly doing different options on the zero/+/enter keys.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Fri, 30 March 2012, 05:15:55
Ok, so if I did everything correct, the footprints that are labeled SW?:? are the Filco standard ANSI switch locations. And they should all have the PCB mount holes. They should all be good except for maybe a few on the spacebar row.

I haven't bothered to place the diodes properly yet, they are just thrown in there. They should probably be moved to the back as well to be accessible when using a mounting plate.

I am putting the controller parts on the backside between SWs 5:1 4:0 3:0 at the moment, that is why 3:0 is upside down. (In the poker case there is a plastic ridge there that would need to be slightly modified. My main goal s to get everything to work with the Filco cases.)

[ATTACH=CONFIG]46359[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Fri, 30 March 2012, 10:44:26
PrinsValium, thanks for the tiny holes!  :-)

One question, with SMD, components will be soldered when the PCB is made, I assume.  So diodes will be installed to all switch locations, even for the switch locations that are not going to be used, correct?  Don't think this is a problem since diodes are cheap and I don't think it would save us money doing it other way.  Just checking.

We wouldn't need to remove diodes from the PCB for locations we don't use, right?  Just trying to thinking through the steps required to put the keyboard together like the wiki I did for phantom installation.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 30 March 2012, 10:54:46
Quote from: litster;561570
PrinsValium, thanks for the tiny holes!  :-)

One question, with SMD, components will be soldered when the PCB is made, I assume.  So diodes will be installed to all switch locations, even for the switch locations that are not going to be used, correct?  Don't think this is a problem since diodes are cheap and I don't think it would save us money doing it other way.  Just checking.

We wouldn't need to remove diodes from the PCB for locations we don't use, right?  Just trying to thinking through the steps required to put the keyboard together like the wiki I did for phantom installation.

You won't need to remove them. = )
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 30 March 2012, 20:36:32
Thanks for the holes. So then the only switch I would have issues with is the spacebar correct? Can 2 more holes be put for the cherry off-center spacebar switch or am I pushing my luck?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sun, 29 April 2012, 01:16:28
Wow... Has it really been a whole month of silence?...

REVIVE! EAT THE FLESH FROM OUR FINGERTIPS!

Oh... And it's my 20th birthday today!

...

Has there been any progress on anyone's prototypes?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sat, 02 June 2012, 11:44:20
Quote from: The_Ed;585368
Wow... Has it really been a whole month of silence?...

REVIVE! EAT THE FLESH FROM OUR FINGERTIPS!

Oh... And it's my 20th birthday today!

...

Has there been any progress on anyone's prototypes?

I've got a lot to do at the moment, This is something I plan to do, but it will be quite a while...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 02 June 2012, 21:12:37
Quote from: hazeluff;606439
Thats the main thing I like. But, i'm worried because the time an LED is "ON" is maximum only 1/numCol.

Not a problem if you use bright enough LEDs :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sat, 02 June 2012, 21:16:04
Quote from: Soarer;606445
Not a problem if you use bright enough LEDs :-)

I'm thinking if we don't put the limiting resistor/allow for forward biasing above the typical continuous voltage, and by cycling through the columns (The LED would pretty much see a square wave with a small duty cycle), we can get away with bright/normal brightness of the LED, without burning them out.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 02 June 2012, 21:29:10
Quote from: hazeluff;606446
I'm thinking if we don't put the limiting resistor/allow for forward biasing above the typical continuous voltage, and by cycling through the columns (The LED would pretty much see a square wave with a small duty cycle), we can get away with bright/normal brightness of the LED, without burning them out.

You'll need some current control, even if it's only a small resistor (per LEDROW).

Also, efficiency tails off when you over-current them; you don't get twice as much light with twice the current.

Nice LEDs are pretty cheap bought by the 100 :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Sat, 02 June 2012, 21:35:50
This (http://www.mouser.com/ProductDetail/ON-Semiconductor/CAT4016VSR-T2/?qs=3JMERSakebofiwsDkU1n4g%3d%3d) is the chip I had been looking at.  An ON 16 channel LED driver: CAT4016VSR-T2.  Uses 1 resistor on a pin to set max current, and then you can do PWM externally for individual leds.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sat, 02 June 2012, 21:52:25
Quote from: Soarer;606454
You'll need some current control, even if it's only a small resistor (per LEDROW).

Also, efficiency tails off when you over-current them; you don't get twice as much light with twice the current.

Nice LEDs are pretty cheap bought by the 100 :-)

Yeah, I meant in general increasing current. And I know, we'd hit saturation. But more brightness is more brightness. >< We'd probably get more from a brighter LED than from my dodgy suggestion of going over voltage/current.

Quote from: alaricljs;606459
This (http://www.mouser.com/ProductDetail/ON-Semiconductor/CAT4016VSR-T2/?qs=3JMERSakebofiwsDkU1n4g%3d%3d) is the chip I had been looking at. An ON 16 channel LED driver: CAT4016VSR-T2. Uses 1 resistor on a pin to set max current, and then you can do PWM externally for individual leds.

How does SIN work for this device? As for PWM individual LEDs, then we'd be going back to the design with mosfets controlling the LEDs? There is no way of doing PWM for each LED (in the sense we have 1 pin per LED), well we could but we need some way of creating the PWM outside the MC and having circuitry to hold it at certain duty cycles?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 02 June 2012, 22:10:38
Quote from: alaricljs;606459
This (http://www.mouser.com/ProductDetail/ON-Semiconductor/CAT4016VSR-T2/?qs=3JMERSakebofiwsDkU1n4g%3d%3d) is the chip I had been looking at.  An ON 16 channel LED driver: CAT4016VSR-T2.  Uses 1 resistor on a pin to set max current, and then you can do PWM externally for individual leds.

So... one of those in place of the LEDROW transistors? or in addition to?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Sat, 02 June 2012, 22:13:20
Here's a quick pic of the layout for my LED test board w/ 1 of them acting as sink and source using 6 transistors.


[ATTACH=CONFIG]52144[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 02 June 2012, 22:37:57
Oh, I see. And then just update it very often. Very, very often for individual PWM style control!

ediit: Hmm. Sending so many updates to it could be a problem for the Teensy - not in sending the actual serial data, but deciding what to send when.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Sat, 02 June 2012, 22:45:14
Yes, and while I have zilch in code due to lack of time... It's based on a working keyboard design that had full individual led control w/ PWM.

edit: running on an ATMEGA32U2 btw (the working design)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 03 June 2012, 00:10:27
Quote from: alaricljs;606494
Yes, and while I have zilch in code due to lack of time... It's based on a working keyboard design that had full individual led control w/ PWM.

edit: running on an ATMEGA32U2 btw (the working design)

I'm guessing we are still cycling through the columns individually using that IC and applying the PWM to the row (transistors)?

If that's the case, I can see the whole thing working nicely.

I got the gists of it from the following:
http://www.eetasia.com/STATIC/PDF/200805/EEOL_2008MAY13_CTRLD_OPT_AN_02.pdf?SOURCES=DOWNLOAD

But am unsure how it operates still. Is SIN shifted through registers, and then Latch is used to cause the registers to be passed onto and saved in the latches?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 03 June 2012, 08:21:07
Quote from: alaricljs;606481
Here's a quick pic of the layout for my LED test board w/ 1 of them acting as sink and source using 6 transistors.


(Attachment) 52144[/ATTACH]

Judging by the 50x50mm you'll be getting 10 of these boards back in about 2-3 weeks :-)

Any chance we can see the source schematic?  I'm having a hard time visualizing the design from the board.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 03 June 2012, 08:39:01
Conceptually, you can ignore the serial input and the latching. Just think of it as being 16 bits sent from the CPU which set the outputs of that chip on/off.

The transistors just invert 6 of the outputs (needed because the 'off' state of an output is high impedance). That makes it work to drive a matrix of LEDs.

To light them all without flicker, the CPU will need to update the chip at about 1kHz or so. To then do some PWM to vary the brightness of each individual LED would need more updates - how many more depends on how many levels of brightness you want (and how many the CPU can manage!).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 04 June 2012, 11:27:54
Quote from: Soarer;606643
Conceptually, you can ignore the serial input and the latching. Just think of it as being 16 bits sent from the CPU which set the outputs of that chip on/off.

The transistors just invert 6 of the outputs (needed because the 'off' state of an output is high impedance). That makes it work to drive a matrix of LEDs.

To light them all without flicker, the CPU will need to update the chip at about 1kHz or so. To then do some PWM to vary the brightness of each individual LED would need more updates - how many more depends on how many levels of brightness you want (and how many the CPU can manage!).

So we're still setting the column pins one at a time and then using PWM applied to the row transistors?

Otherwise, I get it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 04 June 2012, 13:32:43
Yeah, something like that. Not sure which way round works out best for the timings (or if it matters, really). So while one column is 'on', the rows get updated multiple times to do the PWM. (It couldn't use the Teensy's hardware PWM, of course, it doesn't have enough channels!)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 04 June 2012, 14:56:20
The Teensy has 8 PWM channels, an 8x12 matrix would constitute a full size keyboard, but probably isn't optimal. I guess there are other ways to solve it with external components. It would also be using up a lot of pins. It would be cool with individually controllable LEDs, but perhaps individual intensity is a bit overkill?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 04 June 2012, 15:23:30
Yeah, Teensy++ has quite a few channels, but they're split over 3 or 4 timers so would be hard to synchronise. If this scheme worked on a '32U2 though, it would've been doing the PWM in software on an interrupt, I guess.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 04 June 2012, 15:58:25
Quote from: Soarer;607376
Yeah, Teensy++ has quite a few channels, but they're split over 3 or 4 timers so would be hard to synchronise. If this scheme worked on a '32U2 though, it would've been doing the PWM in software on an interrupt, I guess.

If we use an array of transistors, like proposed before, then there shouldn't be any (major) timing considerations since it can be all handled on the MC. We definitely need the Teensy++ tho. The different timers won't matter I'm pretty sure.

But if we use a shift register/clocked registers, then we have to synchronize the MC with the registers and create appropriate timing signals.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Mon, 04 June 2012, 16:22:59
True, they run off different timers. I don't know if that would be such a big problem though.. They would be running pretty much in sync. They might get reset to different values, but if they are not able to do several pulses during one light-up of the LED very bad effects will happen anyways..

I shouldn't get myself involved too much in this. I'm not quite interested enough to put too much effort into it. But if you whirl up some schematic and want help or guidance with KiCAD I will happily help out.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 04 June 2012, 16:49:12
Likewise, I'm not interested in the sense that I'd want trick lights myself, but I can't resist the odd comment :-)

They would have to do quite a few pulses per column strobe is my guess. But the downside would just be fewer controllable intensity levels if not, or a slightly 'unsteady' look to it.

hazeluff - PWM is all about timing! If the MC has to do it in software it takes a fast running interrupt, which mustn't be held up by anything else. In a controller 'anything else' just means USB handling though, and there are ways around that, to a point.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 04 June 2012, 16:53:56
Quote from: Soarer;607421
Likewise, I'm not interested in the sense that I'd want trick lights myself, but I can't resist the odd comment :-)

They would have to do quite a few pulses per column strobe is my guess. But the downside would just be fewer controllable intensity levels if not, or a slightly 'unsteady' look to it.

hazeluff - PWM is all about timing! If the MC has to do it in software it takes a fast running interrupt, which mustn't be held up by anything else. In a controller 'anything else' just means USB handling though, and there are ways around that, to a point.

I'm not sure why it needs an interrupt or why timing is involved. I might be missing something here, But when I was using an Arduino, it is possible to set PWM on output pins very easily, so I don't know what could go wrong...I'm assuming the MC the teensy is using could do the same thing.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 04 June 2012, 16:56:18
Quote from: hazeluff;607426
I'm not sure why it needs an interrupt or why timing is involved. I might be missing something here, But when I was using an Arduino, it is possible to set PWM on output pins very easily, so I don't know what could go wrong...I'm assuming the MC the teensy is using could do the same thing.

Are we getting our wires crossed here? I was talking about individual light levels per LED, but maybe you are talking about a single level for all LEDs? That would indeed be a lot simpler :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: REVENGE on Mon, 04 June 2012, 17:16:21
Is this going to be full or reduced layout? I'm still waiting for a custom 75% style keyboard like the Choc Mini / Race.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 00:41:33
Hey guys, I just found out about this thread. Could someone get me caught up with what you're thinking for LED portion of the board?

I was considering getting a Phantom PCB to attempt to prototype out an addressable LED board.

I have some experience using addressable strips from Adafruit (http://www.adafruit.com/products/306 (http://www.adafruit.com/products/306)), both from an Arduino and streaming raw pixel data from Processing. For prototyping I was thinking of using a series of RGB strands and simply hacking up some keycaps to get them squished on a board somehow.

The great thing about the drivers used in these strips is that they can handle PWM internally. 7-bit for the LPD8806 based strips. 8-bit for the WS2801 based strands. The LPD8806 driver has the added advantage of being able to drive two RGB pixels (or six LEDs).

*apologies if this has been well covered in a previous post. didn't scan all 33 pages.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 00:44:54
*new poss are limited to the amount of links they can contain. here's a link the Adafruit's WS2801 based strand: http://www.adafruit.com/products/322 (http://www.adafruit.com/products/322)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 05 June 2012, 00:48:24
Neither of those will fit inside the switch.

[ATTACH=CONFIG]52280[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 05 June 2012, 00:53:36
Quote from: Soarer;607430
Are we getting our wires crossed here? I was talking about individual light levels per LED, but maybe you are talking about a single level for all LEDs? That would indeed be a lot simpler :-)

No I am talking about different levels of light per LED, not all LEDs...

If we look back at that schematic prins made. We're using the column pin from the switch matrix to also determine which column of LED to choose from. And with the LED Row pins we can apply PWM to set intensity of the LED at (Col,Row).

Tho Im not sure if the teensy has enough pins that can do PWM.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 01:05:50
Quote from: The_Ed;607641
Neither of those will fit inside the switch.

(Attachment) 52280[/ATTACH]

Just for prototyping purposes, would probably have to cut the keycaps in half or something barbaric like that. LPD8806 drivers should optimally be surface mounted to the PCB board in series. They should be able to drive most 5V RGB LEDs (I think).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 05 June 2012, 01:06:36
I think it will all come down to putting 2 teensy's. One that will poll the switches, and one to PWM the individually controlled LEDs. That's basically what the original nixie ramos had to have done.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 05 June 2012, 01:12:23
Quote
The system is all controlled by 2 Atmega 168 micro controllers that run arduino. One of them handles all time-keeping and button/alarm events and the other handles displaying the digits on the tubes. Essentially I have one micro-controller as a master that sends short serial messages that tell the second micro-controller of what time it should display on the tubes.

[ATTACH=CONFIG]52281[/ATTACH]

We would have enough pins to do anything we could think of with 2 teensy's. And it would probably be a lot simpler of a layout too.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 05 June 2012, 01:16:40
Quote from: featherodd;607652
Just for prototyping purposes, would probably have to cut the keycaps in half or something barbaric like that. LPD8806 drivers should optimally be surface mounted to the PCB board in series. They should be able to drive most 5V RGB LEDs (I think).

If you want to destroy one of your own boards for science, be my guest. Ripster, our fellow scientist, was banned so he can't grace us with any more of his wikis here.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 03:32:28
Quote from: The_Ed;607658
If you want to destroy one of your own boards for science, be my guest. Ripster, our fellow scientist, was banned so he can't grace us with any more of his wikis here.

It's the easiest way I can think of mocking up a board with fully adressable RGB backlighting, especially with code examples and Arduino libraries for drivers I am familiar with. If anyone else has a better suggestion, I'm all ears.

Shame I found out about the Phantom group buy so late. Would have been awesome to start with a Teensy based dev board.

Anyone know if the schematics for the Phantom PCB boards are available?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Parak on Tue, 05 June 2012, 06:33:41
For in-key backlighting, one is limited to a T1 LED with two leads, /maybe/ three leads with a bit of cutting of the switch. Two lead bi-color LEDs can only show one color or the other, but the three lead is an actual tricolor. External backlight might be able to use 5mm RGB LEDs if you find space for them or use light pipes, or using SMD RGB LEDs. In any case, RGB or even bi-color is quite considerably more expensive on a per LED basis than single color.

On the controller level, taking advantage of multiplexing and PWM allows for fairly drastic reductions in power and pin usage at the expense of microcontroller cycles. Which shouldn't be a big deal with the speed of the ones currently on the market.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 05 June 2012, 07:35:30
SMT LEDs wont work optimally with a mounting plate, at least not without some solution to transfer the light up to the surface. Are there any T1 RGB LEDs? Modifying the switch housings to accept 4 leads might be feasible. Or drilling a 3 mm hole straight thru and using a light pipe with SMT LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 05 June 2012, 07:38:34
No, 3mm packaging does not support 4 leads.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 05 June 2012, 07:48:40
There are 4 holes in the bottom of every switch. 2 out of 4 leads would have to be bent though to go through them. But since the top receptacle only supports 3mm, 2 or 3 lead dual color LEDs would be the maximum feasible.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Tue, 05 June 2012, 07:48:51
Quote from: hazeluff;607645
No I am talking about different levels of light per LED, not all LEDs...

If we look back at that schematic prins made. We're using the column pin from the switch matrix to also determine which column of LED to choose from. And with the LED Row pins we can apply PWM to set intensity of the LED at (Col,Row).

Tho Im not sure if the teensy has enough pins that can do PWM.


Well I wasn't sure about whether it gave enough control over the PWM to be able to do it in hardware, but actually I think it might.

Timer 2 could be used to run a timebase for the columns at a few kHz.

Timers 1 and 3 can be set to do 8-bit PWM, and have 3 PWM outputs each. Timer 0 is 8-bit anyway, and has 2 PWM outputs.

So each time the column interrupt fires, the handler would do something like...

Since the column updating forms part of the PWM, any jitter in handling it would result in varying light levels. This would have to be minimised.

The PWM channels should run at some multiple of the column scan frequency. At 16MHz clock and 8 bit resolution they would be running at 62.5kHz. Dividing that by 16 gives roughly 4 kHz, which sounds about right. That would be divided again by the number of columns to get the overall matrix scan frequency, and that wants to be high enough that you don't notice flicker in the LEDs.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 15:40:48
Quote from: PrinsValium;607768
SMT LEDs wont work optimally with a mounting plate, at least not without some solution to transfer the light up to the surface. Are there any T1 RGB LEDs? Modifying the switch housings to accept 4 leads might be feasible. Or drilling a 3 mm hole straight thru and using a light pipe with SMT LEDs.

Agreed, would definitely have to modify the switch housing to accept either 4 prong LEDs or to pass through 3.5mm light pipes.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 05 June 2012, 18:18:56
Quote from: Soarer;607774
Well I wasn't sure about whether it gave enough control over the PWM to be able to do it in hardware, but actually I think it might.

Timer 2 could be used to run a timebase for the columns at a few kHz.

Timers 1 and 3 can be set to do 8-bit PWM, and have 3 PWM outputs each. Timer 0 is 8-bit anyway, and has 2 PWM outputs.

So each time the column interrupt fires, the handler would do something like...
  • disable PWM outputs
  • disable column n
  • update PWM output compare values
  • enable column n+1
  • enable PWM outputs
  • read keys
Since the column updating forms part of the PWM, any jitter in handling it would result in varying light levels. This would have to be minimised.

The PWM channels should run at some multiple of the column scan frequency. At 16MHz clock and 8 bit resolution they would be running at 62.5kHz. Dividing that by 16 gives roughly 4 kHz, which sounds about right. That would be divided again by the number of columns to get the overall matrix scan frequency, and that wants to be high enough that you don't notice flicker in the LEDs.

I don't quite understand why we need interrupts.

Taking the phantom firmware as a start/example. The polling is a loop and in there there is a loop that goes through the column pins, why can't the PWM be processed within that? Otherwise what you proposed in the interrupt above seems like how it would be done.

So umm just adding comments into this code:

Quote
 for(;;) {
    _delay_ms(5);                                //  Debouncing
    for(col=0; col      *col_port[col] &= ~col_bit[col];
      _delay_us(1);
      //Turn off PWM (LED ROW) outputs
      for(row=0; row        //Do w/e setup needed for PWM
        //Enable PWM (LED ROW) outputs
        key_id = col*NROW+row;
    if(!(*row_port[row] & row_bit[row])) {
      if(!pressed[key_id])
        key_press(key_id);
    }
    else if(pressed[key_id])
      key_release(key_id);
      }
      *col_port[col] |= col_bit[col];
    }

As for the discussion on RGB LEDs, I don't think it's wise to try and implement so many things at once. Also, the extra pins don't fit in the switches without significant modification.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Tue, 05 June 2012, 18:34:55
Having an interrupt for the column scanning gives it accurate timing. You need that so each LED is on for (1/num_cols) * (256/pwm_val) * 100 % of the overall scan time. Without it, you might have some other interrupt fire during a column strobe which would make that one take a longer time than the others, and the light level wouldn't be right!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Tue, 05 June 2012, 19:02:43
Quote from: Soarer;608187
Having an interrupt for the column scanning gives it accurate timing. You need that so each LED is on for (1/num_cols) * (256/pwm_val) * 100 % of the overall scan time. Without it, you might have some other interrupt fire during a column strobe which would make that one take a longer time than the others, and the light level wouldn't be right!

Makes sense now. Maybe it wouldn't affect it too much if we don't do interrupts, unless that difference in timing is significant. Just a speculation.

Also, the keyboard polling and lighting both will be interrupts?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Tue, 05 June 2012, 19:30:23
Quote from: hazeluff;608178
As for the discussion on RGB LEDs, I don't think it's wise to try and implement so many things at once. Also, the extra pins don't fit in the switches without significant modification.

I think you're right. A fully addressable RGB board would be soo bad ass, but it is better to have a board many people can collaborate on and share code sketchs for controlling the LEDs. A kit where it is necessary to heavily mod the switches would be much more difficult.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Tue, 05 June 2012, 19:32:03
Quote from: hazeluff;608205
Makes sense now. Maybe it wouldn't affect it too much if we don't do interrupts, unless that difference in timing is significant. Just a speculation.

Also, the keyboard polling and lighting both will be interrupts?


Well, there's one other thing that using the timer interrupt does. It ensures that the column strobe lasts for exactly some multiple of the PWM frequency. There would be another amount of error if it was, say, 15.5 times instead of 16.

It really doesn't make the code much more complicated at all to use an interrupt - the main change is that the 'for(col=0; col
One interrupt, from the timer, would do what I listed above. Each column of keys would get stored in some buffer, and then there would be some extra code to handle the end of the scan, which would process the whole buffer in some way (debounce etc).

The _delay_ms(5) (in the Phantom code) would have to go in any case - you need the column strobes stretched out in order to light the LEDs. Anyway, that delay is not sufficient for debouncing, it's just making a timebase (at a bit less than 200Hz) for the scanning.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 06 June 2012, 06:10:29
Also, I really really feel that the _delay_ms(5) should be replaced with some actual debouncing algorithm in any case.. I was hoping there would be more experienced programmers than me doing better firmwares for the phantom once it is out amongst the masses =) I will probably look into some of my own ideas for debouncing later when I lack other projects..... But that would be to learn myself, about debouncing as well as timer interrupts.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 06 June 2012, 07:31:45
Heh, I thought you would agree... I said it just to clarify for others :-)

Batch debounce would be the easiest.

You'd have three buffers, each with the key-state of all keys: the latest one from the interrupt scanning, the previous one, and the debounced output.

Each time there's a new 'latest' it gets compared to 'previous'. If there's any change then the debounce counter is reset, and 'latest' is copied to 'previous'. If there is no change the counter is advanced. If the counter gets to the debounce time then the 'previous' buffer is compared to the 'output' buffer causing key events for any differences, and the 'previous' buffer is copied to the 'output' buffer.


edit: The updating of 'previous' from 'latest', and the updating of the counter, could happen per column of keys. That would remove the need for a complete 'latest' buffer. It's just an optimisation though; it's easier to understand the concept as three complete buffers.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 06 June 2012, 09:31:48
Yeah, then everything seems fine. I think the main concern is the LEDs and if i physically will work. Otherwise the firmware can be changed and played around with.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 06 June 2012, 09:49:42
Quote from: hazeluff;608511
Yeah, then everything seems fine. I think the main concern is the LEDs and if i physically will work. Otherwise the firmware can be changed and played around with.

The disaster situation wouldn't be a total disaster, you just wouldn't be able to vary each LED individually. You'd still need the interrupt to give it stable timing, and therefore stable brightness. But I think it should all work OK :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 06 June 2012, 13:53:35
Anyone here with LUFA experience/knowledge?  :)  edit: oh yeah, and any knowledge of free private code repo's?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: featherodd on Wed, 06 June 2012, 14:21:07
Never heard of LUFA  but looks very interesting..
http://www.fourwalledcubicle.com/LUFA.php (http://www.fourwalledcubicle.com/LUFA.php)

Pretty cool, it has examples combining multiple interfaces, eg "Mass Storage/Keyboard Device"

Bitbucket allows 5 users for private repos with free accounts.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 06 June 2012, 19:30:08
Quote from: Soarer;608518
The disaster situation wouldn't be a total disaster, you just wouldn't be able to vary each LED individually. You'd still need the interrupt to give it stable timing, and therefore stable brightness. But I think it should all work OK :-)

I'm pretty sure the disaster situation is the LEDs lighting, but not bright enough or inconsistent lighting. The major major fallback is a board with LEDs (how boring...)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sat, 09 June 2012, 10:00:16
You guys are going to hate me for this but I think we're going to have to use either multiple mc or a single propeller in order to get the timings right.

A single threaded process is no longer going to cut it imho.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 09 June 2012, 10:08:18
I'll hate you for not saying why :-p
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 09 June 2012, 10:24:43
alaricljs, thanks for the PMs, figured I may as well comment on LUFA vs PJRC here...

I haven't used LUFA, so I don't really know how 'heavy' it actually is - a lot of it is built with inline functions etc. so it's surely not as heavy as it looks! I prefer the PJRC level of working, but I have had to add quite a bit to it - suspend, wakeup, non-blocking API to it, etc.

It shouldn't be too hard to move from LUFA to the PJRC keyboard demo code or vice versa, assuming a fairly compatible interface at some level consisting of something like: usbinit(), keyup(), keydown() and getledstate(). (Of course any USB init might first need extracting to a seperate function).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sat, 09 June 2012, 19:57:26
I might try and knock out a test pcb design so we can answer these questions.

I'll post the design to this thread once I have it ready for dispatch to China.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 10 June 2012, 11:19:16
Second pairs of eyes requested...

[ATTACH=CONFIG]52652[/ATTACH]

Going to build a test numpad to help us gauge the bias values required.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 10 June 2012, 12:50:35
Are you going to add some resistors for current limiting? I thought one in line with each collector of Q6 to Q9 ...

[ATTACH=CONFIG]52655[/ATTACH]

Another thought I just had is that on the full version, a column of 8 LEDs could be lit at once which would be about 160 to 200 mA in total. So it might be worth testing with 8 rows rather than 4 as you've drawn, to see what power supply smoothing capacitors might be required. It would also be a better testbed for the firmware, since it would be able to test all 8 PWM channels - the lack of columns wouldn't really matter, the firmware could just delay to pretend they are there.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 10 June 2012, 16:39:06
I'd planned on putting the resistive load off JP16.  So, in the prototype GND is actually "GNDish".

I'm trying to keep values that I'm going to vary off the test board completely so they're easier to switch in and out without constant re-soldering.  Breadboards ftw.

I'm less concerned with the LED current draw and more concerned with the current draw when keys are pressed.  Wondering what the resistive element of that is.

The rub is that I'm planning on prototyping with a 3.3V MCU instead of a 5V arduino or the like.

The other option of course is to resistify the base, but the gain curve of the NPNs will likely make that impractical.

Both those options can be done off-board.


Red
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 10 June 2012, 17:45:12
Quote from: __red__;610917
I'd planned on putting the resistive load off JP16.  So, in the prototype GND is actually "GNDish".

Afraid that won't work, for two reasons. First, each LED has slightly different Vf, so using one resistor for mutliple LEDs in parallel doesn't work well (uneven brightness). Second and most important, it will have different numbers of LEDs lit at different times, so a single shared resistor wouldn't be right for each of those different current loads.

Quote from: __red__;610917
I'm trying to keep values that I'm going to vary off the test board completely so they're easier to switch in and out without constant re-soldering.  Breadboards ftw.

Makes sense. The way I'd do it is to put the resistors on the board, but first test the LED brightness in just one position by fitting a couple of wires to go off to a breadboard, figure out the required value, and then fit them not too flush with the PCB so they're easy-ish to swap later. (Plus, you could make the holes a bit larger so they're easy to desolder).

Quote from: __red__;610917
I'm less concerned with the LED current draw and more concerned with the current draw when keys are pressed.  Wondering what the resistive element of that is.

I think the built-in pull-ups on the AVRs are about 10k - so about 0.5mA @ 5V Vcc. Nothing to worry about :-)

Quote from: __red__;610917
The rub is that I'm planning on prototyping with a 3.3V MCU instead of a 5V arduino or the like.

That could make it interesting, since the LED Vf + two voltage drops across the transistors could be about 3.3V!!

Quote from: __red__;610917
The other option of course is to resistify the base, but the gain curve of the NPNs will likely make that impractical.

Hmm, that might need yet more resistors to keep it stable, so maybe not a win anyway :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Tue, 12 June 2012, 12:14:20
Ok, so I don't really know much about transistors.. But the ones to the left controlling the rows would have to be BJTs right? Otherwise the base  will not conduct any current and the column pins will not be able to pull the row pins down.

 I think this is a correct view, correct me otherwise, please? =)
 -BJT bases act as diodes with respect to the emitter
 -FET gates act more like capacitors relative to the source

But if the transistors are BJTs then there will need to be resistors in series with the base connections (no?). Will this screw with pulling down the row pins through the transistors? And to start with, will they be pulled down enough at all when there are 2 "diode" transitions down to ground? I guess voltage levels can be adjusted otherwise to alter what is considered low or high.

Perhaps someone should set up just one set of a switch, diode, LED, and row and column transistors, to see that this works at all...

Many white (and possibly other lighter colors as well) LEDs already drop ~3.3 volts, don't they?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Tue, 12 June 2012, 12:32:20
Hadn't spotted that! But yeah, it is wrong. They would have to be PNP transistors, with a resistor inline with each base.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 14 June 2012, 12:14:38
Should this thread be moved since TheProfosist subforum is no longer visible?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 14 June 2012, 12:16:01
Huh... that's interesting, any recommendations on where to move to?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 14 June 2012, 12:19:19
Keyboards subforum?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Tue, 19 June 2012, 23:08:08
I don't think there's a need for both sets of transistors / FETs...

The AVR can source/sink up to 40mA per pin, but with an overall constraint of 200mA, and constraints on groups of pins of 100mA per group. The PWM outputs are spread across multiple groups, so those constraints aren't a bother, just the 200mA total. So, that's more than enough for 8 LEDs at 20mA each (or just over).

N-channel MOSFETs are cheaper, so it makes sense to use them. That means the diode and LED are reversed compared to earlier schematics, and a pressed key will be read as a 0 instead of a 1.

[ATTACH=CONFIG]53360[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Wed, 20 June 2012, 01:51:35
Mods, please move this thread out of TheProfosist forum as it is hidden from the rest of the forum.  You can only access this thread if you have a link to it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 20 June 2012, 01:56:05
I don't think any mods but alaricljs can see it either... I already suggested that it be moved to the Keyboards subforum. Is there someone that should be PM'd to move this thread?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 20 June 2012, 08:55:39
When reaper is available I'll have him move it to Keyboards unless you have a better suggestion.  Aside from iMav he's the only one with sufficient privs to do it.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 09:52:27
a second teensy? i thought we had decided on using a dedicated LED driver IC instead? am i confusing projects?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 12:07:28
Second Teensy - no. I reckon that would cause as many problems as it solves!

LED driver probably also no, IMHO. Resistors are fine, and cheap. As are N-channel MOSFETs. Using the driver just seems a more complicated method overall, unless we found one that did absolutely everything for us (but in that case it probably wouldn't integrate nicely with the key scanning).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 13:52:15
so a dedicated LED driver absolutely will do everything for us. and i'm not sure what you mean by "integrate nicely with the key scanning". i thought the idea was to have an independently controllable LED per switch. the schematics i see on this page don't seem to get us there (although i don't remember enough from my kindergarten level analog systems classes to read them precisely enough).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 15:01:59
When and if you find a driver that will do everything, that's great. They do exist, but they're not cheap.

Well... I didn't think I'd have to draw out the whole matrix to get my idea across! The switch, diode and LED would obviously be in every position of the matrix. There would be one resistor per row (8 rows), and one MOSFET per column (however many columns). Total cost for driving components: about $1 :-)

The columns would be scannned, and the LED rows would have PWM applied to them - the 8 channels from a Teensy++ take care of individual levels, with a max brightness for the LEDs of 1/num_cols of their full brightness with an uninterrupted 20mA DC.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 16:28:27
hmm.. i see. so instead of providing constant current you just scan the LED matrix every cycle-ish and the result is a PWM signal to the on LEDs (or pwm to the passive driver fets then constant current to the LEDs via some transistor magic)? and the teensy++ has enough pins and current to independently handle this LED matrix? that does sound quite good, if it will work and the things won't just flicker at us.

the other worry i have is that processing the LED pins will make key handling that much more complicated in the firmware. can the teensy++ mux over this much stuff at once? (ie, will handling key events interrupt the LED scanning?)

someone (i can't remember who) mentioned a nice looking LED MCU that could do constant current to 100+ LEDs in about the size of an AVR in another thread. i remember it had something to do with reviving the dox, but not exactly which thread...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 20 June 2012, 16:38:10
Even if everything works, this is what worries me - "1/num_cols of their full brightness" - That could be too dim of a maximum. 22 columns means that the maximum brightness is only 1/22 of it's actual maximum brightness. But regular LEDs aren't very bright to begin with.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 17:05:46
The PWM would get switched to each column in turn. A single LED would see a waveform something like this:

[ATTACH=CONFIG]53476[/ATTACH]

As far as 'regular' LEDs goes... there simply isn't the power available to light them up at 20mA each. Either you run them at reduced current, or muxed like my suggestion - so in any case, you might want to use more efficient LEDs. What is 'regular' anyway? I think the first LEDs were only 1 or 2 mcd, so even modern low brightness types at 30mcd or so would still be brighter muxed than the first ones were on DC! They might be 6 pence or 10 cents each. Ultra high brightness might be 1000 to 5000mcd, and cost maybe 20 pence or 30 cents each at most. I'm not sure they're really needed - even muxed they would certainly be TOO bright at 20mA!!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 17:08:47
just brainstorming: is there a more power efficient micro we could use than whatever the teensy is based on? that would free up a bit more current for LEDs
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Wed, 20 June 2012, 17:15:21
I'm thinking a test would have to be done to see how bright/expensive the LEDs would have to be. A maximum of 20ma for slightly less than 1/22 of a second for maximum brightness. A different LED in each row with only 1 column could test 8 different LEDs at once with very little programming and setup.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Wed, 20 June 2012, 18:41:38
Most boards with full LED's tend to have a second cable for more power.

I don't think you can save much by choosing a different MC.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: IvanIvanovich on Wed, 20 June 2012, 19:32:21
Bah, just make it so it needs a laptop brick for power... problem? LOL.
To be serious I hope you electronics guys get these things sorted and move it on to the next phase soonish. Else I might as well just grab a Ducky Dragon.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 19:43:07
if you want a dragon-like board anytime soon i would suggest buying one. design and production will take a while regardless.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 20:41:30
Quote from: hazeluff;618164
Most boards with full LED's tend to have a second cable for more power.

I don't think you can save much by choosing a different MC.
apparently not http://www.pjrc.com/teensy/low_power.html

it doesn't matter if we have a second cable if we can only drive 200mA max using the AVR.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 21:03:01
Quote from: The_Ed;618074
I'm thinking a test would have to be done to see how bright/expensive the LEDs would have to be. A maximum of 20ma for slightly less than 1/22 of a second for maximum brightness. A different LED in each row with only 1 column could test 8 different LEDs at once with very little programming and setup.


Why 1/22? Surely there won't be that many columns, will there?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 20 June 2012, 21:11:31
ed's just being obtuse. we're not building 160 keys into this pcb afaik

anyway, it still calls for a prototype. soarer: do you have enough parts lying around to test this?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 21:49:11
Not really - I don't trust the mcd rating of the LEDs I've got (ebay cheapies!), and they're 5mm anyway. And can't find my MOSFETs. I could get some more.

How can we quantify what is bright enough? What keycaps does it have to shine through?

Talking of cheap ebay LEDs, these (http://www.ebay.co.uk/itm/50x-Ultra-Bright-3mm-LEDs-Red-/200720237381?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item2ebbdbc345) are about 5 pence each, and say they're 20,000mcd - highly unlikely, but should still be plenty bright. The prices I mentioned earlier were from Farnell - not as cheap, but at least you'd know what you were getting.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 20 June 2012, 22:10:02
Since you already have transistors at each column, why not add the extra eight for the LEDn as well? This would allow you to use the full 500 USB mA. Say 480mA after the uC gets its share =) That would then be 60mA per LEDn. Brighter then that will not happen without extra power in any case.

Using 8 rows on a regular board is a little bit of a pain when laying out the matrix. 6 is easier to work with, and gives ~21 columns on a full sized board. 8x13 is actually 104 for you ANSI people ;)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 20 June 2012, 22:43:10
Quote from: Soarer;618326
and say they're 20,000mcd - highly unlikely, but should still be plenty bright.

Aren't candelas a unit where direction comes in as well as actual photon flux? Making the irradiation angle very narrow would give a high value in cd, I think...

Edit: ok no reason to put it as a question. Lumen per steradian http://en.wikipedia.org/wiki/Candela.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Wed, 20 June 2012, 22:48:14
Sure, you could, but...


Buying better LEDs just seems to me to be a neater way to do it!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Wed, 20 June 2012, 23:02:46
More current will always mean more light on some end, and that seems to be important to some...

Don't forget about BJT based technology. Cutting (http://se.mouser.com/ProductDetail/Texas-Instruments/ULN2803AN/?qs=zqbRmZ%252bfZD9QYXQApVOW5qzbLMJIZvAPHk9rlMmLo%252bw%3d) components =)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 21 June 2012, 01:12:11
i don't know that less current is nicer. the design should be flexible enough to scale from just bright enough to see to "blinds you everytime you hit a key". some people like that stuff
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 21 June 2012, 02:47:54
There are also similar darlington arrays with 7 channels. One 8 channel for the rows, and 7+7 channels for the columns should suffice for most layouts. Or 8x(8+8) if that is required.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 06:20:30
I don't see any PNP arrays! And if I'm reading the datasheet correctly, the voltage drop across them is around 1V.

Less current is always nicer if it acheives the same end result.

Anyway, I ask again:

Quantify what is bright enough - blinding even in bright sunlight?

What keycaps will be used?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 21 June 2012, 08:00:28
More current will always achieve more results ;)

Yes, that was way too early.. The arrays can only be used at one end of course. Preferably the rows since they carry more current.

Also, i said something wrong about flux. Flux is the per area unit. The Swedish words threw me off a little.
Flow is flow in Swedish as well. And is the total flow of whatever per time unit.
Flux is called "flow density" and doesn't have a word for itself. And is the flow of whatever through a unit area per unit time.
Candelas is flow through a certain (solid) angle, and is somewhat more related to flow than flux, but on other ways not. A very narrow beamed light source will have more candelas than a source with the same total photon output, but more wide angled.

Quote from: Soarer;618534
Quantify what is bright enough - blinding even in bright sunlight?

We will need a large parabola outside that focuses the sunlight and directs it through a optical fiber to the keyboard. Inside the keyboard we will have hundreds of small mirrors controlled by tiny motors...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 08:31:39
Yeah, always worth checking the radiation pattern. Unfortunately, most sold on ebay don't even say what make they are, let alone have any proper data!

Something with a beam as narrow as this would be fine for lettered keycaps though:

[ATTACH=CONFIG]53552[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 08:58:11
Hell... let's fill it with Cree XM-L, direct drive, draw 1kW, output 100,000 lumens, melt the keybord, and burn our retinas and fingertips!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 21 June 2012, 14:47:01
My OLIGHT-M21-X has a Cree XM-L with OTF600lm!

22 columns =
("Esc" -> F12 + 2 extra) = 15
(Arrows -> numpad) = 7
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 15:00:38
Quote from: The_Ed;618815
My OLIGHT-M21-X has a Cree XM-L with OTF600lm!
Heh, not running at maximum!

Quote from: The_Ed;618815
22 columns =
("Esc" -> F12 + 2 extra) = 15
(Arrows -> numpad) = 7
That's not generally how it's done :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Thu, 21 June 2012, 15:05:29
Since the package is shrouded by the button, it seems like narrow field is what you want.  As for darlington arrays, I've used the ULN2004 types to drive LEDs (and solenoids, motors, etc) in the past.  They are still available in DIP packages.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 21 June 2012, 15:08:03
It runs at OTF600lm for 5 minutes before going to 60% so that it doesn't melt itself. But I don't need it on for more that 5 minutes to reach the bathroom at any campsite I've ever been in. 20 lumens is the normal level I use it at.

22 columns was what was talked about a few months ago in this thread. It wasn't my contribution either. I'm fine with either 20 or 21 as well.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 21 June 2012, 15:14:42
The_Ed, that's also not how it's done... mainly you just take the number of switches you want and find a nice even matrix.  For a TKL that could be 9x10.  If you find that you want to neaten up the traces for some reason you can then optimize and add columns if you need them.  One of the things I don't think is necessary would be optimizing for ghosting or NKRO since that can all be handled inside the firmware instead of going crazy on the matrix.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 21 June 2012, 15:22:57
Physically laid out 7x22 could be electronically 8x20. Is that what you mean? The traces can connect a physical grid into an electrical grid of different dimensions.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 21 June 2012, 15:44:04
A more square matrix contains more elements per I/O-pin. Although if you have pins to go around, it may just be more convenient to lay out the matrix in a more rectangular way. In my designs, I've always kept the number of matrix rows equal to the physical rows on the keyboard for simplicity reasons. In this case where a squarer matrix is useful to maximize LED on-time, other optimizations come into play.

Edit: oh, and also, my original idea was to light up one row at a time, and then minimizing the number of rows would be an optimization..
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 21 June 2012, 15:55:35
We would need extra power to light up a whole row at a time. That's 20+ LEDs drawing current at one time. I thought USB 3 had increased power output. Maybe this will have to be a USB 3 or USB 2 + power brick keyboard.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 21 June 2012, 15:59:36
Well, that depends on how much current you put through them... There are the 500mA either way it is done. Even with 30mA LEDs eight at a time don't add up to 500, and with only 6 groups instead of say 13 the duty cycle is more than doubled. And 21x30mA is a bit over 500mA but you'd just need to underpower the LEDs a little.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 16:05:08
Lighting up more than 8 at a time would mean it couldn't simply use PWM channels from the Teensy++ to do the individual levels any more.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Thu, 21 June 2012, 16:08:03
I just looked at pjrc and it said 9 PWM for teensy++. Where did the 8 we've been talking about come from?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 16:15:52
Can't remember.
Maybe I stopped counting once I found 8 :-)
More likely because we want to keep one timer free for scanning the columns at a regular rate. That could be arranged differently, but it's a lot of hassle for just one extra PWM.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Thu, 21 June 2012, 16:21:42
USB3 leds you draw one additional unit but they also upped the current per unit.  I think it gets you close to an amp.  Still, I don't think we'd want to add such a restriction to the design.  Using PWM is how the other vendors are doing it, no?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Thu, 21 June 2012, 17:36:13
I think it might have been me counting the PWM ports on the ATmega32u4 to 8, but that is not the Teensy++, and I may even have done it wrongly... =P

Not using PWM with ~100 LEDs and say 400mA total current would give 4mA per LED. That might be enough, I don't have the experience to tell. Although I have heard that running a LED at say twice it's continuous rating at a 50% duty cycle will in fact make it appear as brighter. But this needs to be verified by someone who actually knows what he is talking about... So there may be other reasons to "PWM" diodes than current limitations.

Also PWM sort of have two slightly different purposes. First to cycle which LEDs are lit to not exceed the maximum current available. I see this as kind of a forced cycling ending up being a degenerate type of PWM. The other reason probably comes closer to the actual meaning of the acronym "Pulse Width Modulation", it is used to actually control the duty cycle and to vary the power output.

In our case the cycling of the groups will constitute an outer power cycle with a fixed duty cycle of 1/8 per group, and within each group there will be a proper (superimposed) PWM at a much higher frequency with a variable duty cycle determining the average power output during that cycle of that group. An image would be great, if I ever get a Boogie Board (http://www.improvelectronics.com/boogie-board-LCD-writing-tablet/boogie-board-rip-LCD-writing-tablet.html) that could maybe happen... =)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Thu, 21 June 2012, 18:11:23
I posted a mock-up before of what a single LED would get. It didn't thumbnail well :-)

Were you thinking of drawing something like this? ...

(http://geekhack.org/attachment.php?attachmentid=53476&d=1340228686)

Effectively that's a 10% 'outer' PWM from the scanning, with a 50% 'inner' PWM from the PWM, so 5% overall.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Thu, 21 June 2012, 19:49:55
Yes, I should have said multiplexing + PWM.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Thu, 21 June 2012, 23:41:49
the question remains: is all this scanning going to need to be done in firmware by the micro? or is there a register it can set every once in a while to control scanning rate and PWM duty cycle? i'm too lazy to read datasheets XD
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 00:22:09
Quote from: mkawa;619192
the question remains: is all this scanning going to need to be done in firmware by the micro? or is there a register it can set every once in a while to control scanning rate and PWM duty cycle? i'm too lazy to read datasheets XD


Do keep up! I outlined this on the 5th!

Scanning is firmware and does the slower part of the PWM. The faster part of the PWM is done by hardware (setting registers).

Of course this might not be how it ends up, but...

Quote from: Soarer;607774
Well I wasn't sure about whether it gave enough control over the PWM to be able to do it in hardware, but actually I think it might.

Timer 2 could be used to run a timebase for the columns at a few kHz.

Timers 1 and 3 can be set to do 8-bit PWM, and have 3 PWM outputs each. Timer 0 is 8-bit anyway, and has 2 PWM outputs.

So each time the column interrupt fires, the handler would do something like...
  • disable PWM outputs
  • disable column n
  • update PWM output compare values
  • enable column n+1
  • enable PWM outputs
  • read keys

Since the column updating forms part of the PWM, any jitter in handling it would result in varying light levels. This would have to be minimised.

The PWM channels should run at some multiple of the column scan frequency. At 16MHz clock and 8 bit resolution they would be running at 62.5kHz. Dividing that by 16 gives roughly 4 kHz, which sounds about right. That would be divided again by the number of columns to get the overall matrix scan frequency, and that wants to be high enough that you don't notice flicker in the LEDs.


(The divide by 16 in that last bit is just so that there are a number of fast PWM cycles in each scan, which helps with minimising the effect of any timing inaccuracies. We can pick whatever divide gives us a nice overall scanning frequency. It would probably be less than 16, to give scanning of a few 100 Hz).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 00:29:29
gerk. i'd rather have a dedicated core for column scanning, so that we don't get any weirdness in scanning the key matrix, but you have a lot more experience with these platforms than i do, so i'll trust you on this one soarer.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 03:28:18
Eek. That would mean communicating between the two! Actually, key scanning is the easy part - it doesn't have to be done anything like as precisely as we'll be doing it :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 03:42:13
the two threads would probably just need to share a register. that's precisely what an interrupt register is tbh, it's a message passing channel between a micro and a bunch of autonomous hardware devices.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 04:23:57
Just to know, how far are we approximately from a prototype, and when will we be able to run the GB?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 04:32:20
Damn trolls!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 04:32:33
At this point I'd say at least a year 'till we get things into our hands at the end of the GB.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 04:34:04
ok :P.

Thanks !
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 04:40:31
I meant more mkawa with his abstract talk of cores, threads and message passing. But heh!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 04:42:04
Quote from: Soarer;619333
I meant more mkawa with his abstract talk of cores, threads and message passing. But heh!

OOooooh… :(

I was so happy about your compliment !
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 04:50:37
Quote from: Djuzuh;619335
OOooooh… :(

I was so happy about your compliment !

'But heh!' implies you too, even if you were less subtle :-p


Those qwerkeys caps look promising! Good timing!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 04:52:33
The problem I'm gonna have is how to inject code for the rotary encoders I'll be putting into mine. I can't even begin to code it without the rest of the coding finished and debugged. Or I'd have to write everything from scratch. But the electrical layout will have to be finalized before any coding whatsoever can begin.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 05:04:47
Quote from: The_Ed;619337
The problem I'm gonna have is how to inject code for the rotary encoders I'll be putting into mine. I can't even begin to code it without the rest of the coding finished and debugged. Or I'd have to write everything from scratch. But the electrical layout will have to be finalized before any coding whatsoever can begin.

The rest of this doesn't really need any interrupt pins (INT1 .. INT7), so we could make sure to leave you a couple of those - how about port E, that gives you 4, would that be enough? I'd say it's worth you doing some test code just so you know exactly what you would need, in terms of pins and timers etc.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 05:09:16
I can code C++ and would be able to use 12 (10 but 12 is easier) variables to make them into "keys" for the regular scanning.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 05:09:51
Can I Helps into coding light effects please ? :D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 05:14:24
Crap, I'll need more variables... 14 minimum.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 05:19:04
Quote from: Soarer;607774
Timer 2 could be used to run a timebase for the columns at a few kHz.

Timers 1 and 3 can be set to do 8-bit PWM, and have 3 PWM outputs each. Timer 0 is 8-bit anyway, and has 2 PWM outputs.


Heh, I just noticed that OC1C and OC0A are on the same pin! Swapping the uses of timers 0 and 2 sorts it out.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 05:19:52
It's 5:16AM and you bastards have me coding...

2 rotary encoders

18 variables and a switch case...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 05:24:18
Quote from: The_Ed;619342
I can code C++ and would be able to use 12 (10 but 12 is easier) variables to make them into "keys" for the regular scanning.

You're fine for variables, the Teensy++ has loads of memory :-)

We'll be using 32 or so of the I/O pins. For many of them, it doesn't matter which though.

And we'll be using all the timers, if we go with this PWM method. If you want to time the inputs at all, it would have to be using a timebase derived from either a PWM or the scanning timer.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 05:37:19
Quote from: Djuzuh;619343
Can I Helps into coding light effects please ? :D

Knock yourself out!

First, how are the display buffers going to work? For output we obviously need one that's the LED matrix. For drawing into we probably want a buffer based on the physical layout - which maybe has extra rows/cols in it, e.g. between number and function rows, that don't get copied to the output.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 05:42:33
This probably only makes sense to me. 2 rotary encoders = 20 variables.

It still may cause a slight delay that may be visible in the LEDs. It may have to have a delay so that it processes when it's doing the PWM.

Code: [Select]
X   X X   X
X   X X   X

  X     X

  X     X
  X     X
  X     X
  X     X

  X     X

Edit: No more switch case.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 06:18:36
Quote from: Soarer;619354
Knock yourself out!

First, how are the display buffers going to work? For output we obviously need one that's the LED matrix. For drawing into we probably want a buffer based on the physical layout - which maybe has extra rows/cols in it, e.g. between number and function rows, that don't get copied to the output.

Alas, I have almost no knowledge in µcontrollers or electronics, and can't really follow what you are talking about.

Could you link me to some more information on this project (maybe the existing code), and/or some documentation?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 07:06:32
So it will either process at the end of scanning and slightly delay/shorten the PWM cycle, or process during the PWM cycle if that's possible. It would be ideal to process it during the PWM cycle.

Can it process the PWM cycle and rotary encoder code at the same time?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 07:47:20
Quote from: Djuzuh;619363
Alas, I have almost no knowledge in µcontrollers or electronics, and can't really follow what you are talking about.

Could you link me to some more information on this project (maybe the existing code), and/or some documentation?

Hmm, there isn't exactly much existing code yet!

By buffer I just mean a 2D array for storing the brightness for each LED, and double-buffered so that you can draw into one while the interrupt is reading from the other.

What I was thinking though, is that the drawing buffer could have more pixels in it than we have LEDs - perhaps a full 7x21 grid. That would make certain effects easier to implement, and more, well, effective :-)

Also, how about having multiple LEDs under the spacebar, to make it more of a grid there? No reason we can't have some LEDs that don't have switches.

These high-level things need thinking of as well as the low-level stuff!

Quote from: The_Ed;619372
So it will either process at the end of scanning and slightly delay/shorten the PWM cycle, or process during the PWM cycle if that's possible. It would be ideal to process it during the PWM cycle.

Can it process the PWM cycle and rotary encoder code at the same time?

Couldn't you process the encoders' signals on interrupts? You could have one for each signal wire. Your interrupt might be delayed a little if the scanning interrupt fires just before you get an input, but it shouldn't be by too much, and wouldn't happen often. The reverse, where your interrupt fires just before the scanning interrupt, could disrupt the LED brightness, but if you code your interrupt to be quick that should be ok too - I reckon you could code it very cleanly that way, since in each interrupt handler you already know which signal has changed.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 08:00:10
All my coding experience is with computers, not electronics... I'm used to just plain processing information into output. I've never used PWM, interrupts, and other things of that nature.

Rotary encoders are 2-bit devices. 4 sets of 2-bits is a single input. They need to be polled like the switches. The variables (10 per rotary encoder) process the polled information into the 8-bit codes required for an input.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 08:12:33
Just think of the interrupt as doing a lot of the work for you - if you poll you have to figure out whether any signal has changed, but the interrupt tells you that straight off.

With a rotary encoder you don't have to wait for a set of 4 input changes - each single change can be one step, because it's possible to determine which direction it's going in based on the state of the unchanged signal.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 08:24:51
Quote from: Soarer;619328
Damn trolls!
hah! that's the problem with you embedded types; can't see the forest for the trees! :)

anyway if we can get a prototype (bread?) board together, hacking up a basic demo should be pretty quick
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 08:45:36
Quote from: Soarer;619378
Hmm, there isn't exactly much existing code yet!

By buffer I just mean a 2D array for storing the brightness for each LED, and double-buffered so that you can draw into one while the interrupt is reading from the other.

What I was thinking though, is that the drawing buffer could have more pixels in it than we have LEDs - perhaps a full 7x21 grid. That would make certain effects easier to implement, and more, well, effective :-)

Also, how about having multiple LEDs under the spacebar, to make it more of a grid there? No reason we can't have some LEDs that don't have switches.

These high-level things need thinking of as well as the low-level stuff!



Couldn't you process the encoders' signals on interrupts? You could have one for each signal wire. Your interrupt might be delayed a little if the scanning interrupt fires just before you get an input, but it shouldn't be by too much, and wouldn't happen often. The reverse, where your interrupt fires just before the scanning interrupt, could disrupt the LED brightness, but if you code your interrupt to be quick that should be ok too - I reckon you could code it very cleanly that way, since in each interrupt handler you already know which signal has changed.


Having a real actual grid to work with while programming would be awesome !

and hm… how will you control the lights? Will there be some sort of FN + something, or will we have dedicated buttons do control the light?

Also, will we be able to change the inserted effects afterwards with the PC?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 08:47:53
Quote from: Djuzuh;619403
Having a real actual grid to work with while programming would be awesome !

Exactly! Now... I want ripples (http://freespace.virgin.net/hugo.elias/graphics/x_water.htm) :-D
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Fri, 22 June 2012, 08:55:31
Meh, ripples can't hold up with a decent typing speed xD.*But it definitively HAS to be on the keyboard imo :]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 09:25:17
Quote from: Soarer;619385
Just think of the interrupt as doing a lot of the work for you - if you poll you have to figure out whether any signal has changed, but the interrupt tells you that straight off.

With a rotary encoder you don't have to wait for a set of 4 input changes - each single change can be one step, because it's possible to determine which direction it's going in based on the state of the unchanged signal.


24ppr with only 2-bits would be an insane 96 inputs per rotation and you could only input a multiple of 4. Rotary encoders have physical "bumps" for every ppr. I consider one "bump" as one input. Which means that even though I can tell direction from 2-bits, I still have to use 8-bits for one input.

Remembering about the bumps means I have to rethink the code slightly. I think I know how I'll do it. Positives and negatives from the 2-bits. When 4 is reached in either direction it inputs. But only when it's between "bumps".

I'm down to 16 variables and the inputs will exactly line up with the "bumps".

The polling frequency of 1000hz for the rotary encoders lines up exactly with the polling frequency of the switches. Why would I use an interrupt instead of the polling that's already happening? That seems like a waste of processing.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 10:56:14
Quote from: The_Ed;619424
24ppr with only 2-bits would be an insane 96 inputs per rotation and you could only input a multiple of 4. Rotary encoders have physical "bumps" for every ppr. I consider one "bump" as one input. Which means that even though I can tell direction from 2-bits, I still have to use 8-bits for one input.

Remembering about the bumps means I have to rethink the code slightly. I think I know how I'll do it. Positives and negatives from the 2-bits. When 4 is reached in either direction it inputs. But only when it's between "bumps".

I'm down to 16 variables and the inputs will exactly line up with the "bumps".

The polling frequency of 1000hz for the rotary encoders lines up exactly with the polling frequency of the switches. Why would I use an interrupt instead of the polling that's already happening? That seems like a waste of processing.

OK, so you have a 'bumpy' encoder, that doesn't change much really :)

Have you got a datasheet for the encoder? I'm wondering how quickly it outputs the sequence...

The interrupts only do processing when necessary - you can't get less wasteful than that! :)

The switch scan rate hasn't been decided yet, btw.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 11:13:32
24ppr is 96 2-bit codes per revolution. I have attached one of the rotary encoders up to 2 LEDs before to manually observe this process. It does exactly as it says it does. At a 5ms debouncing time for each 2-bit code I would be able to turn it at 2 RPS with no issues.

I would think interrupts would be bad for something like a rotary encoder that is in a constant state of chattering. And wouldn't be able to tell time like a variable that is updated once a millisecond during polling.

Unless the interrupt can be told to only fire for every 5ms of constant state. In which case it would be more efficient.

Like I said, I've never programmed hardware before.

1000hz is a standard, but a higher multiple could also be used. Anything less would be too little in my opinion.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 11:40:09
Oh, it needs to debounce. Fair enough. Well the main timebase will be the per-column timer interrupt, running at something like 4 to 16 kHz (a constant freq., just not decided yet).

2 RPM seems hellish slow though!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:14:39
2 RPS for any knob is more than enough. You need to regrip it like every half turn.

4 to 16 kHz / 20 to 22 columns < 1000hz... That's between 180hz and 800hz... Not nearly enough...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 12:19:04
Keyboards typically scan at maybe a couple of hundred Hz. 1000Hz would be nice if we can.

And, again, it's not 20 to 22 columns, it's 16 or less. (8 * 16 = 128 keys).

So 15 seconds for half a turn of the knob???!!!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 22 June 2012, 12:24:42
I haven't been keeping up with this and it seems a lots gone through, anyone mind recapping it to save me the pain of reading through the recent stuff?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:25:13
There was a 137? key layout talked about a few months ago in this thread. 8 x 18 = 144. 4000 / 18 = 220hz... NEEDS MOAR!...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:26:41
Quote from: Soarer;619560
So 15 seconds for half a turn of the knob???!!!

I've been up all night... RPS is what I meant...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:29:48
Quote from: hazeluff;619569
I haven't been keeping up with this and it seems a lots gone through, anyone mind recapping it to save me the pain of reading through the recent stuff?

Rotary encoders... That is all...

Now go read everything you missed, it's good for you. And disregard RPM, I meant RPS.

Oh, and I have 152 posts in this thread alone. That's like a quarter of this thread... And more than 17% of my posts... And a large portion of my posts in this thread were rolled back too...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 12:44:50
Quote from: hazeluff;619569
I haven't been keeping up with this and it seems a lots gone through, anyone mind recapping it to save me the pain of reading through the recent stuff?

PrinsValium and litster got married and are on honeymoon.
djuzah, mkawa and the_ed have huddled into an irritation of trolls.
The prototype is still absent.
There was a run on suncream at the store because of rumours of 100,000 lumen keyboards.
The network has confirmed a second series, so the first won't have any real ending...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:48:47
Wow, it's scary how close to reality those are... Cree XM-L FTW!

The aluminum cases act as the heatsinks!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 12:52:58
Any chance on the clock being 32kHz? That would raise the actual poll rate high enough.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: REVENGE on Fri, 22 June 2012, 13:01:42
Quote from: Soarer;619593
PrinsValium and litster got married and are on honeymoon.
djuzah, mkawa and the_ed have huddled into an irritation of trolls.
The prototype is still absent.
There was a run on suncream at the store because of rumours of 100,000 lumen keyboards.
The network has confirmed a second series, so the first won't have any real ending...

:rofl:

Funny only because it's truth.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 13:11:20
Quote from: The_Ed;619603
Any chance on the clock being 32kHz? That would raise the actual poll rate high enough.

No.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 13:16:02
That means I'll either have to lessen the debouncing time or have less than 2 RPS. Is 16kHz very likely?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Fri, 22 June 2012, 13:22:48
Quote from: Soarer;619593
PrinsValium and litster got married and are on honeymoon.
djuzah, mkawa and the_ed have huddled into an irritation of trolls.
The prototype is still absent.
There was a run on suncream at the store because of rumours of 100,000 lumen keyboards.
The network has confirmed a second series, so the first won't have any real ending...

Quote from: The_Ed;619597
Wow, it's scary how close to reality those are... Cree XM-L FTW!

The aluminum cases act as the heatsinks!

Quote from: REVENGE;619606
:rofl:

Funny only because it's truth.

I was scanning the posts and then I saw my name next to "married"!  BTW, I am going to meet BiNiaRiS this weekend for our secret rendezvous.  Please don't tell Prins!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 13:27:34
My dad likes kraken. Rum and coke is his favorite drink. But why the hell would you drive 3-4 hours each way?!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Fri, 22 June 2012, 13:33:42
Dedication, man.  Dedication.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 13:34:45
Quote from: litster;619621
I was scanning the posts and then I saw my name next to "married"!  BTW, I am going to meet BiNiaRiS this weekend for our secret rendezvous.  Please don't tell Prins!
don't be silly litster, you're happily married to ping!

besides, prins is a swedish prince. it would never work :(

anyway i think most of us are out of sync here. someone take the lock and atomically present a schematic and some sample code in one shot. that person should naturally not be the_ed because i never have any idea what he's talking about. (rotary encoder? wth?)

also, seriously, have bini invoice me for beer money (or just take it out of my balance). i'd be there sorting with you guys if i weren't crunching for a deadline down south :(
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: REVENGE on Fri, 22 June 2012, 13:37:23
Quote from: litster;619621
I was scanning the posts and then I saw my name next to "married"!  BTW, I am going to meet BiNiaRiS this weekend for our secret rendezvous.  Please don't tell Prins!
Oh no! Now he's having an affair with BiNi?!?!

What sort of nasty Cherry vintage board swapping is going on here!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 13:39:39
Quote from: REVENGE;619637
Oh no! Now he's having an affair with BiNi?!?!

What sort of nasty Cherry vintage board swapping is going on here!
there are no cherries involved here. bini's cherry(ies?) was stolen long ago

he said he still has some minitouches though!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 13:39:59
Rotary encoders can be used for volume and seeking forward and backward. No more clicking! Multimedia FTW!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 13:42:26
why don't you just attach one to a teensy or arduino board and do whatever you want with it then? this is a keyboard project, not a discrete volume control project (although: quick plug for ti kan's d1 and lcduino kits! http://www.amb.org/audio/delta1/)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: litster on Fri, 22 June 2012, 13:51:13
Quote from: mkawa;619634
that person should naturally not be the_ed because i never have any idea what he's talking about. (rotary encoder? wth?)


Mr. Ed is the Ed!

(http://www.tvcrazy.net/image/data/media/34/mister%20ed%20glasses.jpg)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 13:51:52
Why can't I add rotary encoders to a CUSTOM keyboard?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:01:54
Special Keyboard for Ed! YAY!

[ATTACH=CONFIG]53695[/ATTACH]
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 14:03:53
Quote from: The_Ed;619613
That means I'll either have to lessen the debouncing time or have less than 2 RPS. Is 16kHz very likely?

I don't see how changing the scanning freq. changes anything there - isn't the max rate effectively a function of debounce time and number of steps / revolution?

A quick google (http://www.google.co.uk/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=rotary+encoder+debouncing) finds some folk using hardware debounce, and interrupts. Which is how I would tackle it.

Also, it seems that maybe bouncing can be handled as if it is normal input, especially if you have an encoder with detents. The bouncing moves your internal counter up/down by one step each bounce (if you catch it), but that has no effect because you're waiting for four correct steps before making any output. If you don't catch the bounce, then you don't change your internal counter anyway. (You'd fail to catch a bounce if an interrupt fired, but when you looked the signal was in the same state as before).

For this firmware the emphasis is on the LEDs. At the fast end, we want 256 levels of brightness in PWM. At the slow end, we want a fast enough scan to avoid flicker and to read keys enough. In the middle, we want as many steps as possible so that the timing of the scannning interrupt isn't too critical. There really isn't much room for manoeuvre!

edit (sorry): We can easily keep a few pins aside for you, which can trigger interrupts (if you want). But messing with the timing stuff isn't going to happen - you'll just have to see if it works for you once it's done, I'm afraid.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 14:16:21
Quote from: litster;619648
Mr. Ed is the Ed!

Show Image
(http://www.tvcrazy.net/image/data/media/34/mister%20ed%20glasses.jpg)

this reference dates me but according to wikipedia, someone has to be a fellow named wilbur for this analogy to work. volunteers?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:18:38
Quote
During the switch transitions noise is generated, typically lasting from 1 to 5 milliseconds; the switch is “bouncing”.

That's why I had a debounce time of 5ms. At 1000Hz that's 5 samples. 5ms x 96 codes per revolution = 480ms. 1 / 0.48 = 2.083 RPS.

At lower frequencies 5 samples is more than 5ms, so I get less RPS.

If I lower the number of samples I will retain my RPS, but risk debouncing issues.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 14:20:48
ok, sorry, trolling again, but is it really that hard to add a second micro to dedicate to led scanning and computation? (potentially a series of matrix transforms if one wants to get really fancy)

i know the answer is yes, but i still have to ask!

edit: ok, ok 5 minutes of googling has convinced me that it's not worth it. the last thing we want to deal with on a frickin keyboard is an i2c bus or something equally complicated. we can probably just up the micro clock as high as we dare if we want to get fancy
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:24:18
Quote from: Soarer;619654
edit (sorry): We can easily keep a few pins aside for you, which can trigger interrupts (if you want). But messing with the timing stuff isn't going to happen - you'll just have to see if it works for you once it's done, I'm afraid.

I've known this since the beginning. And who knows, it may only work if I rewrite the code. I may end up with a regular backlit board with fully functioning rotary encoders, or I may get lucky and get them fully functioning with individual LED control still working. Everyone can customize them any way they want.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 14:26:41
Quote from: mkawa;619640
he said he still has some minitouches though!


The love that dare not speak its name.

Alps love.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:28:39
2 micro controllers were used in the original nixie ramos. It works for some projects, but I keep hearing an adamant "No" for keyboards...

Quote
The system is all controlled by 2 Atmega 168 micro controllers that run arduino. One of them handles all time-keeping and button/alarm events and the other handles displaying the digits on the tubes. Essentially I have one micro-controller as a master that sends short serial messages that tell the second micro-controller of what time it should display on the tubes.


(http://geekhack.org/attachment.php?attachmentid=52281&d=1338876583)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 14:33:29
Quote from: The_Ed;619670
I've known this since the beginning. And who knows, it may only work if I rewrite the code. I may end up with a regular backlit board with fully functioning rotary encoders, or I may get lucky and get them fully functioning with individual LED control still working. Everyone can customize them any way they want.

I reckon you'd be able to get it working somehow, but some - excuse me - mkawa, STFU about 2 CPUs! - some rewriting may be required for sure; sod's law says that even doing it your way would need a fair bit of tweaking to get it just right :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 14:36:51
Quote from: Soarer;619679
mkawa, STFU about 2 CPUs! -
look at my edit! look at my edit! i even googled!!

not only that but it just occurred to me that it shouldn't be too hard to export the keyboard's "frame buffer" as a device on the host controller anyway. YOU WILL GET YOUR WAVE THING EVEN IF I HAVE TO HACK FOR SEVERAL HOURS, SIR SOARER
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:40:38
Sod's law - "bad fortune will be tailored to the individual", "anything that can go wrong, will", and "Toast will always land butter side down"...

Since it's firmware I can't just recompile and check for errors. I have to flash it and use it, then make tweaks, flash it again, rinse and repeat.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:45:03
Quote from: mkawa;619681
look at my edit! look at my edit! i even googled!!

You didn't google hard enough. 2 is technically possible, but no one here wants to do it. So be it, I'm not in charge. I'll MAKE it work for my needs after this is finalized. Whether it's 1 or 2.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 14:50:59
Quote from: mkawa;619681
not only that but it just occurred to me that it shouldn't be too hard to export the keyboard's "frame buffer" as a device on the host controller anyway. YOU WILL GET YOUR WAVE THING EVEN IF I HAVE TO HACK FOR SEVERAL HOURS, SIR SOARER


And you said I was confusing YOU with rotary encoders... Yeah, go get your "WAVE THING", and take your sweet time.

How did you become a moderator anyway? I've always been curious.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 14:56:50
Quote from: The_Ed;619685
Sod's law - "bad fortune will be tailored to the individual", "anything that can go wrong, will", and "Toast will always land butter side down"...

Since it's firmware I can't just recompile and check for errors. I have to flash it and use it, then make tweaks, flash it again, rinse and repeat.
Yup :-)

With very little in the way of debugging, either. Prints are too slow, LEDs are too slow, 'scopes are hassle etc etc.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 15:03:21
Quote from: The_Ed;619698
And you said I was confusing YOU with rotary encoders... Yeah, go get your "WAVE THING", and take your sweet time.

How did you become a moderator anyway? I've always been curious.
this is clearly a rathole, but to elaborate for a second. here's the firmware model i have in my head:

we have a 2d matrix of chars, let's call it fbuf, representing the display state of the LED matrix (ie, fbuf[j] = "brightness of the (i,j)th LED"). we get to execute one firmware loop on the micro.

Code: [Select]
foreach tick:
  update fbuf;
  scan the LED matrix, updating the PWM registers with the contents of fbuf
  poll the keyswitch matrix
  dump active keys onto usb bus

but updating fbuf could take an arbitrary amount of time, depending on how much computation we'd like to do to yield the next display frame. because we only have one flow of control on the micro, this all has to happen sequentially, and if we scan the LED matrix too slowly, we will have flicker on the LEDs, or worse, we'll miss a keystroke.

so imagine instead that the host computer can write directly into the memory at fbuf (can you do DMA over usb? who knows, but let's pretend). then, the loop becomes simpler:

Code: [Select]
foreach tick:
  scan the LED matrix, updating the PWM registers with the contents of fbuf
  poll the keyswitch matrix
  dump active keys onto usb bus

soarer seems confident that we will have zero flicker if the firmware loop looks like this. to mutate fbuf, then, it suffices to write a simple driver on the host machine that dumps data into it.

finally, soarer is nixing my 2 micros suggestion because communication between them is needlessly complicated. coming from a high-level background, my model of multiprocessing is either a) shared memory or b) message passing. while these abstractions can be implemented at a micro level, there's a _lot_ of engineering required to build those abstractions, and there's no ready platform that does that engineering for us. basically, it's a lot of added complication for no particular reason, so his conclusion is quite sound.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 15:04:51
It's always good to broaden one's horizons. To make useful everyday things from scratch is a learning experience and journey.

I'll share my code when I get the rotary encoders working properly so other people can be lazy if they wanna copy.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Fri, 22 June 2012, 15:15:31
I use long variable names so I know what the hell they are, and I never use foreach loops. I have used pointer arrays of classes, but I've never found a use for foreach... Maybe it's just how I think... I'd need to see more code to understand what you're on about...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 15:54:40
read "foreach tick" as "while(1)". i think in the arduino macro language it's just like "do forever { ... }" or something like that
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 16:27:08
mkawa, you are forgetting that each tick is actually just for one column :) ... so the handler might look like:

Code: [Select]
ISR(tick) {
    // update column strobe and pwm for column
    // read column of keys
    // put any new key events for the column into a queue
    if ( ++column == num_columns ) {
        // process event queue and send to usb
        // if frame buffer is ready, copy it to output buffer
    }
}


Only the stuff before the 'if' is particularly time-sensitive, in fact only the column and pwm update.

Actual frame buffer updating could happen inside the if, or, more likely, in the main loop if it might take a while.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 17:05:09
hmm ok. so what's the flow of control into this isr block? is this what fires when there's an interrupt on a column? or is this just an iteration of a main processing loop? (that's iterating over each column in a cycle)

thanks for breaking this down for me soarer!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 17:22:25
It's an interrupt firing off a timer, set to trigger at a few kHz, some multiple of the PWM frequency.

(In fact we could run it off one of the PWM interrupts, if we counted to the multiple before running it. It's easier to code using a separate timer though, I think).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Fri, 22 June 2012, 17:25:36
Damn it, you've been busy. We've celebrated midsummer here. I didn't read it all, particularly not the parts about marriage. The ErgoDox project is doing some serial IO communication. That is only to an expander though. I don't know if it is any harder doing it with another processor.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 17:58:00
Quote from: Soarer;619858
It's an interrupt firing off a timer, set to trigger at a few kHz, some multiple of the PWM frequency.

(In fact we could run it off one of the PWM interrupts, if we counted to the multiple before running it. It's easier to code using a separate timer though, I think).
got it, thanks!

i'll take a look at the ergodox. if dox's setup is robust enough, it's theoretically possible that we could just borrow it and place another micro in place of whatever the second thing is doing (although i suspect in the edox's case it's just an encoder and it's only moving data unidirectionally).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 22 June 2012, 18:20:00
Quote from: PrinsValium;619862
Damn it, you've been busy. We've celebrated midsummer here. I didn't read it all, particularly not the parts about marriage. The ErgoDox project is doing some serial IO communication. That is only to an expander though. I don't know if it is any harder doing it with another processor.

Not that busy really, still just spouting ideas :-)

Joining two processors up with SPI would be a fairly straightforward process, but not trivial. Mainly though, there needs to be a good reason for doing it, and I haven't heard one yet!!

Summer... hahahaha... I blinked and missed it - it was Monday and Tuesday this week. Yesterday some places had a month's worth of rain in 24 hours. Again. Can you please take the jetstream back now?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 22 June 2012, 18:23:57
[strike]a-ha! so is there is a shared register you can sandwich between them and not have to do this complex bus business. that said, this SPI thing looks like it's subject to write endurance, and not really meant for high traffic.[/strike] (google-fu fail) anyway, it does sound to me like soarer's reasoning is sound in that we don't need another micro. the only thing we might need is a bit more current, but i'm sure there's some way to do this without changing micros
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Fri, 22 June 2012, 19:38:39
Quote from: mkawa;619908
[strike]a-ha! so is there is a shared register you can sandwich between them and not have to do this complex bus business. that said, this SPI thing looks like it's subject to write endurance, and not really meant for high traffic.[/strike] (google-fu fail) anyway, it does sound to me like soarer's reasoning is sound in that we don't need another micro. the only thing we might need is a bit more current, but i'm sure there's some way to do this without changing micros

Extra USB power cable.So, use two slots instead of one maybe.



Man this chat has gone crazy. Anyway, I'm going to place whats on my mind onto here.

I am not a fan of using a second microcontroller. I'd rather Have a single more powerful controller. A second microcontroller makes separating the two tasks of running the switch and LED matrix simpler, it gives rise to having to interface the two together. Definitely doable, but an extra level of complexity that may not be needed.

I would like to test the very original idea, to see if that concept is viable at all.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Fri, 22 June 2012, 20:40:37
I've had plenty of embedded experience with serial busses.  Everything from UART to MIPI.  Go with SPI if you can.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sat, 23 June 2012, 05:38:58
yes, i did look into SPI and TWI/I2C after my initial fail. since the switch matrix micro is going to do most if not all of the talking, we could do a simple 3-pin SPI setup that slaves an LED controller to the teensy's AVR. there's a teensy (standard) library that then places a reasonable send-message abstraction over the SPI bus. soarer's "straightforward, but not trivial" seems to sum up the total engineering effort needed pretty well, since we would still have to figure out how to cleanly lay out the teensy components and LED driver or micro on the board without getting in the way of anything. not to mention the need to split the firmware and find an appropriate LED driver (most of the ones i was looking at today were either overkill or underkill)

one thing i did notice is that all of the LED driver ICs that are easily slave-able would increase our current handling by about as much as we want (to 500mA or so). so, maybe a reasonable option just for that.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 23 June 2012, 10:13:14
Well I still don't think it's necessary to pump the max current, since those who want a bright backlight can simply buy the brighter LEDs. Honestly, I think would be more than bright enough even at 6% to 10% duty cycle, and I don't feel a need to prove that point. Not to mention that proving it would be tricky, what with the difficulties of scientifically photographing them or whatever!

Someone should look into what driver ICs are available though. I haven't spent much time looking, but I haven't seen any single chip solution to driving an 8x16 array with independant level control yet. There are cheap display drivers for 8x8 that do not have level control. There are RGB drivers that have level control, but need an extra shift register as well (e.g. DM163 on arduino colour shield (http://iteadstudio.com/store/index.php?main_page=product_info&products_id=312)). An 8 column RGB driver would be fine driving a 24 column mono matrix, of course.

I think the real benefit we might get from a driver chip isn't simply brightness, but brightness control... for example that DM163 only only has 6 bits per pixel, but it also has an overall brightness register of 8 bits. That has real practical value in making something that works nicely in both daylight and total darkness. But OTOH, who really wants backlighting in daylight?

Talking to a driver chip would be much less than half the work of talking to another teensy - only one end to write, no thinking about the protocol, demo code already existing, etc, etc.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Sat, 23 June 2012, 22:31:36
It's always better to go overkill than underkill. Go overkill with the LED controller.

As to where to put everything - A separate daughter board with headers will plug into the back. It will contain all of the controlling circuitry. A slightly taller case will be required, but it would be the easiest solution.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 09:20:15
Quote from: The_Ed;620581
It's always better to go overkill than underkill. Go overkill with the LED controller.

As to where to put everything - A separate daughter board with headers will plug into the back. It will contain all of the controlling circuitry. A slightly taller case will be required, but it would be the easiest solution.

More than you need is a waste. Design is about compromising; you can't please 100% of people with one design, yet you have to meet 100% of the requirements for most people. Having an extra circuit board and a larger case is a big compromise, and an absolute no-no if this has to fit into an existing case (which is likely).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 09:23:10
Quote from: Soarer;619593
PrinsValium and litster got married and are on honeymoon.
djuzah, mkawa and the_ed have huddled into an irritation of trolls.
The prototype is still absent.
There was a run on suncream at the store because of rumours of 100,000 lumen keyboards.
The network has confirmed a second series, so the first won't have any real ending...


Why does everybody keep saying Djuzah? :(
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 09:35:32
Quote from: Djuzuh;620847
Why does everybody keep saying Djuzah? :(

Heh, sorry. Probably cos I mentally pronounce it 'jizza'.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 09:39:03
I think somebody needs to prototype the led thing, maybe hack something quick with arduino, to know if the current you intend to send is enough.

We can't just assume, and wait for the first prototype to realize it's not enough/ it's enough :p.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 10:06:51
Quote from: Djuzuh;620854
I think somebody needs to prototype the led thing, maybe hack something quick with arduino, to know if the current you intend to send is enough.

We can't just assume, and wait for the first prototype to realize it's not enough/ it's enough :p.

All of the asuming I'm seeing is from those who a) say it won't be bright enough without a driver, b) want someone _else_ to build prototypes, and c) don't have thought-out suggestions, just spanners to throw in.

I know from experience that getting an ultra bright LED to just glow nicely, rather than blindingly, takes a huge reduction in current and/or duty cycle. The LEDs on my teensied breadboard are using 10k resistors - which works out at only 0.25mA!! Also, doubling the current from say 20mA to 40mA won't give a subjective doubling of brightness.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 24 June 2012, 14:34:47
Quote from: Soarer;620866
All of the asuming I'm seeing is from those who a) say it won't be bright enough without a driver, b) want someone _else_ to build prototypes, and c) don't have thought-out suggestions, just spanners to throw in.

I know from experience that getting an ultra bright LED to just glow nicely, rather than blindingly, takes a huge reduction in current and/or duty cycle. The LEDs on my teensied breadboard are using 10k resistors - which works out at only 0.25mA!! Also, doubling the current from say 20mA to 40mA won't give a subjective doubling of brightness.

Prototyping that thing is one of the first things I want to do once I move back home in a few days, but I still need to gather components and even a new breadboard (silly me, I shipped it using ship freight...).

I agree, that the brightness is not the issue.

I just want to verify that the original idea is not viable AT ALL, before we start going off with the other designs. Its so much simpler and elegant (tho could just fail miserably). Occam's razor ya know.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 24 June 2012, 14:43:23
i just want to say that design brainstorming is far from throwing a spanner in. naturally it all comes down to prototyping prototyping and prototyping, but it's good to have some ideas or optimizations in mind in case we find that first prototypes are deficient in some dimension.

as for brightness, i have no idea how much current we'll need, just that we may need to increase current handling capability. remember, there's going to be a keycap on top of the LED...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 14:50:09
Quote from: Soarer;620866
All of the asuming I'm seeing is from those who a) say it won't be bright enough without a driver, b) want someone _else_ to build prototypes, and c) don't have thought-out suggestions, just spanners to throw in.

I know from experience that getting an ultra bright LED to just glow nicely, rather than blindingly, takes a huge reduction in current and/or duty cycle. The LEDs on my teensied breadboard are using 10k resistors - which works out at only 0.25mA!! Also, doubling the current from say 20mA to 40mA won't give a subjective doubling of brightness.

Hm, you are suggesting ultra bright leds, how much more do those cost against regular leds? because we need 100 of them for each board :o.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Sun, 24 June 2012, 14:54:09
You're going to need blinding LEDs to get them to go through opaque keys, no doubt. But earlier on I asked melissa about any translucent keys with legends and she said they can make a PBT that would let some light through for a glow effect.Tho I think we we should get it to a level where the keys will glow from underneath the keys possibly if we use normal opaque keys.

Otherwise the aim is probably that they light up enough for use with proper transparent legended keys.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 14:59:47
QWER keys now makes keycaps like on Deck boards. With custom legends too !

He can even make the opposite of deck keycaps, the whole keycap glows but not the legend.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 15:16:14
Quote from: mkawa;621043
i just want to say that design brainstorming is far from throwing a spanner in. naturally it all comes down to prototyping prototyping and prototyping, but it's good to have some ideas or optimizations in mind in case we find that first prototypes are deficient in some dimension.

as for brightness, i have no idea how much current we'll need, just that we may need to increase current handling capability. remember, there's going to be a keycap on top of the LED...


Sorry, but if you have 'no idea', then you're just throwing a spanner in.

It's not hard to get an idea: old-school IBM lock LEDs are maybe 1mcd @ 25mA. 'High-brightness' types are about 50mcd. Now we have 5000+ mcd LEDs easily available. We will PWM them by a factor of between 8 and 16 - so they'll still be 300 to 600 mcd. It's just simple math, that you could easily do by yourself. Is that enough? It's certainly enough to a useful. Will it be enough for everyone? Possibly not, but if it's fine for 90% of people then I'd say it was 'good enough'.

Brainstorming is bull****. What's useful is work - research, thinking and such. If we all do a bit of it this will be fruitful and fun. Instead of just saying that we might need a driver, why not go look for some that might be suitable? You might find one that would be ideal and we'd be daft not to use it. Just google "led matrix driver" and see what you find.

And finally, I've asked more than once what keycaps might be used...
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Sun, 24 June 2012, 15:16:27
It's gonna be tough to make the whole cap glow from just one LED on one side.  Would be cool if it could be done, though.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 15:19:25
Quote from: Djuzuh;621047
Hm, you are suggesting ultra bright leds, how much more do those cost against regular leds? because we need 100 of them for each board :o.

Why don't you go and look!!!!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: rknize on Sun, 24 June 2012, 15:20:24
it might be a good idea to consider which side of the cap should be lit, as it will affect layout.  For example, it makes sense to have the LED on top for the mail part of the KB, but I've always thought that the num row should have the LED on the bottom.

I wish cherry would make a switch with a completely transparent top half.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 15:24:07
Quote from: Soarer;621071
Why don't you go and look!!!!

You seemed to have a pretty good idea about what you exactly want.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 15:32:13
Quote from: Djuzuh;621075
You seemed to have a pretty good idea about what you exactly want.

Sure, I have an idea of what WE'd want, but I haven't shopped around. Maybe $10 on the 100, at a wild guess.

You do realize that 'regular' LEDs are orders of magnitude less bright, and the driver will only increase current by 2 or 3 times, right?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Sun, 24 June 2012, 15:33:59
If there are locations for extra transistors and perhaps serial resistors for them, the resistor pads can be shorted, and the base/gate of the transistor can be shorted to the output. This allows for transistors for those who want them, or driving directly from the uC. The transistors need to be placed somewhere though, but there should be plenty of room.. =)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Djuzuh on Sun, 24 June 2012, 15:34:28
Quote from: Soarer;621081
Sure, I have an idea of what WE'd want, but I haven't shopped around. Maybe $10 on the 100, at a wild guess.

You do realize that 'regular' LEDs are orders of magnitude less bright, and the driver will only increase current by 2 or 3 times, right?

oh ok. I just remembered some sort of 1/2$ per led in my head.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 15:39:47
Quote from: PrinsValium;621083
If there are locations for extra transistors and perhaps serial resistors for them, the resistor pads can be shorted, and the base/gate of the transistor can be shorted to the output. This allows for transistors for those who want them, or driving directly from the uC. The transistors need to be placed somewhere though, but there should be plenty of room.. =)

The only problem is that the transistors invert the signal, so the code would have to know to invert the PWM values... should have plenty of pins spare for an input from a jumper though :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 24 June 2012, 15:41:06
yes, i spent quite a bit of time thinking about LED efficiency, brightness claims and light emission measurement a couple of years ago when i was working on a bike light. i've also spent some time recently playing around with my backlit keyboards with both translucent and non-translucent caps. what i know is that the upper limit of this design is probably to shine through a non-translucent ABS keycap. it's a nice effect and allows the board to be compatible with a user's existing (eg, doubleshot) keycaps.

brainstorming is not "bull****" in any sense of the word, but i respect your opinion and where you're coming from and the least productive thing in this thread would be to get into a drawn out argument about that. what i will say is that i took a look at the atmel MSL series drivers yesterday and none of them seem appropriate for us. as i said initially there is a dox or phantom related thread where someone with much more design experience than i have mentioned a bunch of MCUs that looked pretty good, although I don't know what their SPI compatibility story was, and i can't for the life of me find the posts again. if i can find some time later tonight i'll see if i can page through the appropriate parts of the digikey and mouser catalogs and see if anything looks interesting.

Quote
The only problem is that the transistors invert the signal, so the code would have to know to invert the PWM values... should have plenty of pins spare for an input from a jumper though :-)
i'm personally fine with having multiple loadable versions of the firmware or some flags in the config and build scripts
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sun, 24 June 2012, 16:13:38
I always thought brainstorming was a time of voicing optimistic, out-there ideas, which don't get discounted until facts get in the way! It's when you bring in the marketing types, so they can feel they had a say in the design process* ;-)

Anyway, interesting to hear of your experiments, that's far more productive :-) Although I fear you'd need a laser to shine through DS Cherry keycaps! Any chance of finding out more about what's in the 'boards you've been playing with? Current, duty cycle, type of LED...



* actually, you do it to build confidence in junior engineers and hear their ideas, since they're now not the dumbest people in the room!
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 24 June 2012, 16:30:24
in that case, consider me a junior engineer; it's pretty accurate, as i have zero experience in the embedded or practical engineering space, and thanks for suffering through my ideas ;)

anyway, the bike light community has done some measurements and basically everything on the datasheets for "superbright leds" of the standard through-hole type is made up crap that has nothing to do with an actual sample's performance in a design. basically, if you narrow the reflector angle enough, and you do enough cherry picking, and "measurement error optimism", you can say a lot of completely useless things about LEDs. what this means, unfortunately, is that all useful bike lights use cherry-picked ultra-high-efficiency SMT LEDs with custom lenses and reflectors, large heatsinks, and heavy duty drivers, none of which is relevant to our project. :P

as for the backlit keyboards i've used, i've played around with both deck and vortex boards and my belief is that not only do we not need a laser to shine through SP doubleshots, but we only need a little more power than they're getting. put a cherry replica red-esc on a deck 82 and it will give a pretty nice glow. otoh, put the stock vortex keys on a pure, and it will barely shine through the translucent bits :/. so anyway, let's carry on, and we can start arguing again when we get some prototypes up and running. deal? :) well, i'm excited at least.

also, i'll have a lot more time after mid-july, and a work-related excuse to spend time looking at arduino/teensy code.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 25 June 2012, 06:34:33
The only thing i want to correct is that transisters dont nessesarily invert signals. It depends on how its setup.
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 25 June 2012, 07:44:48
Quote from: hazeluff;621475
The only thing i want to correct is that transisters dont nessesarily invert signals. It depends on how its setup.

I didn't say they always inverted ;-)

But in this application, we want a switching mode, so that imposes a few restrictions, doesn't it?
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 25 June 2012, 09:55:56
Quote from: Soarer;621498
I didn't say they always inverted ;-)

But in this application, we want a switching mode, so that imposes a few restrictions, doesn't it?

Ummm The problem is we need two, one for column and one for row. And it's quite impractical to make them both work of active high signals. one of them is going to be inverted.

Morning me raging at stuff i skimmed over. = )
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 25 June 2012, 10:45:05
Quote from: hazeluff;621549
Ummm The problem is we need two, one for column and one for row. And it's quite impractical to make them both work of active high signals. one of them is going to be inverted.

Morning me raging at stuff i skimmed over. = )

Definitely crossed wires here!

N-channel FET would be used to connect the row or column to ground when it's input is high - an inversion.
P-channel FET would be used to connect the row or column to supply when it's input is low - an inversion.

If we take out the P-channel FETs, we'd need to drive the row or column active high instead :-)
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: hazeluff on Mon, 25 June 2012, 11:39:55
Quote from: Soarer;621570
Definitely crossed wires here!

N-channel FET would be used to connect the row or column to ground when it's input is high - an inversion.
P-channel FET would be used to connect the row or column to supply when it's input is low - an inversion.

If we take out the P-channel FETs, we'd need to drive the row or column active high instead :-)

In terms of voltages you are right...I was thinking in current.

nFET conducts when gate is high. But pFET will conduct when gate is low. (Based on some diagrams a bit back).
Title: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Mon, 25 June 2012, 13:53:40
Quote from: hazeluff;621608
In terms of voltages you are right...I was thinking in current.

nFET conducts when gate is high. But pFET will conduct when gate is low. (Based on some diagrams a bit back).

Yes. Well... the gate has to be high or low relative to the source... and the current flow is in the opposite direction for n-channel vs p-channel, since the source voltage is opposite... :-p
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Fri, 20 July 2012, 14:29:10
So... where were we?!

On IRC, __red__ mentioned some fancy-pants PWM LED driver that looked tidy...
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 20 July 2012, 22:00:34
do you have the model # written down anywhere?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 21 July 2012, 07:08:00
Just found it again: AS1130 (http://www.ams.com/eng/Products/Lighting-Management/LED-Driver-ICs/AS1130?gclid=CNrr3aCr-LACFWJItAodVly98w).
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: bpiphany on Sat, 21 July 2012, 07:32:18
=D Look at that. All you need in a $4 package... Does it require any form of cooling (I didn't read all the 40 pages...) Or were those 30mA the total current? Also, too bad the scroll function was designed for 5 and not 6 rows =P
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Soarer on Sat, 21 July 2012, 07:51:20
Total current would be 340mA, I think. See 'Operating Supply Current' on page 4. Or 360mA (Digit Drive Sink Current, Max).
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sat, 21 July 2012, 08:04:53
that is extremely slick. great find, red
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Sat, 21 July 2012, 08:44:26
Well the good news is that their site is out of date and the SSOP package is available through DigiKey.  Bad news is that the price is $9.40 in single units, although the 25 piece break is not too bad at $7.81.

Intriguing matrix layout... but I'm no EE and haven't a clue the sorts of things you can do :)
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 26 July 2012, 16:46:01
Okey doke, so I have 3x AS1130's on the way and I'm laying out a breakout... who's got the software skills and wants to tackle this?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: spolia optima on Thu, 26 July 2012, 19:35:40
I think you guys are onto something. here are my first couple ideas:




Cherry 1800 compact keyboard
-They're plentiful, easy to find. Models built in the 80's and 90's are rock solid.
-CHEAP.
-just about any G80-18* or G81-18* model will do. cherry's been making them since the 80's, and they haven't changed the basic design one iota.
-nice layout once you get the hang of it.


Cherry G86-52400 series
+plentiful and easy to find, despite having launched in the late aughts.
+simple, modern design (it's a box)
+SOLID build quality. These keyboards are pretty beefy... Unlike

-more expensive
-some might criticize the aesthetics of the thing.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: fartq on Mon, 30 July 2012, 02:51:43
Okey doke, so I have 3x AS1130's on the way and I'm laying out a breakout... who's got the software skills and wants to tackle this?
i can't program the thing unless i have a sample (can't simulate). soarer's the more capable though. maybe get a couple protoboards wires up and send one to him?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Mon, 30 July 2012, 20:15:34
Okey, full LED test board schematic:

[attach=1]

Working on a chopped down 96 LED schematic so I can get cheap-ass test boards.

96 LED test board layout:

[attach=2]
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 31 July 2012, 10:53:07
So I paid OSH Park $4.20 to get 3 copies of this:

[attach=1][attach=2]

Okey, went ahead and got the LED boards from OSH too since the quality is so nice and the price wasn't that much less for 10 of them from Seeed ($20 vs $14)  I don't need 10, that's for sure.

[attach=3][attach=4]


edit: 2 hours later and the fab is in possession of the gerbers, wow!
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 16 August 2012, 15:28:16
SMD - no problem... except I can't see straight for an hour after I do this.  Not the prettiest I've done but it's just a breakout board.

That chunk of metal is the cut-off lead from a 3mm LED:

[attach=1]
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: absyrd on Thu, 16 August 2012, 17:36:04
Nice work. Why can't you see? From staring at something so small? Pick your head up once in a while and pick a spot on the horizon. :P
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: damorgue on Thu, 16 August 2012, 18:31:37
Nice, now go for 3 ground paths with a potentiometer each and use them to control RGB leds...

Pwetty please?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 16 August 2012, 20:28:18
3 ground paths?  You haven't looked at the data sheet have you?  And no pot needed, the driver has color balance settings.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: damorgue on Thu, 16 August 2012, 20:53:04
Which data sheet? The ones I am thinking of have one combined positive lead (anode) and three negative ones (cathodes). Did you intend to control all three of them via pwm? If so, I have missed some progress in this thread.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Thu, 16 August 2012, 20:58:36
The as1130 LED driver datasheet (that chip up there^^) I don't intend on RGB at all, but the chip is all set to handle it.  And if you look at the LED board there is technically no ground path (at least not full time).
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Fri, 17 August 2012, 16:58:45
Hey guys, I finally got my account back.  Glad you found the AS1130.

"Charlieplexing" is the term used for driving LED matrices like that.  Each line has to be able to be either Vcc, GND or high impedance.  It's that third state that makes it possible to cross the streams as it were.

Last week I took a stab at writing a charlieplexing driver in PASM because I couldn't find availability for the AS1130.  Getting the charlieplexing to work was easy... mixing that with PWM was challenging.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sat, 18 August 2012, 09:23:43
yay red. welcome back. i had no idea you were having trouble with your account. have someone shoot me a message if it happens again for any reason.

i'm not sure what this means:

Quote
high impedance.  It's that third state that makes it possible to cross the streams as it were.
can you explain in terms appropriate for a dumb programmer?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 19 August 2012, 12:28:23
[attachimg=1]

The term "high impedience" in this context simply means "disconnected".  Disconnected is NOT the same as 0V.  With microprocessors (with the propeller at least), if you set the I/O port to be input, it effectively disconnects it from your matrix.

So, Just paying attention to the 3x3 matrix in the above diddygram.  A truthtable would look something like this:

Diode#  1   2   3
D1         0   1   X
D2         1   0   X
D3         1   X   0

D13       0   X   1
D14       X   0   1
D15       X   1   0


Where 1 = true, 0 = 0v, and X is disconnected (Input).

With some cleverness you can get multiple LEDs to light at once, but if you don't fully understand the design you can end up with "Ghosting" in much the same way as you get ghosting on keyboards without diodes.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 19 August 2012, 12:52:36
ooooh, so input pins can be effectively read as don't cares?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 19 August 2012, 13:36:33
[attachurl=1]
ooooh, so input pins can be effectively read as don't cares?

Right.   Shiny huh? :-)

I learned this lesson the hard way when I built my first keyboard.  I didn't include any pull-up or pull-down resistors because I assumed that if I put 5V on one side of the switch and my input pin on the other side then closed would mean 1 and not connected would be 0.  Heh, nope ;-)

Since you posted I just designed a PCB which you can plug directly into a breadboard for experimentation:

[attach=2]

Source here: [attachurl=1]
www.diptrace.com for the software to view it.

Gerbers Here: [attachurl=3]

The Gerbers are in the format that the Chinese PCB fabber iteadstudio.com accepts.  It's in that format because I'm about to order it from them.

If you want to follow on at home, buy the "10x10cm 2 layer" PCB fab from them and EMail them that .zip file.  You'll have 10 of the boards in your grubby little hands in 3-4 weeks. (Unless you pay for DHL at which point you'll get it in 8 days).

Alternatively, since I'll have 10 of the lil buggers - if anyone wants one and you'll actually use it, PM me.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Sun, 19 August 2012, 14:35:18
alaric wants a couple :D
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Sun, 19 August 2012, 15:09:08
Dude ^^^ I have a set of 3 of those purple things in my hands, in fact I soldered LEDs and the AS1130 on 1 set already. 
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Sun, 19 August 2012, 17:54:44
In the interests of full disclosure I'm designing a badge for a Hacker Conference and I'm thinking of building a matrix like that out of 0805 or 1206 SMD LEDs. I just replaced the SMD LEDS with through-hole and rendered the PCB in case anyone wanted it.

Prototyping with Through-hole is easier than SMD ;-)
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: __red__ on Mon, 10 September 2012, 21:19:08
Prototype received, built and tested.

Next up, building a charlieplexing object for the processor.

that's 9 pins to control 64 LEDs.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: TheProfosist on Sun, 04 November 2012, 01:57:36
This keyboard ever going to happen i was hoping for a big glowing tank.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Findecanor on Tue, 04 June 2013, 16:40:14
What happened to this project?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: The_Ed on Tue, 04 June 2013, 21:02:08
Korean customs that have LED control happened. This is dead...
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 04 June 2013, 21:11:23
It's not dead... I'm not impressed with what's been produced DIY as yet.  On the other hand I have a lot of things on my plate and pretty much need to learn everything from the ground up.

Now if anyone else wants to help?  :)


In fact that avi over there <----- is a matrix LED controller
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: samwisekoi on Tue, 04 June 2013, 21:44:17
I have learned enough about LED control to dislike it, but am about to include it in the Beta build of the GH75, and was just going to do row-level control AT BEST.

However, if 'charlieplexing' provides better control without doubling the dang keyboard matrix, then I might be interested.

Is there a model where the keyboard controller can communicate over a couple of lines to an LED controller that then controls the 96 actual LEDs using something like 10 lines?

 - Ron I samwisekoi
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 04 June 2013, 21:57:55
The controller in my avi is an AS1130 from austria microsystems.  It uses a 12x11 matrix to control 132 LEDs and you control it via I2C.  It has 8bit PWM on every LED and a bunch of other neat features.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: samwisekoi on Tue, 04 June 2013, 22:04:27
The controller in my avi is an AS1130 from austria microsystems.  It uses a 12x11 matrix to control 132 LEDs and you control it via I2C.  It has 8bit PWM on every LED and a bunch of other neat features.

Yes, that is a channel count I was trying to avoid.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Tue, 04 June 2013, 23:07:16
the USB3 spec allows you to ask for like 1.5A of current. when you actually pull the 1.5A, you have to cut data transmission, but i'm sure there are tons of ways to game this, including but not limited to charging a big electrolytic during data idle..

think it's worth looking at this. right now the nastiest thing is that none of the common dev platforms support support usb3 ootb, but i2c with a usb3 phy is definitely an option with any arm or atmel mcu
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 04 June 2013, 23:09:22
And here I was willing to settling for a software current limiter that gets raised if you jack in a stand alone PSU.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Tue, 04 June 2013, 23:11:55
no one's going to plug an ac adapter into their keyboard just to make it epsilon brighter. that's silly even for diy fun
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 04 June 2013, 23:14:45
Yeah, but it would also allow you to tell the firmware to sink all it wants in the case of crazy USB2 mobos like Gigabyte and their 1.5+ Amp USB2 ports.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: OldDataHands on Tue, 04 June 2013, 23:16:25
Yes, that is a channel count I was trying to avoid.

12 pins to control up to 132 LEDs, and 2 pins for I2C comms is too much?
Isn't that a small miracle of efficient pin usage?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Tue, 04 June 2013, 23:18:19
It's not 12 pins, my breakout is only using a subset in order for me to learn it.  It's 23 pins for the LED matrix.

But still, for what it does it's not many pins.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Tue, 04 June 2013, 23:27:33
Yeah, but it would also allow you to tell the firmware to sink all it wants in the case of crazy USB2 mobos like Gigabyte and their 1.5+ Amp USB2 ports.
[9:14:59 PM] mkawa: http://www.usb.org/developers/devclass_docs/BCv1.2_011912.zip
[9:15:06 PM] mkawa: this is apparently the new high current spec
[9:15:48 PM] mkawa: although i will note that at the very least usb3 gives you 900ma @ 5v and you could actually generate a bunch of current by sending dummy data back and forth
[9:16:37 PM] mkawa: transmission logic level is variable for some reason.. but it goes up quite a bit when you saturate the bus
[9:16:51 PM] mkawa: like 3.6v
[9:17:43 PM] mkawa: so you can request 900ma on the 5v rail and then have a bunch of parasitic draw that's actually directly packet power to a fet somewhere..
[9:22:35 PM] mkawa: there's a forced delay of 200ms between data mode (900ma max) and charging mode (1.5A)
[9:22:52 PM] mkawa: but you can switch modes by logic request, without physical detection

the radio edit here is that you don't need a second port to pull that current. you just need to switch modes. the crazy gigabyte ports are following spec for the most part. all they're doing is extending the "charging port" spec to usb2 devices (and the specification is actually quite vague about whether usb2 devices are allowed to do it. they can if they self-identify as "superspeed devices" and the ports implement some or all of the "superspeed" spec.)

i think asus and giga do have some insane spec breaking ports now, but they're way more than 1.5A. they're like 2A+, and i think they actually ground out all the non-power rail pins when they deliver that current. the usb3 spec actually requires that all ports be fused at 5A

a couple more things:

1) charlieplexing
2) yes that austrian MCU is incredibly pin-efficient. it's quite pissy that MOQ is so high on it from the manufacturer, and it's not available via the usual sources (yet?)
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: OldDataHands on Tue, 04 June 2013, 23:38:07
It's not 12 pins, my breakout is only using a subset in order for me to learn it.  It's 23 pins for the LED matrix.

The datasheet seems to show CS0...CS11 as the "sinks and sources for 132 LEDs.",
and the device comes in 20-pin and a 28-pin packages.  Your LED test matrix uses
only the CS0-CS11 pins... What are you including in the count to get 23?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 05 June 2013, 08:42:02
Yeah well, late nights and I haven't touched it in ages... you're right.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: samwisekoi on Wed, 05 June 2013, 08:58:41
Yes, that is a channel count I was trying to avoid.

12 pins to control up to 132 LEDs, and 2 pins for I2C comms is too much?
Isn't that a small miracle of efficient pin usage?

Sorry, this was clarified off-line last night, but I read 'I2C' as 12 channels instead of i2c the protocol spec.

I'm going to look at this and the ON chips for the GH75 second run.

 - Ron I samwisekoi
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: Miek on Wed, 05 June 2013, 09:12:56
2) yes that austrian MCU is incredibly pin-efficient. it's quite pissy that MOQ is so high on it from the manufacturer, and it's not available via the usual sources (yet?)

If sourcing the AS1130 is going to be an issue, why not just drop in a second general purpose MCU to do LED driving?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: SmallFry on Wed, 05 June 2013, 09:15:41
How do the Korean boards do it? I've not looked at an A.87 or similar.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Wed, 05 June 2013, 09:31:57
How do the Korean boards do it? I've not looked at an A.87 or similar.

Less control.  They can't do the reactive or single LED control.

Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 05 June 2013, 10:09:53
2) yes that austrian MCU is incredibly pin-efficient. it's quite pissy that MOQ is so high on it from the manufacturer, and it's not available via the usual sources (yet?)

If sourcing the AS1130 is going to be an issue, why not just drop in a second general purpose MCU to do LED driving?
same answer as alaric. what other MCU has that many PWM channels? there are more LED controllers these days though, and this chip may have wider distribution now. the last time we looked at this was like 6 months ago.

Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: SmallFry on Wed, 05 June 2013, 10:59:35
How do the Korean boards do it? I've not looked at an A.87 or similar.

Less control.  They can't do the reactive or single LED control.
Aha, gotcha.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mtl on Thu, 01 August 2013, 21:38:51
Posted this over at the custom keycap thread (http://geekhack.org/index.php?topic=40352.msg982170#msg982170) (and not sure if it has been discussed here already), but if there is any possibility of using RGB LEDs, these 2x5x5mm LEDs (http://www.aliexpress.com/store/product/2x5x5-Rectangular-tri-color-RGB-LED-4pins-Common-Anode-White-Diffused-Lens/800238_636417339.html) may be a good fit.

Cherry switch bottoms have 4 holes that could be used for the leads, though they are tiny and may need to be widened. Modified or custom switch tops could be made to accommodate the LEDs.

Of course, it would increase PCB and controller complexity a lot!

(http://i01.i.aliimg.com/wsphoto/v2/636417339/2x5x5-Rectangular-tri-color-RGB-LED-4pins-Common-Anode-White-Diffused-Lens.jpg)

RIP SmallFry.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Fri, 02 August 2013, 21:04:32
i'm kind of of the opinion now that SMT leds are the way to go for this.. but those are quite interesting. that said, not usable in a cherry housing
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: domoaligato on Fri, 02 August 2013, 22:54:11
that would be because of the size right?
what about these?
https://www.sparkfun.com/products/11449
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: alaricljs on Fri, 02 August 2013, 23:03:03
Right size, but no control over the coloration.  2x3x4mm rectangular LEDs fit as well, but again these are 2-lead packages.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: S2000Gan on Tue, 06 August 2013, 22:48:06
I have yet to see any 3mm 4 lead RGB LEDs.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: FoxWolf1 on Thu, 08 August 2013, 09:31:15
It's too bad nobody here has a LETIS. Then we'd have an example of a Cherry MX keyboard with RGB LEDs to study.
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: tiberious726 on Tue, 03 September 2013, 00:09:54
It looks like they just route the extra leads out around of the switch. (The larger ones in on the upper right are multicoloured leds from that LETIS board)

(http://i.imgur.com/n9vJ9fK.png)
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: captain on Wed, 18 June 2014, 18:03:28
How is Corsair doing their RGB LED Cherry MX boards?  We should copy their design in a TKL format, with ALL Cherry switches (Corsair screws the pooch IMHO by using rubber domes for F-keys and lesser used keys)  ALL MECH OR GTFO!  ;-)
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: FrostyToast on Wed, 18 June 2014, 18:44:27
Could we just have the full-size 104 key PCB and have the option to saw off the end if we want a TKL?
Title: Re: Next GH-brewed KB design - 'The Light' (open for discussion)
Post by: mkawa on Wed, 18 June 2014, 18:50:56
a large notched pcb was the idea. you could snap off the parts you didn't want, but the full pcb would include a TK pad, a numrow and a basic 60% as the core

this is becoming much easier to do now, as there are many more small dies for controlling lots of LEDs. that said, it's still hard to get these chips in small quantity. i have an inkling of an idea how to get access to this stuff for the community, but i'm not really sure if it will pan out.

anyway, this particular design thread is necrotic.