Author Topic: any USB keyboard and mouse to PS/2 adapter?  (Read 10191 times)

0 Members and 1 Guest are viewing this topic.

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6459
  • Country: de
Re: any USB keyboard and mouse to PS/2 adapter?
« Reply #25 on: February 05, 2022, 07:18:28 am »
Most older USB keyboards, and some current models, can „speak” PS/2. The majority of current keyboards cannot.
 

Offline BeBuLamar

  • Super Contributor
  • ***
  • Posts: 1197
  • Country: us
Re: any USB keyboard and mouse to PS/2 adapter?
« Reply #26 on: February 05, 2022, 08:31:07 pm »
Thanks! I still use IBM model M keyboards. In fact I tend to toss the keyboard that came with new computer.
 

Offline TechTaco

  • Newbie
  • Posts: 6
  • Country: us
Re: any USB keyboard and mouse to PS/2 adapter?
« Reply #27 on: April 29, 2022, 01:30:49 am »
As noted above with the Ardiuno, just to throw this out there, if you wanted to get even more compact a single PIC32 MX series chip could probably do this. It has USB support and the PS/2 keyboard protocol is quite basic which it can also do. The mouse protocol I'm not as familiar with.

The PIC32MX230F256B-50I/SP (~$5) DIP package for easy breadboarding, supports USB "On The Go" which allows a USB keyboard and mouse to be plugged in to the chip, as it acts as a host.

Chapter 12 of "Programming 32-bit Microcontrollers in C: Exploring the PIC32" by Lucio Di Jasio describes step-by-step how the PS/2 keyboard protocol works in depth and programming for it on the PIC32.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf