586,121 active members*
3,755 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    6

    Keyboard problem

    Hi all,

    I'm currently working on a PIC, and what I try to do is to connect the keyboard to the PIC (I'm using the TI-MSP430F1611), the problem is I have no idea how to get the signal from the keyboard to a usable form. In other words I need to connect the keyboard with my PIC.

    I'm working with the IAR embedded Workbench, and in C++

    Any ideas? Do I have to use the interrupt routines? I will be nedig only a couple of key on the keaboard, so I don't need any of the caps, alt, .... or other "advanced" keyboard features.

    Thanks in advance

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    Is that a TI product, I am more familiar with the Microchip but usually the method is very similar. i.e. a 4x4 or 5x5 matrix is used using 4 input 4 output, an example can be found in the MicroChip site which will show the common methods used.
    If you mean a PC keyboard, then I can't help you, you would need to get the serial protocol used, there must be web sites that would give this.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jan 2004
    Posts
    122
    PIC=microchip 16F 18F 30F etc
    lots of keyboard code for those online, not so sure about the TI MSP430....
    IIRC-- the control and shift keys are just like any other, sending their own unique string?
    maybe...

Similar Threads

  1. keyboard hacking
    By dertsap in forum CNC Machine Related Electronics
    Replies: 20
    Last Post: 12-08-2009, 04:11 PM
  2. Anyone know where to get a 32MP Keyboard?
    By A+ Machining in forum Fadal
    Replies: 2
    Last Post: 06-29-2007, 07:18 PM
  3. I need a replacement keyboard Key
    By donl517 in forum Fadal
    Replies: 3
    Last Post: 06-14-2007, 11:52 AM
  4. How do I keep the chips out of my keyboard?
    By widgitmaster in forum DIY CNC Router Table Machines
    Replies: 25
    Last Post: 11-30-2005, 11:37 PM
  5. keyboard jog
    By HuFlungDung in forum CamSoft Products
    Replies: 26
    Last Post: 06-09-2004, 03:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •