Page 1 of 3

What CHEAP controller should I use for my handwired Zenith ZKB-7?

Posted: 28 Mar 2018, 14:19
by green-squid
So my latest project will be handwiring a Zenith XT layout board with Alps yellows (HOPEFULLY not cream) from Taobao and I'm thinking about what controller should I use that has enough pins. My budget is $2.

I found this one: https://www.ebay.com/itm/New-Pro-Micro- ... SwMl9aVzad

Will it work? Should I go with something else (this is my first project like this) :)

Posted: 28 Mar 2018, 14:27
by Myoth
well you'll be missing a usb port .... and I don't think you'll find one for $2 /:

Posted: 28 Mar 2018, 14:32
by green-squid
Myoth wrote: well you'll be missing a usb port .... and I don't think you'll find one for $2 /:
If I can solder a cable in, it doesn't matter.

Posted: 28 Mar 2018, 15:12
by green-squid
is it possible to solder one on??

Posted: 28 Mar 2018, 15:17
by hansichen
Take a real pro micro with usb connector and don't bother with such crap. It's only less than 2$ price difference and not worth the trouble. Keep in mind that a pro micro only has a limited amount of pins, this may cause problems on bigger boards.

Posted: 28 Mar 2018, 15:23
by green-squid
hansichen wrote: Take a real pro micro with usb connector and don't bother with such crap. It's only less than 2$ price difference and not worth the trouble. Keep in mind that a pro micro only has a limited amount of pins, this may cause problems on bigger boards.
If I want to convert a fullsize XT, board, what controlles should I use (even if I have to spend more)?

Posted: 28 Mar 2018, 15:25
by hansichen
Teensy 2.0 has more pins. It depends on your matrix how many pins you'll need.

Posted: 28 Mar 2018, 15:50
by scottc
How many rows and how many columns? Add those, and you have the number of data pins that you need. You might even need a Teensy++ if there are many of them.

Posted: 28 Mar 2018, 16:26
by green-squid
Here is the matrix

Posted: 28 Mar 2018, 16:44
by green-squid
Is this how you do a matrix?

Posted: 28 Mar 2018, 16:45
by kokokoy
I used this on a TKL. 18 pins + 2 more if you use the ones on the onboard leds. A cheaper route but you need to plan out your wiring though.

https://www.banggood.com/Pro-Micro-5V-1 ... rehouse=CN

Btw in case you haven't seen this - workshop-f7/how-to-use-a-pro-micro-as-a ... t8448.html

Posted: 28 Mar 2018, 16:57
by Anakey
green-squid wrote: Is this how you do a matrix?
yes and you will need also a pin for each row, so you would need 24 pins (19 columns and 5 rows) on you controller board assuming no lock lights

Posted: 28 Mar 2018, 17:05
by green-squid
kokokoy wrote: I used this on a TKL. 18 pins + 2 more if you use the ones on the onboard leds. A cheaper route but you need to plan out your wiring though.

https://www.banggood.com/Pro-Micro-5V-1 ... rehouse=CN

Btw in case you haven't seen this - workshop-f7/how-to-use-a-pro-micro-as-a ... t8448.html
Thank you! That link is not for handwiring though.

Matt3o made some handwiring tutorials, but he didn't go into great detail about how to really wire it up (if I recall correctly).

Posted: 28 Mar 2018, 17:07
by green-squid
Anakey wrote:
green-squid wrote: Is this how you do a matrix?
yes and you will need also a pin for each row, so you would need 24 pins (19 columns and 5 rows) on you controller board assuming no lock lights
Thanks! I will have to wire up two LEDs because I like lighting up LEDs :D Is that possible somehow?

Posted: 28 Mar 2018, 17:13
by Anakey
LEDs would be possible, each LED would need its own pin assuming you want to run 2 separate LEDs so a total of 26 pins

Posted: 28 Mar 2018, 17:22
by green-squid
Anakey wrote: LEDs would be possible, each LED would need its own pin assuming you want to run 2 separate LEDs so a total of 26 pins
So it *could* fit on a small teensy like this, Right?

Image

Posted: 28 Mar 2018, 17:27
by scottc
Matt3o does have a guide on hand-wiring too. Search for "very own firmware" for the TMK setup and "brownfox step by step" for the physical wiring.

Posted: 28 Mar 2018, 17:27
by Anakey
i don't think the normal teensy 2.0 has enough pins Image

has only 24 usable pins

Posted: 28 Mar 2018, 17:41
by kokokoy
Ah yeah that’s for the controller bit. Aside from matt3o here’s another one from GH https://geekhack.org/index.php?topic=87689.0

What I did for my end, having 20 pin available, is a 10x9 (or was it 9x10 can’t recall) matrix. The extra pin is for caps lock led. The wiring is a mess since some row of the keyboard have to be assigned to 2 pins (i.e. F1-F9 on pin1, F10-Break on pin2) and that 2 columns of the keyboard share the same pin (i.e. F5,5,T,G,B,F6,6,Y,H,N on pin3). Didn’t go with a teensy since thats more expensive and I just want to see if I can do a handwore proj.

Posted: 28 Mar 2018, 18:09
by green-squid
kokokoy wrote: Ah yeah that’s for the controller bit. Aside from matt3o here’s another one from GH https://geekhack.org/index.php?topic=87689.0

