element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum PS/2 to USB converter for BOTH keyboard and Mouse
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 10 replies
  • Subscribers 561 subscribers
  • Views 1646 views
  • Users 0 members are here
  • keyboard
  • usb-adapter
  • mouse/keyboard
  • ps2
  • usb hid
  • adapter
  • ps2_keyboard_encoder
  • usb boot
  • mouse
  • usb gadget
Related

PS/2 to USB converter for BOTH keyboard and Mouse

Former Member
Former Member over 4 years ago

We are looking to design a PS/2 to USB converter for both a Keyboard and Mouse interface. We have experience with the USB via FTDI chips but no experience with the PS/2 interface. We are looking for a single chip solution that will be able to handle both the mouse and keyboard interface. What are the options available ? We really need a chip that will handle the USB side of things seamlessly - else wise we will need to to a FTDI solution and possibly an additional chip.

 

The mouse and keyboard are PS/2 and the USB output is into a PC with OS Windows or Linux.

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 4 years ago +3
    There are many adapters out there that cost just a few $. If you need to roll your own, you could check what chips they use......
  • gdstew
    gdstew over 4 years ago in reply to dougw +1
    More than likely it is a low power micocontroller (PIC, AVR, etc.) with a built in USB interface.
  • gdstew
    gdstew over 4 years ago in reply to shmueld +1
    Shmuel, I don't know of any chips specifically designed for this and I doubt there are any because it is relatively easy to do with a microcontroller. I did a quick internet search for PIC PS2 keyboard…
Parents
  • dougw
    dougw over 4 years ago

    There are many adapters out there that cost just a few $.

    If you need to roll your own, you could check what chips they use......

    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 4 years ago in reply to dougw

    More than likely it is a low power micocontroller (PIC, AVR, etc.) with a built in USB interface.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shmueld
    shmueld over 4 years ago in reply to gdstew

    Gary,

     

    Do you or anyone else know of any specific designs e.g. using these types of chips for this functionality ?

     

    Shmuel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shmueld
    shmueld over 4 years ago in reply to gdstew

    Gary,

     

    Do you or anyone else know of any specific designs e.g. using these types of chips for this functionality ?

     

    Shmuel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • gdstew
    gdstew over 4 years ago in reply to shmueld

    Shmuel,

     

    I don't know of any chips specifically designed for this and I doubt there are any because it is relatively easy to do with a microcontroller.

    I did a quick internet search for PIC PS2 keyboard, PIC PS2 mouse, AVR PS2 keyboard, and AVR PS2 mouse and came up with several

    examples for each. Licensing the code found on the internet for your use may (or may not) be a problem but you should make sure

    before you use it. For non-commercial use it would probably not be hard to find code you could use. From what I'm understanding from

    your posts you intend to use it for commercial purposes and this means you should always check first.

     

    I checked and both microcontrollers are available in the industrial temperature range that you need.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shmueld
    shmueld over 4 years ago in reply to gdstew

    Dear Gary,

     

    Thanks for getting back to me.

     

    We have no experience with PIC nor AVR microcontrollers. In all our USB projects we have used FTDI based chips to do the USB interface.

     

    How is the USB interfaced to and from the PIC \ AVR ICs ? Is there any firmware development involved or is it a standard feature of this ICs and then I will only need code for the PS/2 Keyboard \ mouse interface ?

     

    Best regards

     

    Shmuel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 4 years ago in reply to shmueld

    Shemuel,

     

    I believe both of these manufacturers have USB libraries available, some free to use and keyboard and mouse interfaces are a fairly common

    application for demonstrations of their chip interfaces. Again a web search will probably find some useful examples/information.

     

    If you have any experience with other micrcontrollers neither one of these is too difficult to migrate to with the AVR probably being the easiest.

    PICs have a more complicated register/memory architecture and lots of internal configuration options and so a bigger learning curve. My guess

    is that PICs are favored for applications like this mainly due to low cost/power and good bit-bang interface capabilities. To make things a little

    strange, a few years ago Microchip which makes the PICs bought Atmel which made the AVR so both of these now come from the same company.

     

    You might want to look into the Arduino family of boards to see if any of them could be used as a prototype platform for your application. They

    have a good IDE tool set for writing C(++) code and a large number of libraries available for all kinds of interfacing. The tool set and libraries

    are free. I don't know of any PIC equivalent platform (I wish there was one) but I am sure they have evaluation boards and development software

    available. There are also free C and assembly tools available for the PIC.

     

    Gary

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shmueld
    shmueld over 4 years ago in reply to gdstew

    Dear Gary,

     

    Thank you so much for your response - you clarified a lot for me ! We are in the process of deciding on which track to take.....

     

    Bests regards

     

    Shmuel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube