Emulating an Esc Key

Discussion in 'Programmer's Corner' started by R!f@@, Dec 9, 2010.

  1. R!f@@

    Thread Starter AAC Fanatic!

    Apr 2, 2009
    8,750
    760
    How can I emulate Esc Key press by single push button.

    I like to give an ASCII command (Esc Key) to a Mobo PS2 Port.

    What method would be the simplest and smallest
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    That is quite easy to program a microcontroller to do that. You can use Google and some creative searches(keyboard ps2 microchip). It is many project out on the net
    This is good for background info. http://www.beyondlogic.org/keyboard/keybrd.htm The keyboard do not send ASCII codes but rather scan codes.
     
  3. R!f@@

    Thread Starter AAC Fanatic!

    Apr 2, 2009
    8,750
    760
    You never ceases to emus me :rolleyes:
     
  4. R!f@@

    Thread Starter AAC Fanatic!

    Apr 2, 2009
    8,750
    760
    So I can use a 12F629 in PS2 plug port with a switch.

    Here's the deli-ma...since My little bro's lap was stolen he's been bugging me for a PC. He saved a long time for the lap and some scumbag stole it.

    So I have assemble a PC from what I have lying around.

    The Motherboard is an Intel P4 socket 423 type. Supports RD Ram.
    I salvaged it long time ago, since during that time the board came with 128 or 256Mb RD. It is old. But from nothing it is something :D

    I had purchased 2GB of RD Ram off ebay couple of years ago to a customer. And that bugger never bought it from me. It cost me $300.00. Talk about "loyal Muslim Maldivians" :mad:.

    Any ways..I hooked it up with a 1.5Ghz P4 socket 423 with 2GB of Ram. With an AGP 256Mb VGA to drive his LCD TV via DVI.
    Installed a PCI USB 2.0 Card to support USB2. with 4 ports.

    I have a wireless MCE MS keyboard. so he can entertain through media center.

    Problems lies in the USB keyboard at POST.
    The bios has no quick boot. I have to hit Esc key twice to get past the POST.
    And having a USB keyboard, it won't work.
    Takes too long to check 2GB of memory after a power cycle.

    So I thought I could use a PIC with a switch thingy plugged into the Keyboard port. Once on , he can press the PB to command Esc anytime.
     
  5. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    There is no "Turn off memory check/test" in the bios?

    I dont believe it.

    Even my 8088 had that option. And it only had to count to 640k ;)
     
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I am quite sure the BIOS some place have some setting like "do not halt on errors" or similar. Those who seek will find;)
     
  7. R!f@@

    Thread Starter AAC Fanatic!

    Apr 2, 2009
    8,750
    760
    Heck..I know those things..
    funny thing is...I can't seem to find 'em.
     
  8. nerdegutta

    Moderator

    Dec 15, 2009
    2,515
    785
    What BOIS is it?
     
  9. R!f@@

    Thread Starter AAC Fanatic!

    Apr 2, 2009
    8,750
    760
    wait ....let me figure out a way to show it..
     
Loading...