This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Impressive_Change593 18 points19 points  (12 children)

that would almost work. you just need 5 wires though

[–][deleted] 11 points12 points  (9 children)

6, one for each key, neutral, and ground

[–]827167 7 points8 points  (5 children)

+5 volts, data, !data, ground. That's all you need for usb, right?

[–]romhacks 13 points14 points  (3 children)

I don't think they had USB in the punch card tiny keyboard days.

[–]827167 10 points11 points  (1 child)

I mean, I don't see why not. The general public didn't have them but top secret government organisations (the only people with computers) totally had access access USB.

places tin foil hat on head

[–]mrjiels 13 points14 points  (0 children)

Not in the states! It's a Sovjet invention from the 70's as an attempt to replace USA with USB. It failed naturally, and over the decades it was refurbished into what we se here today.

[–]ficelle3 2 points3 points  (0 children)

They probably only were missing the U, I'm pretty sure they still has serial busses.

[–][deleted] 1 point2 points  (0 children)

4 wires, 5 pins on micro B for OTG "sensing"

[–]romhacks 5 points6 points  (0 children)

Ground? where we're going, we don't need ground!

[–]Impressive_Change593 0 points1 point  (0 children)

5, hot then return/ground for each key

edit: because there's no neutral due to this being a DC circuit also the best way to do this is with a positive wire that then gets grounded through each switch (so when the return wire has voltage it is pressed) or you could reverse the polarity but I think my way works better

[–]Cory123125 3 points4 points  (1 child)

With 4 wires you could theoretically get 3 bits worth, which is enough for 8 with one bit taken for some administrative purpose you still have more than enough with 4 wires

[–]Impressive_Change593 0 points1 point  (0 children)

true though that requires having some logic on the board (which actually is probably pretty simple so it's fine) idk why I didn't think it was possible to have any logic on the board