diff options
author | Florian Jung <flo@windfisch.org> | 2016-02-02 21:49:17 +0100 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2016-02-02 21:49:17 +0100 |
commit | 6dfb68bb478059b65a4d8fa6877571a20d92d95f (patch) | |
tree | c306df1dac524893d1061433370b6d2e74b73186 /README | |
parent | 5f6aa9a9b8f2e8438886d3c506792825ed2de69c (diff) |
Diffstat (limited to 'README')
-rw-r--r-- | README | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -0,0 +1,41 @@ +// GameCube controller to USB adapter +// Copyright (C) 2014 Florian Jung +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 3 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. + + + +/* Setup: + + lfuse: 0xe0 + hfuse: 0xd9 + + attach a 12MHz quartz to the atmega8, using the appropriate XTAL pins. + + connect avr.PD{2,3} over 68 Ohm to usb.DATA{+,-} + connect usb.DATA{+,-} over 3v6-Z-Diode ( ----|<---- ) to GND + connect usb.DATA- over 1.5kOhm to usb.Vcc + connect usb.GND to avr.GND. + + supply 3.3V to the 3.3V line of the gamecube controller. + supply 5V to the 5V line of the gamecube controller. + connect the GND and SHIELD lines of the controller to the common GND. + connect the DATA line of the gamecube controller to the C5 pin. + + !!! ensure that the PORTC has bit 0 cleared at any time. !!! + !!! otherwise, +5V is supplied to the pin; the gamecube !!! + !!! controller, however, may shortcut the line down to !!! + !!! GND at any time, leading to HARDWARE DAMAGE. !!! +*/ + + |