Jump to content

Photo

PS/2 AT Keyboard On Geneve with PIC12F629.


26 replies to this topic

#1 Shift838 OFFLINE  

Shift838

    River Patroller

  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Wed Jul 4, 2018 7:37 PM

Some weeks ago I started looking into getting an AT keyboard to work on a Geneve.  I contacted JediMatt to work on modifying the code for his USB keys, but during my search constant google searching I came across an old post from years back from Tony Knerr (The Great Gazoo).  And this post was about getting a PS2/AT keyboard to work on a Geneve and converted the AT key codes to XT key codes using a PIC12F629 MicroController (1k).  This was not his project, but he was able to get it working and had a photo (no diagrams) of it actually working and he embedded it into a AT keyboard.

 

Well that got me wondering, how this could be done.  After even more google searching I came across a page that had a wiring diagram and the code for the PIC12F629 to do exactly this, or so I thought.  The links were dead.  After even more searching I came up with a wiring diagram and multiple versions of the code.

 

I did have some trouble getting the PIC12F629 programmed, but once I figured out the bit that was causing the code to fail when verified it was resolved.

 

 

So now I am happy to report...  IT'S WORKING!  :grin:  :grin:  :grin: 

 

All keys, upper, lower, number pad, function keys, etc.  Even the num lock and caps lock.

 

Just another piece of hardware we will be able to add to our Geneve Arsenal!

 

I will be getting some made to test an actual PCB run.

 

I did have some trouble getting the PIC12F629 programmed, but once I figured out the bit that was causing the code to fail when verified it was resolved.

 

 

Attached Files



#2 InsaneMultitasker OFFLINE  

InsaneMultitasker

    River Patroller

  • 2,152 posts

Posted Wed Jul 4, 2018 8:06 PM

I have an IBM modem M just begging for use on the Geneve ;)



#3 BeeryMiller OFFLINE  

BeeryMiller

    Moonsweeper

  • 470 posts
  • Location:Campbellsburg, KY

Posted Thu Jul 5, 2018 11:04 AM

I am interested in one!

#4 Nick99 OFFLINE  

Nick99

    Space Invader

  • 16 posts

Posted Fri Jul 6, 2018 10:09 AM

I am also interested in one!



#5 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri Jul 6, 2018 12:04 PM

I am working on the PCB layout today and should be submitting an order for a test run.  If all goes well in two weeks should have a working version for distro.



#6 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri Jul 6, 2018 2:31 PM

I'm ordering the boards...  With some luck they are good.

 

 

Attached Files



#7 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Jul 17, 2018 2:05 PM

posted on the store.

 

HERE



#8 BeeryMiller OFFLINE  

BeeryMiller

    Moonsweeper

  • 470 posts
  • Location:Campbellsburg, KY

Posted Tue Jul 17, 2018 2:25 PM

Chris,

Can you please post where one can find the case and the cable?

 

Thanks.


  • RXB likes this

#9 OLD CS1 OFFLINE  

OLD CS1

    Quadrunner

  • 5,360 posts
  • Technology Samurai
  • Location:Tallahassee, FL

Posted Tue Jul 17, 2018 3:05 PM

Were I to modify my Geneve to host this adapter directly on the board, would I be committing an act of blasphemy?



#10 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Jul 17, 2018 3:21 PM

Were I to modify my Geneve to host this adapter directly on the board, would I be committing an act of blasphemy?

 

nah.  If you feel the need to host it directly on the Geneve go for it.  It's has been suggested.  I designed it this way to allow it to be used with other computers that accept XT key codes as well.



#11 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Jul 17, 2018 3:23 PM

The case I measured the PCB for is:

 

HERE

 

These cases also come in transparent colors which would look cool with the LED.  This one is just a beige grayish color.

 

I just used a standard MIDI cable like the one HERE to hook up between the Geneve and the AT2XT PCB


Edited by Shift838, Tue Jul 17, 2018 3:24 PM.

  • RXB likes this

#12 BeeryMiller OFFLINE  

BeeryMiller

    Moonsweeper

  • 470 posts
  • Location:Campbellsburg, KY

Posted Tue Jul 17, 2018 7:20 PM

Items ordered.  Thought that box was something special.  I'm guessing some mods to it will be necessary.

 

Beery



#13 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Jul 17, 2018 7:36 PM

Items ordered.  Thought that box was something special.  I'm guessing some mods to it will be necessary.

 

Beery

 

it just a standard enclosure.  If you are handy with a dremel then you are good to go.



#14 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri Jul 20, 2018 9:31 AM

Only 1 Left!

 

You can order it from my store..



#15 arcadeshopper ONLINE  

arcadeshopper

    River Patroller

  • 3,493 posts
  • Location:Portland, Oregon USA

Posted Fri Jul 20, 2018 9:32 AM

Done
In for 2

Sent from my LG-H872 using Tapatalk

#16 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri Jul 20, 2018 2:11 PM

Done
In for 2

Sent from my LG-H872 using Tapatalk

 

Yours are built, tested and ready for shipping.



#17 RXB OFFLINE  

RXB

    River Patroller

  • 3,238 posts
  • Location:Vancouver, Washington, USA

Posted Fri Jul 20, 2018 3:49 PM

So this is a USB or PS2 for TI99/4A or just the Genive?

 

I am working on the side to put a TI99/4A into my old G5 PowerMac Tower:

 

https://www.macparts...ahoCdH0QAvD_BwE


Edited by RXB, Fri Jul 20, 2018 3:51 PM.


#18 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri Jul 20, 2018 4:28 PM

So this is a USB or PS2 for TI99/4A or just the Genive?

 

I am working on the side to put a TI99/4A into my old G5 PowerMac Tower:

 

https://www.macparts...ahoCdH0QAvD_BwE

 

this is for any computer that needs an XT keyboard.  It converts a PS/2 AT keyboard to a XT interface (not 99/4a).  Just happens to work on a Geneve.  It will work on many other computers.

 

 

I did an all in one last your with a 99/4a and PEB unit..


Edited by Shift838, Fri Jul 20, 2018 4:28 PM.

  • RXB likes this

#19 RXB OFFLINE  

RXB

    River Patroller

  • 3,238 posts
  • Location:Vancouver, Washington, USA

Posted Sat Jul 21, 2018 5:12 PM

 

this is for any computer that needs an XT keyboard.  It converts a PS/2 AT keyboard to a XT interface (not 99/4a).  Just happens to work on a Geneve.  It will work on many other computers.

 

 

I did an all in one last your with a 99/4a and PEB unit..

Ok then I need one that I can use how much?

 

Also I have PS2 to USB adapters so could I use one on this?



#20 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sat Jul 21, 2018 5:49 PM

Ok then I need one that I can use how much?

 

Also I have PS2 to USB adapters so could I use one on this?

 

Not sure if a PS2 to USB adapter would work on one of these.

 

How exactly are you wanting to hook it up?


  • RXB likes this

#21 RXB OFFLINE  

RXB

    River Patroller

  • 3,238 posts
  • Location:Vancouver, Washington, USA

Posted Sat Jul 21, 2018 6:08 PM

 

Not sure if a PS2 to USB adapter would work on one of these.

 

How exactly are you wanting to hook it up?

Send me address and I can send money for it and you can mail it to me.



#22 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sat Jul 21, 2018 6:14 PM

Send me address and I can send money for it and you can mail it to me.

 

my last one got sold this morning to Ksural.  I will be ordering more next couple of weeks.  I'll post when they come in.  

 

They are $35, which includes Priority mail shipping for US based address.


  • RXB likes this

#23 arcadeshopper ONLINE  

arcadeshopper

    River Patroller

  • 3,493 posts
  • Location:Portland, Oregon USA

Posted Thu Jul 26, 2018 1:22 AM

Ok then I need one that I can use how much?

 

Also I have PS2 to USB adapters so could I use one on this?

 

If you want one that goes directly from usb keyboard to geneve XT interface I can put up one in my store for you. Matt's original TI usb design works great on the Geneve with a different firmware and a 5pin Din connector.. 

 

Chris's board is PS2 to XT .. why have two adapters to solve one problem



#24 BeeryMiller OFFLINE  

BeeryMiller

    Moonsweeper

  • 470 posts
  • Location:Campbellsburg, KY

Posted Thu Jul 26, 2018 5:23 AM

 

If you want one that goes directly from usb keyboard to geneve XT interface I can put up one in my store for you. Matt's original TI usb design works great on the Geneve with a different firmware and a 5pin Din connector.. 

 

Chris's board is PS2 to XT .. why have two adapters to solve one problem

 

Is the USB to Geneve XT interface available?  I got the PS2 to XT interface in from Chris and yesterday the 5 pin din cables arrived.  Went looking for my PS2 keyboards and discovered I must have tossed them when I moved last year.  So, I need to either buy a keyboard, or a USB to XT interface.



#25 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,360 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Thu Jul 26, 2018 6:30 PM

 

Is the USB to Geneve XT interface available?  I got the PS2 to XT interface in from Chris and yesterday the 5 pin din cables arrived.  Went looking for my PS2 keyboards and discovered I must have tossed them when I moved last year.  So, I need to either buy a keyboard, or a USB to XT interface.

 

i'm getting ready to build a board for a USB to XT interface that was designed based around JediMatt's USB Keys project wiring and uses the same code, the only difference is it has a 5 pin DIN connector and a jumper.  The thinking is eventually it will be able to be used with new code with the jumper to select between USB2XT and USB2AT keyscan codes.

 

I have all the components to build one for testing and if all works well then I can offer them.  The difference with this board is that for the Geneve it will just use a MIDI cable to connect from the adapter to the Geneve.


Edited by Shift838, Thu Jul 26, 2018 6:31 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users