Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Gamecube controller pinout 5v  (Read 5238 times)

0 Members and 1 Guest are viewing this topic.

hypernova

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2753
  • Last login:November 25, 2016, 12:52:48 pm
Gamecube controller pinout 5v
« on: August 19, 2012, 06:32:25 pm »
The gamecube controller has a 5v pin up near the top of it to solder to.  Does this mean I can put a few 5v LEDs connected to that which can run off that?  If so, how much?  If not, is there something that needs to be added?  Resistor?  Something else?

I ask because out of the multiple dozen LEDs in my cab, I didn't need any kind of resistor.  Been numerous years since I built it, but I don't recall having to math out any resistors, and I certainly didn't buy any.

Thanks for your assistance.
I'll exercise patience when you stop exercising stupidity.
My zazzle page.  I've created T-shirts!

WhereEaglesDare

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:March 24, 2014, 08:47:08 pm
  • Shut Off All The Compactors on the Detention Level
    • My HomePage
Re: Gamecube controller pinout 5v
« Reply #1 on: August 19, 2012, 08:33:31 pm »
Put a small small resistor in there. It will help limit current.  Won't always need it, but one day you might be happy it was there.

hypernova

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2753
  • Last login:November 25, 2016, 12:52:48 pm
Re: Gamecube controller pinout 5v
« Reply #2 on: August 19, 2012, 11:40:35 pm »
Found some tutorials and resistor calculator for LEDs.  I may just wire in a 9volt battery or something.  I'd like to be able to set it up for multi console.
I'll exercise patience when you stop exercising stupidity.
My zazzle page.  I've created T-shirts!

WhereEaglesDare

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:March 24, 2014, 08:47:08 pm
  • Shut Off All The Compactors on the Detention Level
    • My HomePage
Re: Gamecube controller pinout 5v
« Reply #3 on: August 20, 2012, 06:16:32 pm »
You dont necessarily need a calculator for this.  just put a 100 -  470 Ohm resistor in line and you will be fine.  the idea is to limit what current goes through your LED.  Too much current drain CAN (but probably wont) cause damage to the system.  They are crazy cheap. 

hypernova

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2753
  • Last login:November 25, 2016, 12:52:48 pm
Re: Gamecube controller pinout 5v
« Reply #4 on: August 21, 2012, 07:00:49 pm »
You dont necessarily need a calculator for this.

I would think if you have no idea what resistor you need, a calculator is needed.  Correct me if I'm wrong, but winging it with trial and error isn't exactly a smart thing when it comes to electricity.
I'll exercise patience when you stop exercising stupidity.
My zazzle page.  I've created T-shirts!

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Gamecube controller pinout 5v
« Reply #5 on: August 22, 2012, 01:14:58 pm »
If you were trying to maximize light output or minimize consumption or you've got some sort of hokey setup, sure. But even with the calculator, you're rarely going to find an exact value anyways due to tolerances and limited selection. What he's saying is pick a reasonable value between X and Y and you'll be fine.

Mysterioii

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 398
  • Last login:August 31, 2018, 11:44:34 am
Re: Gamecube controller pinout 5v
« Reply #6 on: August 22, 2012, 02:23:08 pm »
Yeah in this case it's not super critical.  I usually use about 150 ohms but I think that's on the low side, I'd probably recommend about 200 ohms really.  Too low and you may be giving the LEDs a little more current than they're rated for and it may shorten their life but at 150 ohms I've never had any blow.  Use a higher resistance just means you're allowing a little LESS current than they're rated for, which is fine, they just might not be optimally bright.

Not that critical.  But whatever you pick, if you plan on doing this sort of thing a lot then I'd pick up a big roll of a couple of hundred of the same value for a few bucks on ebay.  A lot of LED vendors on ebay will give free resistors if you buy bulk LEDs (and yeah they're China product, and I know first hand that China product can be squirrelly, but for low level components I honestly haven't had an issue.)

hypernova

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2753
  • Last login:November 25, 2016, 12:52:48 pm
Re: Gamecube controller pinout 5v
« Reply #7 on: August 22, 2012, 06:43:32 pm »
All I'm saying is that someone like me, who's never worked with resistors on anything would need at least some sort of direction, either via the calculator, or everyone's suggestions in here.  Just blindly placing a random resistor in there isn't the best option.  I'm assuming they go higher and lower than the ranges you've said.
I'll exercise patience when you stop exercising stupidity.
My zazzle page.  I've created T-shirts!

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Gamecube controller pinout 5v
« Reply #8 on: August 22, 2012, 07:52:30 pm »
The hardest part is usually getting the numbers you need, especially when buying from "black box" sources like eBay, etc.  Once you have the numbers, the math is pretty simple:

R = (Vs - Vf) / If

Vs is your supply voltage (e.g. 5V).

Vf is the rated forward voltage of your LED at your desired current.  This is typically given in the datasheet for the "ideal" operating current.  For red and green LEDs, it's about 1.7V.  For blue and white LEDs, it's usually closer to 2.2V.

If is your desired operating forward current.  Again, this is typically specified in the datasheet.  They'll give both a "typical" or "preferred" value and an "absolute maximum".  Use the former.  Vf (see above) is typically specified at this "typical" operating current.  For normal LEDs, go with 10-15mA.  For "super bright" ones, it's usually closer to 40-50mA.

To make the units work out, you need units of volts and amps.  Your probably have milliamps (mA).  One amp is 1000mA, so to convert mA to A, divide by 1000 e.g. 15mA is 0.015A.

You'll probably end up with a value you can't actually buy.  Round up to the next standard value.


EXAMPLE:

I have a red LED spec'd at 1.75V at 15mA.  I want to run this off of a 5V nominal supply.

R = (5 - 1.75) / (0.015) = 216.67 ohms.  Round up to 220 ohms, the next standard 5% value.  These are readily available at e.g. Radio Shack, etc.


Anyway, I suspect that the 5V supply to the controller can readily handle an extra LED or two.  I wouldn't use a ton of superbright ones, though.

RexOdatis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:September 29, 2012, 03:58:14 am
  • I want to build my own arcade controls!
Re: Gamecube controller pinout 5v
« Reply #9 on: September 26, 2012, 02:44:50 am »
Is it possible to wire a classic controller to a gamecube port on the wii and have a switch allowing it to keep its wiimote functionality by just having a switch between gamecube and wii outputs? anyone got a wiring guide? help would be greatly appreciated.


SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Gamecube controller pinout 5v
« Reply #10 on: September 26, 2012, 10:57:11 am »
The short answer is yes.

The long answer is it takes a lot of work. Almost not worth it.

IIRC, the Wii peripherals use I2c  as the protocol, making the controllers a favorite amongst robotics. The GCN uses a "one wire" method that isn't the easiest to communicate with. You can certainly stitch the two together using a microcontroller. If someone hasn't done so already the components are there.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Gamecube controller pinout 5v
« Reply #11 on: September 26, 2012, 01:08:25 pm »
Sorry, I only mentioned only one solution. There are other solutions of course but none that I can think of that is a "simple wiring" job.

The easiest is probably to add a pigtail, wire to the buttons directly, then sacrifice a GCN for the controller board. But that's just a waste of effort and controller.

The luckiest is to find someone who already did the heavy lifting as I described above and buy the adapter from them. But anything over the cost of a GCN controller isn't worth it IMHO.

hypernova

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2753
  • Last login:November 25, 2016, 12:52:48 pm
Re: Gamecube controller pinout 5v
« Reply #12 on: October 02, 2012, 06:47:11 pm »
I was testing this out a few days ago, and my red LEDs were blowing when connected to the 5v node.  They have an optional resistor that was included with the set, but it said it was for the 12v line.  Do I still need a resistor for it if I connect to 5v?  I'm guessing they'll connect fine to the 3.3v node without a resistor.  Have other colors, but they have differing voltages.  What's the general rule regarding voltage differences on LEDs?
I'll exercise patience when you stop exercising stupidity.
My zazzle page.  I've created T-shirts!

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Gamecube controller pinout 5v
« Reply #13 on: October 02, 2012, 10:18:07 pm »
Yeah, you need a resistor. Not the one meant for the 12v lines though. At 5v, they'll be too dim if anything at all. There are situations where you can get away without using a resistor, this isn't one of them. Same applies as what was discussed above. Run down to rat shack and grab a few resistors in the ranges above.