Skip to main content
Home▸ Forums▸ 68kMLA▸ PS2 Keyboard on Mac Plus — #59
Post #59 by bigmessowires
Source Forum68kMLA
CategoryTroubleshooting
Post DateTue, 8 Oct 2013 - 16:04
Original URLhttps://68kmla.org/bb/threads/ps2-keyboard-on-mac-plus.28252/
Post
The board could be made smaller, although for the board shop I'm using, seeed, unless I got it down to a 50cm x 50cm square, it doesn't make any price difference. For price, they come out to about $3 each as-is, and getting down to a 50cm x 50cm square would bring it down to about $1.50 each.
At a glance I'd think 50mm x 50mm is doable. It's not a huge price difference, but you might as well save a few dollars if it doesn't make everything else more difficult.

Regarding the numeric keypad, don't those keys send two-byte scan codes? That may be what's goofing things up.

Thinking more about the board orientation, I just realized that once you've made the "sandwich", you can rest the boards on their edges and it's pretty stable.

But if you did shrink to a 50mm x 50mm board, you could fit the adapter on top of the Discovery board without covering the buttons - double win!

For the rj11 keyboard connector... As you can see, this board is completely devoid of any electronics. It's purely an adapter board. So far, it's also the most advanced electronics I've done. :)

For a switch, wouldn't this have to be a 4PDT switch to get it right?

For autodetection, I've gotten several suggestions that are over my head, so... I'm not sure I'm going to get that right.

I'm kind of leading towards just changing it to be telephone handset cord only, and maybe I can get some help on figuring out how to protect the adapter when the computer's 5V is connected to the adapter's ground.
Let me know if there's anything I can help with on the layout or electronics. I'm no expert either, but I've done a few boards now and they all worked. :-)

If you used a switch for keyboard vs. telephone cable, I think you're right you'd need some kind of multi-pole switch. Maybe just keep it simple and use a couple of jumpers instead.

Making it only use telephone cords sounds like a fine solution to me. The auto-detection would be really cool, but I know how it can be to have people clamoring to add random extra features to your projects. :-)

But if you want to try it, I got a pretty good auto-detection suggestion from the EEVblog forums - let me make some diagrams and post them in a bit.