Advanced search
it just clicks
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Have you read the
geekhack TOS
lately?
Home
Watched
Unread
Notifications
IRC
Wiki
Search
Spy
Login
Register
geekhack
»
geekhack Projects
»
Making Stuff Together!
(Moderator:
Soarer
) »
[Question] Which controller should I use for a custom TKL
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [Question] Which controller should I use for a custom TKL (Read 3471 times)
0 Members and 1 Guest are viewing this topic.
help-14
Thread Starter
Posts: 30
[Question] Which controller should I use for a custom TKL
«
on:
Thu, 09 June 2016, 07:59:06 »
I'm new to kicad and PCB design, working on my first custom TKL keyboard. The problem is I don't know which controller should I use. The TKl have 6 rows and 17 columns, plus 3 pin for RGB led so I need at least 26 pins, ATMEGA32U4 is only have 20 digital pins
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #1 on:
Thu, 09 June 2016, 11:50:46 »
If you're making your own PCB the 32u4 has 26 I/O pins as stated on the
Atmel webpage
, the analogue inputs and pins with special features can be used as digital ones
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #2 on:
Thu, 09 June 2016, 12:30:03 »
Oh, thank for your answer. When googling ATMEGA32u4 I saw it said 20 digital pins, didn't know other pins can be use as digital too
Logged
https://keysekai.com
Findecanor
Posts: 5039
Location: Koriko
Re: [Question] Which controller should I use for a custom TKL
«
Reply #3 on:
Thu, 09 June 2016, 20:20:06 »
You could optimize the number of pins needed by making the logical matrix closer to a square.
A typical ANSI TKL has 87 keys. 9×10 or 8×11 would need 19 pins.
The downside is of course that it would make routing and programming a little bit more difficult.
«
Last Edit: Thu, 09 June 2016, 20:23:27 by Findecanor
»
Logged
🍉
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #4 on:
Fri, 10 June 2016, 02:05:34 »
Another question, can I use this to control the keyboard? I mean I'll use this design controller for GMK firmware.
«
Last Edit: Fri, 10 June 2016, 02:09:40 by help-14
»
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #5 on:
Fri, 10 June 2016, 02:24:54 »
I don't know what all that extra stuff is but Port B.1, 2 and 3 are three of the special pins you need for I/O and they're being used to connect to another chip, so you can't use this schematic. Unless you just mean the USB part? That should work...
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #6 on:
Fri, 10 June 2016, 02:39:26 »
Do you happed to have a schematic that I can use
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #7 on:
Fri, 10 June 2016, 02:51:10 »
The
GH60
doesn't have anything extra, but it does have expansion headers at the top, bottom and on the left side.
«
Last Edit: Fri, 10 June 2016, 02:57:51 by suicidal_orange
»
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #8 on:
Fri, 10 June 2016, 02:53:10 »
Thanks, I'll study it.
Logged
https://keysekai.com
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #9 on:
Fri, 10 June 2016, 23:13:53 »
@suicidal_orange : I did some research and write down the digital code to the pins, but I can only found 24 of them. You said some special port can be use too so which are the last two
«
Last Edit: Sat, 11 June 2016, 01:59:38 by help-14
»
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #10 on:
Sat, 11 June 2016, 02:53:09 »
I didn't say it, the datasheet did
Having just woken up inverting the pinout on a tiny screen is not going well, I've spotted 22 as one of them but can't see the other - figure 2
here
has 26 pins labelled PAx so it's whichever of them you've not used.
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #11 on:
Sat, 11 June 2016, 13:36:14 »
It is the pin 22
Just done wiring all the stuff, re-check twice, now print and test
https://github.com/help-14/tkl-mechkey
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #12 on:
Sat, 11 June 2016, 13:39:56 »
You said you'd only found 24 pins, plus pin 22 you're still missing one?
Also 'print and test', you're etching it yourself?!
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #13 on:
Sat, 11 June 2016, 13:44:26 »
I asked Moz and he said there are only 25 pin available. So I re-wiring the last column and made it a row, so I can have the last pin for RGB.
I'l send it to printing shop, can't do it myself :v
Logged
https://keysekai.com
suicidal_orange
Global Moderator
Posts: 4771
Location: England
Re: [Question] Which controller should I use for a custom TKL
«
Reply #14 on:
Sat, 11 June 2016, 13:55:59 »
Ah that makes sense, a DIY RGB PCB would be quite something!
How do Atmel get away with that false advertising though, is that not a thing in the US? I thought you'd have bought 100, found them unsuitable for purpose, then sued for emotional distress
)
Logged
120/100g linear Zealio R1
GMK Hyperfuse
'Split everything' perfection
MX Clear
SA Hack'd by Geeks
EasyAVR mod
help-14
Thread Starter
Posts: 30
Re: [Question] Which controller should I use for a custom TKL
«
Reply #15 on:
Sat, 11 June 2016, 14:04:40 »
Haha, maybe it is 26, but Moz said I shouldn't use port 33
But who care, i'll call my lawyer
Logged
https://keysekai.com
Print
Pages: [
1
]
Go Up
« previous
next »
geekhack
»
geekhack Projects
»
Making Stuff Together!
(Moderator:
Soarer
) »
[Question] Which controller should I use for a custom TKL