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 USB keyboard decoder
  • 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
  • State Verified Answer
  • Replies 11 replies
  • Answers 4 answers
  • Subscribers 559 subscribers
  • Views 3739 views
  • Users 0 members are here
  • fpga
Related

USB keyboard decoder

ahmedmohamed85
ahmedmohamed85 over 5 years ago

Hi,

i have a project where i need to interface Artix7 FPGA, with usb keyboard, what is the best module or component to do this?

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 5 years ago in reply to ahmedmohamed85 +3 suggested
    I think the best quick and dirty way to do it is with something like this: https://www.hobbytronics.co.uk/usb-host-keyboard There are several such devices around, best look somewhere local to you, or maybe…
  • michaelkellett
    michaelkellett over 5 years ago in reply to ahmedmohamed85 +3 verified
    I don't see why not, PS/2 interface uses open collector drivers with the pull ups normally to 5V. If there are no pull ups in the keyboard and you don't want to talk back to the keyboard, you might be…
  • michaelkellett
    michaelkellett over 5 years ago +2 suggested
    You need to tell us a lot more about the project. Do you want to do this once, or for production. Do you care about cost. Is you FPGA on a board or will you be designing a board. Is this a task you have…
Parents
  • johnbeetem
    0 johnbeetem over 5 years ago

    This may be too late to be useful, but here's what I'd look into.

     

    Basically, you need to be a USB host to talk to a USB device like a keyboard.  USB hosts are pretty complex, which is why some people have suggested running Linux.  Personally, I think that's overkill.

     

    I would recommend checking into the Maxim MAX3421E "USB Peripheral/Host Controller with SPI Interface".  According to the description, this IC can be used as a USB peripheral or USB host, and should be a whole lot less work than implementing a USB host controller in an FPGA.

     

    Another possibility is a Microchip SAM D21, which is a small 32-bit microcontroller with a USB host/device interface.  This would require a lot of software, but that may already be available.

     

    You should be able to find a breakout/development board for either of those chips.

     

    I have not used either of those products myself.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • johnbeetem
    0 johnbeetem over 5 years ago

    This may be too late to be useful, but here's what I'd look into.

     

    Basically, you need to be a USB host to talk to a USB device like a keyboard.  USB hosts are pretty complex, which is why some people have suggested running Linux.  Personally, I think that's overkill.

     

    I would recommend checking into the Maxim MAX3421E "USB Peripheral/Host Controller with SPI Interface".  According to the description, this IC can be used as a USB peripheral or USB host, and should be a whole lot less work than implementing a USB host controller in an FPGA.

     

    Another possibility is a Microchip SAM D21, which is a small 32-bit microcontroller with a USB host/device interface.  This would require a lot of software, but that may already be available.

     

    You should be able to find a breakout/development board for either of those chips.

     

    I have not used either of those products myself.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
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