What I did for my end, having 20 pin available, is a 10x9 (or was it 9x10 can’t recall) matrix. The extra pin is for caps lock led. The wiring is a mess since some row of the keyboard have to be assigned to 2 pins (i.e. F1-F9 on pin1, F10-Break on pin2) and that 2 columns of the keyboard share the same pin (i.e. F5,5,T,G,B,F6,6,Y,H,N on pin3). Didn’t go with a teensy since thats more expensive and I just want to see if I can do a handwore proj.
So gist of it is that you need to wire them somehow up and hope for the best? :|

Posted: 28 Mar 2018, 18:11
by Myoth
green-squid wrote:
kokokoy wrote: Ah yeah that’s for the controller bit. Aside from matt3o here’s another one from GH https://geekhack.org/index.php?topic=87689.0

What I did for my end, having 20 pin available, is a 10x9 (or was it 9x10 can’t recall) matrix. The extra pin is for caps lock led. The wiring is a mess since some row of the keyboard have to be assigned to 2 pins (i.e. F1-F9 on pin1, F10-Break on pin2) and that 2 columns of the keyboard share the same pin (i.e. F5,5,T,G,B,F6,6,Y,H,N on pin3). Didn’t go with a teensy since thats more expensive and I just want to see if I can do a handwore proj.
So gist of it is that you need to wire them somehow up and hope for the best? :|
well you could convert it instead of handwiring it ... it would be easier too

Posted: 28 Mar 2018, 18:15
by green-squid
Myoth wrote:
green-squid wrote:
kokokoy wrote: Ah yeah that’s for the controller bit. Aside from matt3o here’s another one from GH https://geekhack.org/index.php?topic=87689.0

What I did for my end, having 20 pin available, is a 10x9 (or was it 9x10 can’t recall) matrix. The extra pin is for caps lock led. The wiring is a mess since some row of the keyboard have to be assigned to 2 pins (i.e. F1-F9 on pin1, F10-Break on pin2) and that 2 columns of the keyboard share the same pin (i.e. F5,5,T,G,B,F6,6,Y,H,N on pin3). Didn’t go with a teensy since thats more expensive and I just want to see if I can do a handwore proj.
So gist of it is that you need to wire them somehow up and hope for the best? :|
well you could convert it instead of handwiring it ... it would be easier too
But didn't you (and chyros) mention that it may not actually end up working?

And it's too late now, I'm close to desoldering all the diodes to reuse in the handwiring and I have lifted quite a few pads.

Posted: 28 Mar 2018, 18:17
by mike52787
green-squid wrote: My budget is $2.
Come on man... there has to be a way for you to make money.

Posted: 28 Mar 2018, 18:20
by Myoth
green-squid wrote: But didn't you (and chyros) mention that it may not actually end up working?

And it's too late now, I'm close to desoldering all the diodes to reuse in the handwiring and I have lifted quite a few pads.
I did, but that was (as you saw in chyros video) with regular converters, if you did yours it would have worked 100% if you did it right...

Posted: 28 Mar 2018, 18:23
by kokokoy
green-squid wrote: So gist of it is that you need to wire them somehow up and hope for the best? :|
Nope. As I said earlier you need to plan your wiring.

Posted: 28 Mar 2018, 18:25
by green-squid
mike52787 wrote:
green-squid wrote: My budget is $2.
Come on man... there has to be a way for you to make money.
There is. and that is selling keyboards for me. I was alerted of an AMAZING deal of 85 Alps SKCL/M yellow (or cream? Hopefully yellow) switches for $23 yesterday in the evening and I jumped on it! But now, I only have $2 left (all my money in that account was made selling keyboard related stuff, and I spent it on the Dell model M and these switches).

I may be able to tell my dad to be able to buy a Teensy++, hopefully. I'll ask him.

Also, FUCK! I'm desoldering the diodes and one of them Snapped in half when I was removing it :evil: :evil: God damn it. I thought I was gonna be able to desolder all of these little fuckers to use in that handwiring, but NO. :evil:

Posted: 28 Mar 2018, 18:29
by green-squid
Myoth wrote:
green-squid wrote: But didn't you (and chyros) mention that it may not actually end up working?

And it's too late now, I'm close to desoldering all the diodes to reuse in the handwiring and I have lifted quite a few pads.
I did, but that was (as you saw in chyros video) with regular converters, if you did yours it would have worked 100% if you did it right...
oh well. It sounded like he said no conversion works (or I wasn't paying attention). This will make for a good way to leakn. :geek:

Posted: 28 Mar 2018, 18:33
by green-squid
kokokoy wrote:
green-squid wrote: So gist of it is that you need to wire them somehow up and hope for the best? :|
Nope. As I said earlier you need to plan your wiring.
Aah so you do it like:

Pin number 1: Matrix 1
Pin number 2: Matrix 2
Pin number 3: Matrix 3

:)

Posted: 28 Mar 2018, 18:38
by mike52787
green-squid wrote:
kokokoy wrote:
green-squid wrote: So gist of it is that you need to wire them somehow up and hope for the best? :|
Nope. As I said earlier you need to plan your wiring.
Aah so you do it like:

Pin number 1: Matrix 1
Pin number 2: Matrix 2
Pin number 3: Matrix 3

:)
ummmm that isnt how it works... not at all.

read this. workshop-f7/brownfox-step-by-step-t6050.html

Posted: 28 Mar 2018, 18:41
by mike52787
green-squid wrote: Is this how you do a matrix?
No, not at all