geekhack

geekhack Community => Input Devices => Topic started by: jalli on Thu, 21 November 2013, 22:45:07

Title: Atari CX85 Numpad (USB modified
Post by: jalli on Thu, 21 November 2013, 22:45:07
Figured I'd post this hack.

Found an old Atari CX85 on Ebay for $18, splurged on a Teensy 2 and wired it all up.

Layout/Firmware can be found on https://github.com/jalli/tmk_keyboard/tree/master/keyboard/cx85

[attach=1]

Title: Re: Atari CX85 Numpad (USB modified
Post by: nubbinator on Thu, 21 November 2013, 22:55:38
What kind of switches does it have?  And how long did it take you to figure out all the code for it?

That's such a cool little project.  I actually really love the layout of that.  The 3x +/Enter is a little wonky and it's sad it's missing the other parts of a numpad, but that's a pretty awesome little retro box and a cool little project. 
Title: Re: Atari CX85 Numpad (USB modified
Post by: kaltar on Thu, 21 November 2013, 23:43:26
Love it!!! So damn cool!!!
Title: Re: Atari CX85 Numpad (USB modified
Post by: sth on Thu, 21 November 2013, 23:57:59
What kind of switches does it have?  And how long did it take you to figure out all the code for it?

That's such a cool little project.  I actually really love the layout of that.  The 3x +/Enter is a little wonky and it's sad it's missing the other parts of a numpad, but that's a pretty awesome little retro box and a cool little project. 


http://deskthority.net/wiki/Stackpole_switch_grid
(https://lh4.googleusercontent.com/-z1x-Na81YiI/Too97Ezzt0I/AAAAAAAAB6w/HF66PXbT9p8/w1167-h875-no/2011-10-03+15.39.29.jpg)
Title: Re: Atari CX85 Numpad (USB modified
Post by: jalli on Fri, 22 November 2013, 08:22:49
What kind of switches does it have?  And how long did it take you to figure out all the code for it?

That's such a cool little project.  I actually really love the layout of that.  The 3x +/Enter is a little wonky and it's sad it's missing the other parts of a numpad, but that's a pretty awesome little retro box and a cool little project.

There are some great shots of the PCB and switches in here:
http://atariage.com/forums/topic/155452-hacking-the-atari-800-keyboard-cx85-keypad-onto-a-usb-pc-keyboard-circuit/

The Caps have the same cross as the Cherry MX but the stems are a bit wider so they would not fit an MX switch without shaving the outside. On the plus side any Cherry MX Caps will fit the CX85.

It took about a day to figure out all the wiring and the grid, soldered the PCB end and then used a breadboard to test everything out before soldering permanently.

It's a nifty little box, I've been thinking about transplanting some caps from my Televideo set: http://geekhack.org/index.php?topic=49503.msg1071064#msg1071064 (http://geekhack.org/index.php?topic=49503.msg1071064#msg1071064) since they are compatible.


Title: Re: Atari CX85 Numpad (USB modified
Post by: Lostwave on Mon, 12 January 2015, 10:45:27
I know this thread is old.  But I have one of these and am thinking about doing this.

Just a couple of questions, looking at the code, it looks like you skipped all of the CX-85s controller.  Did you wire the Teensy directly to the buttons on the CX85?

I was kind of hoping to do it without destroying the board, i.e. hooking to the board the same way the atari db9 plug did.

Any help would be appreciated.

Thanks
Title: Re: Atari CX85 Numpad (USB modified
Post by: jalli on Mon, 12 January 2015, 15:52:42
Hey,

I actually skipped the controller entirely, it's been a while but if you have any specific questions I can probably take the box off and check.
Title: Re: Atari CX85 Numpad (USB modified
Post by: Lostwave on Wed, 04 February 2015, 15:59:49
A while ago I picked one of these on ebay for $25, its New Old Stock, never been used.  They have more if anyone is interested. 
http://www.ebay.com/itm/CX-85-Atari-Numeric-Keypad-New-NOS-White-Box-800-XL-XE-/140954304589?pt=LH_DefaultDomain_0&hash=item20d188004d

I managed to make this work without hacking it at all, I can put it back to stock by unplugging the teensy from the mainboard, and hooking the stock atari cord back up. 

The hardest part was to allow it to use media keys, thats way more complex than it needs to be.

Just wired a teensy to the mainboard and wrote my first teensy program.  Amazingly it worked.

Source code here: https://github.com/Lostwave/cx85
Title: Re: Atari CX85 Numpad (USB modified
Post by: TheSoulhunter on Fri, 06 March 2015, 18:16:01
Awesome! Like that "longcat" enter XD
Title: Re: Atari CX85 Numpad (USB modified
Post by: solderdad on Mon, 02 May 2022, 12:24:37
I have a CX85 and want to do this.  I cannot find a clear diagram of how to wire in the Teensy 2 to the keypad.   Anyone have this diagram handy?
Title: Re: Atari CX85 Numpad (USB modified
Post by: Findecanor on Mon, 02 May 2022, 13:06:44
The CX85 was supposed to connect to the Atari 8-bit computer over a joystick port.
When a key is being pressed it provides a keycode on the input pins while grounding the trigger pin (joystick fire button).
It is explained in the manual (http://www.atarimania.com/documents/Atari_CX85_Numerical_Keypad_Technical_Reference_Notes.pdf).
Title: Re: Atari CX85 Numpad (USB modified
Post by: Tactile on Tue, 03 May 2022, 15:44:52
I have a CX85 and want to do this.  I cannot find a clear diagram of how to wire in the Teensy 2 to the keypad.   Anyone have this diagram handy?
This is found in "matrix.c", one of the source files linked in the OP.
Code: [Select]
// Ports for Teensy 2 / CX85
// row:     PB0-4   (pins 0-4)
// row order:    4   2   3   1   0
// row pins:    PB0 PB1 PB2 PB3 PB7
// col:     PD0-3   (pins 5-8)
// col order:    5   8   7   6
// col pins:    PD0 PD1 PD2 PD3