This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hidkey_gpio [2012/11/27 03:13] steve_m [Update #1] |
hidkey_gpio [2012/11/28 02:28] steve_m [AVR Programmer built from a USB Keyboard] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== AVR Programmer built from a USB Keyboard ====== | ====== AVR Programmer built from a USB Keyboard ====== | ||
- | Recently, my old keyboard became louder and louder while typing, so I decided to buy a new one. But what to do with the old one? Ever since I saw the [[http://www.pjrc.com/hub_isp/|AVR programmer that uses a USB hub]], I thought of abusing a USB keyboard for that. | + | Recently, my keyboard became louder and louder while typing, so I decided to buy a new one. But what to do with the old one? Ever since I saw the [[http://www.pjrc.com/hub_isp/|AVR programmer that uses a USB hub]], I thought of abusing a USB keyboard for that. |
===== Theory ===== | ===== Theory ===== | ||
Line 30: | Line 30: | ||
|Caps lock|MOSI|out| | |Caps lock|MOSI|out| | ||
|Scroll lock|Reset|out| | |Scroll lock|Reset|out| | ||
- | |row/column of right shift key|MISO|in| | + | |row/column of right shift key|MISO (through optocoupler)|in| |
For the optocoupler I added a 470Ω current limiting resistor. | For the optocoupler I added a 470Ω current limiting resistor. |