Sunday, 29 July 2012 10:25

ATTiny45/ATTiny85 Infra-Red PS2 Keybard (ATIR)

ATIR Infra-red PS2 Keyboard Schematic ATIR Infra-red PS2 Keyboard Schematic

Original project is on published in AVR contest 06 by Steven Savage. But the link is not available any more. 

The interface plugs into a PS2 keyboard port on the PC and accepts commands from the infrared remote. I'm using an ordinary DVD remote (38KHz) to control my computer.   

The original schematic is not correct, I had make the correction for PC Data & PC Clock of SV1.
Source Code and Compliled Hex file: infra-red ps2 keybard

Both IR Detector GP1UX511QS & GP1UX301QS can be used in this circuit. I;m using GP1UX301QS for my first project, after that I'm using  GP1UX511QS to replace the GP1UX301QS since I cannot get it from the market.

I have a lot of 100uF capacitors, so I use to replace the C1 47uF capacitor.

I preferred to use ATTiny85 for the micro controller. The ATTiny85 pin is compatible to ATTin45 but with higher capacity & cheaper price.


Upload Hex file to ATtiny45
I'm using AVR Studio4 & AVRISPMKII to flash the precompiled hex file to the ATTiny45 micro controller.

The fuse settings from the AVR Studuio4 as shown in figure below, make sure do not enable CKDIV8.
AVR Studion4 Fuse Settings for ATIR
Write Keyboard Scancode to  ATTiny45 EEPROM
You must write the keyboard scan code to the ATTiny45 EEPROM before you can use this device to control computer. 
  1. Connect PS2 keyboard to the device (Pin6 & Pin7 of ATTiny45)
  2. Connect the device (Pin2 & Pin3 of ATTiny45) to the PS2 port of computer.
  3. Open any text editor from the computer. I'm using Notepad.
  4. Hold right shitf key, press & relaease left shift key then release right shift key.
  5. Now the device is in service mode, you can use your 38Khz IR remote to program the device.
  6. Press a key from your IR remote, you will notice a message appear in the notepad.
  7. Press any key from the keyboard to accept macro.
  8. Repeat 6 to 7 until you have program all the key for your IR remote
Read 11726 times Last modified on Monday, 07 October 2013 22:40


  • Comment Link  online viagra Thursday, 16 January 2020 17:43 posted by online viagra

    Its such as you learn my mind! You seem to grasp so much approximately this, like you wrote the e book in it or something. I feel that you could do with some p.c. to power the message house a bit, but other than that, this is fantastic blog. A fantastic read. I'll definitely be back.

  • Comment Link tadalafil generic Wednesday, 15 January 2020 14:17 posted by tadalafil generic

    how much does viagra cost no prescription cialis over the counter viagra
    generic cialis nizagara 100 mg vs viagra stendra vs viagra
    viagra samples generic viagra sildenafil citrate sildenafil coupon

  • Comment Link buy tadalafil Monday, 13 January 2020 08:21 posted by buy tadalafil

    buy viagra online without script viagra coupons blue chew viagra scam
    viagra prescription viagra boner viagra prices
    sildenafil 100 mg generic viagra without a doctor prescription sildenafil 20 mg tablet reviews

  • Comment Link cialis online Monday, 13 January 2020 03:50 posted by cialis online

    generic sildenafil
    sildenafil 20 mg tablet vs viagra
    cialis 20mg
    cost of viagra
    cheap viagra online canada pharmacy

  • Comment Link viagra online Saturday, 11 January 2020 16:21 posted by viagra online

    viagra boner
    buy viagra online canada pharmacy
    viagra prices
    sildenafil citrate
    levitra vs viagra

  • Comment Link cheap cialis Saturday, 11 January 2020 07:27 posted by cheap cialis

    generic cialis at walmart buy viagra viagra for men
    sildenafil dosage recommendations cialis 20 mg best price viagra coupon
    viagra substitute sildenafil coupons tadalafil generic at walgreens

  • Comment Link Aappencyavafe Thursday, 09 January 2020 22:50 posted by Aappencyavafe

    knock - buying cialis online pain cialis tadalafil shore
    count - online viagra reviews erectile dysfunction medicines viagra cialis canadian pharmacy online viagra generic factor

  • Comment Link Aappencyavafe Wednesday, 08 January 2020 21:34 posted by Aappencyavafe

    find - cheap cialis online evening cialis reviews accomplish

  • Comment Link Aappencyavafe Saturday, 04 January 2020 23:10 posted by Aappencyavafe

    host - order cialis online itself online cialis singer

  • Comment Link generic viagra doses recommended Wednesday, 11 December 2019 15:44 posted by generic viagra doses recommended

    Feel free to visit my site us generic viagra

  • Comment Link female viagra Tuesday, 10 December 2019 09:20 posted by female viagra

    my website what foods substitute viagra to do sex efectively?

  • Comment Link discount viagra and cialis Tuesday, 10 December 2019 05:43 posted by discount viagra and cialis

    Feel free to visit my blog post how to get viagra online?

  • Comment Link generic viagra cheap canada Monday, 09 December 2019 16:35 posted by generic viagra cheap canada

    Also visit my blog post: what to expect when a man takes viagra?

  • Comment Link viagra manufacturer coupon code Monday, 09 December 2019 07:16 posted by viagra manufacturer coupon code

    Also visit my page :: why do they only prescribe 4 doses of viagra a month?

  • Comment Link generic viagra sample Monday, 09 December 2019 01:00 posted by generic viagra sample

    Here is my web site: how often can you take a viagra pill?

  • Comment Link pink viagra for women Monday, 09 December 2019 00:30 posted by pink viagra for women

    Feel free to visit my page: how long after eating to take viagra?

  • Comment Link DennisGar Monday, 02 December 2019 21:15 posted by DennisGar - Click here!

  • Comment Link DennisHausa Monday, 02 December 2019 07:35 posted by DennisHausa - Show more>>>

  • Comment Link RubenhiesY Monday, 02 December 2019 06:50 posted by RubenhiesY

    SportsBook – 5Bintang Kasino - More info!

  • Comment Link DennisGar Monday, 02 December 2019 01:36 posted by DennisGar ->>>

Leave a comment

Back to Top