Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Case Mods & Cases > Other Hardware Mods

Reply
 
LinkBack Thread Tools
Old 08-15-09   #1 (permalink)
Audiophile
 
timxirish's Avatar
 
amd ati

Join Date: Feb 2008
Location: 127.0.0.1
Posts: 625
Blog Entries: 46

Rep: 67 timxirish is acknowledged by some
Unique Rep: 59
Hardware Reviews: 4
Trader Rating: 5
Default Help with PNP/NPN Transistors and LEDs?

To explain in brief, I'm wiring some transistors and LEDs in an Xbox 360 wireless controller, and have had multiple ideas tossed at me on how to wire it... And now I want to try and do a hybrid wiring design.

I'm going to be using four 4.5v high intensity white LEDs and one 3.3v (?) RGB cycling LED in this controller, and I only have a few options for powering them.

In an "always on (when device is on)" configuration, I can wire them to a 2.7v power source, which would mean I won't be using a resistor. Of course, that means the LEDs would be kinda dim.. The white ones will be backlighting the ABXY buttons, and the RGB will be backlighting the Xbox 360 guide button dome. I need a transistor for this because the 2.7v is not a switched power source. I'm using an NPN and a 2k OHM resistor between it's base pin and a lower, switched power source on the controller's board. Since the base would be getting low power, electricity would flow free from the collector to the emitter, powering my LEDs and making my 2.7v source "switched".

Now because the LEDs would be dim, I was told it may be better to try wiring to the 5v pin of the Play and Charge connector (ie. LEDs would only be on when P&C cable is connected). This sparked an idea.

I very much still want the LEDs to be lit when not connected to the P&C, no matter how dim they are.. But a 5v source would make the LEDs really shine. I use the P&C cable on occasion, so I thought I could wire it both ways in the same controller, then switch between the power sources with a small SPDT switch.

...But if transistors can technically be "automatic" switches, couldn't I wire it in a way where when the P&C cable is plugged in, the transistors automatically do the switch for me? There's another power source on the P&C cable, and it's 3.3v. I started thinking maybe I could use that source with a PNP transistor to cut the connection of the 2.7v source from way above to form my second "auto switch".

The biggest problem is I'm new to the concept of transistors and do not understand now a PNP transistor would need to be wired to acomplish this (or if it even can! but reading stuff on how these types of transistors work leads me to believe it might be possible?).

If anyone can shed some light on this for me, it would be GREATLY appreciated. All helpful posts will be rewarded.

If you require a few visuals, I'd be happy to provide them.
__________________
i <3 my 何か
timxirish's OCN Blog on philosophy and technology
I'm selling heavenly sketches.. A world out of my mind.
Ready to explode in purity.. To fill the holes inside.
An ever moving stream with glowing rays of light.
Emotions tied to past lies.. and I know I should let go.

Socket 939 Club [Project] Hollow (CM Mystique 632S) Mod Your Merc Stealth!

System: Firestarter
CPU
I'm the trouble starter, punkin' Opteron 165
Motherboard
instigator. I'm the fear Biostar_Tforce6100-939
Memory
addicted, danger illustrated.... 1GB_3-3-3-8 2.6v
Graphics Card
MSI Radeon X800 256MB RAM
Hard Drive
I'm a firestarter, twisted 2.5"_60GB_SATA in 3.5"
Sound Card
firestarter. You're the firestarter, Integrated :(
Power Supply
twisted firestarter.... Raidmax_modular 600w
Case
Black Tt Lanbox (w/handle)
CPU cooling
Tt Blue Orb II
GPU cooling
Stock copper MSI HSF
OS
Windows 7 Beta (x86 Build 7100)
Monitor
Proview 17" HDTV
timxirish is offline   Reply With Quote
Old 08-15-09   #2 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Nov 2007
Posts: 1,670

Rep: 146 keith27 is acknowledged by manykeith27 is acknowledged by many
Unique Rep: 109
Trader Rating: 1
Default

I'm afraid I don't understand. I can help, transistors are something I understand a lot, but you need to explain it better.
keith27 is offline   Reply With Quote
Old 08-15-09   #3 (permalink)
Audiophile
 
timxirish's Avatar
 
amd ati

Join Date: Feb 2008
Location: 127.0.0.1
Posts: 625
Blog Entries: 46

Rep: 67 timxirish is acknowledged by some
Unique Rep: 59
Hardware Reviews: 4
Trader Rating: 5
Default

I'll provide visuals in that case. Here is the original schematic for wiring switched LEDs in a wireless controller:


(image by g0t m4xx 21)

Here are the points in question:


(image by RDC)

Red is 2v switched, and is what would be wired to the base of the transistor seen in the schematic above. g0t m4xx uses a 1k ohm resistor there, but apparently a 2k ohm works just as well. Black pin is ground.


(image by RDC)

The black wire here goes to the collector on the first NPN transistor, and the red wire there is attached to the 2.7v source I've spoken of. Installing the NPN transistor this way will technically make that 2.7v source switched (ie. the LEDs I plan on wiring will only be on when the controller is. without the transistor, the LEDs would remain on even when the controller is off-- the 2.7v source taps into the rechargable battery pack).


(image by RDC)

This is the other spot I've considered for wiring LEDs-- The Play and Charge cable connector. The 5v and 3.3v are only active when the cable is connected to the controller (to charge the battery pack).

What I want to do (and am led to believe it may be possible to pull off) is use more transistors to switch from the 2.7v source to the 5v source when the Play and Charge cable is connected. I could certainly use a SPDT switch to change between them, but if it's possible to use transistors to auto switch power sources when the cable is connected, I would prefer that route.

Thanks for your help, and sorry for my first explanation.
__________________
i <3 my 何か
timxirish's OCN Blog on philosophy and technology
I'm selling heavenly sketches.. A world out of my mind.
Ready to explode in purity.. To fill the holes inside.
An ever moving stream with glowing rays of light.
Emotions tied to past lies.. and I know I should let go.

Socket 939 Club [Project] Hollow (CM Mystique 632S) Mod Your Merc Stealth!

System: Firestarter
CPU
I'm the trouble starter, punkin' Opteron 165
Motherboard
instigator. I'm the fear Biostar_Tforce6100-939
Memory
addicted, danger illustrated.... 1GB_3-3-3-8 2.6v
Graphics Card
MSI Radeon X800 256MB RAM
Hard Drive
I'm a firestarter, twisted 2.5"_60GB_SATA in 3.5"
Sound Card
firestarter. You're the firestarter, Integrated :(
Power Supply
twisted firestarter.... Raidmax_modular 600w
Case
Black Tt Lanbox (w/handle)
CPU cooling
Tt Blue Orb II
GPU cooling
Stock copper MSI HSF
OS
Windows 7 Beta (x86 Build 7100)
Monitor
Proview 17" HDTV
timxirish is offline   Reply With Quote
Old 08-15-09   #4 (permalink)
Resident EI
 
radodrill's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Almost Heaven (WV)
Posts: 3,861

Trader Rating: 1
Default

I'd suggest using a relay to auto-switch between power sources rather than trying to do so with a transistor.
__________________
Project RAD GT

SR-1/2 radobases for Crazy Carl's Antec 900 mod

Modding/electronics/hardware supply thread | Hosted PC Component CAD Models

Quote:
Originally Posted by Syrillian View Post
This place is madness... Foxes that make me convulse, flying monkeys, inane videos of sub-par Family's with less than desireable IQ's, music galore.... and somewhere amidst this beautiful insanity... a plastic box that may even be completed someday.

System: RAD GT
CPU
Q6600 G0
Motherboard
DFI Lanparty UT 680i SLI LT T2R/G
Memory
2x1Gb DDR2-1150 OCZ Reaper
Graphics Card
2x BFG 8800 GTX OC
Hard Drive
250Gb SATA | 3x 500Gb SATA | 750Gb SATA
Sound Card
Creative X-Fi XtremeGamer
Power Supply
SilverStone Strider ST1000
Case
DIY -- Acrylic
CPU cooling
DangerDen TDX
GPU cooling
DangerDen 8800GTX waterblocks
OS
Windows XP X64/Windows XP Pro
Monitor
Samsung 226BW
radodrill is offline Overclocked Account   Reply With Quote
Old 08-15-09   #5 (permalink)
Audiophile
 
timxirish's Avatar
 
amd ati

Join Date: Feb 2008
Location: 127.0.0.1
Posts: 625
Blog Entries: 46

Rep: 67 timxirish is acknowledged by some
Unique Rep: 59
Hardware Reviews: 4
Trader Rating: 5
Default

Something like this?

That's the smallest one I can find, and most of the controller's insides are cramped.. So I'm uncertain as to if it would fit. Another concern is that particular one says it's 18mA... Would this be a problem if my LEDs are 20mA?
__________________
i <3 my 何か
timxirish's OCN Blog on philosophy and technology
I'm selling heavenly sketches.. A world out of my mind.
Ready to explode in purity.. To fill the holes inside.
An ever moving stream with glowing rays of light.
Emotions tied to past lies.. and I know I should let go.

Socket 939 Club [Project] Hollow (CM Mystique 632S) Mod Your Merc Stealth!

System: Firestarter
CPU
I'm the trouble starter, punkin' Opteron 165
Motherboard
instigator. I'm the fear Biostar_Tforce6100-939
Memory
addicted, danger illustrated.... 1GB_3-3-3-8 2.6v
Graphics Card
MSI Radeon X800 256MB RAM
Hard Drive
I'm a firestarter, twisted 2.5"_60GB_SATA in 3.5"
Sound Card
firestarter. You're the firestarter, Integrated :(
Power Supply
twisted firestarter.... Raidmax_modular 600w
Case
Black Tt Lanbox (w/handle)
CPU cooling
Tt Blue Orb II
GPU cooling
Stock copper MSI HSF
OS
Windows 7 Beta (x86 Build 7100)
Monitor
Proview 17" HDTV
timxirish is offline   Reply With Quote
Old 08-15-09   #6 (permalink)
IBEW Local 369
 
grishkathefool's Avatar
 
intel nvidia

Join Date: Apr 2009
Location: Lexington, KY
Posts: 1,597

Rep: 141 grishkathefool is acknowledged by manygrishkathefool is acknowledged by many
Unique Rep: 69
Folding Team Rank: 457
Trader Rating: 0
Default

It would be kind of cool to use an illuminated Toggle switch... make it a mechanical choice of Power sources.

For that matter could you find a really small CT and wire it to the 2.7v source to make it produce 5v output?

System: Calculon
CPU
E84oo @ 4GHz 500x8 2000lap
Motherboard
Gigabyte EP45-UD3P Rev1.1
Memory
8 GB Gskill PC2-85oo
Graphics Card
EVGA 98ooGT 1GB
Hard Drive
Seagate 250GB, WD Green 500GB
Power Supply
Silverstone 5oow
Case
Raidmax Smilodon Extreme fan mod
CPU cooling
MASSCOOL 92mm Ball 2000lap
OS
Vista 64
Monitor
Acer x203H 20" 16oox9oo
grishkathefool is offline I fold for Overclock.net Overclocked Account grishkathefool's Gallery   Reply With Quote
Old 08-15-09   #7 (permalink)
Resident EI
 
radodrill's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Almost Heaven (WV)
Posts: 3,861

Trader Rating: 1
Default

Quote:
Originally Posted by timxirish View Post
Something like this?

That's the smallest one I can find, and most of the controller's insides are cramped.. So I'm uncertain as to if it would fit. Another concern is that particular one says it's 18mA... Would this be a problem if my LEDs are 20mA?
That relay will not work since the control voltage has to be at least 7V to throw the switch; you'd need a relay with a lower coil voltage. the listed coil current rating does not have any affect on how much current can pass trough the switch (that specific relay is rated for 12A through the switch). So you'd need a SPDT relay with ~5V (0r 3V depending on what voltage from the external source you use as a control) coil voltage rating.

Basically you'd connect the coil across the control voltage (to ground) and then connect the NO to the external power, the NC to the internal power source, and the Common would provide the power to your LED circuit.
__________________
Project RAD GT

SR-1/2 radobases for Crazy Carl's Antec 900 mod

Modding/electronics/hardware supply thread | Hosted PC Component CAD Models

Quote:
Originally Posted by Syrillian View Post
This place is madness... Foxes that make me convulse, flying monkeys, inane videos of sub-par Family's with less than desireable IQ's, music galore.... and somewhere amidst this beautiful insanity... a plastic box that may even be completed someday.

System: RAD GT
CPU
Q6600 G0
Motherboard
DFI Lanparty UT 680i SLI LT T2R/G
Memory
2x1Gb DDR2-1150 OCZ Reaper
Graphics Card
2x BFG 8800 GTX OC
Hard Drive
250Gb SATA | 3x 500Gb SATA | 750Gb SATA
Sound Card
Creative X-Fi XtremeGamer
Power Supply
SilverStone Strider ST1000
Case
DIY -- Acrylic
CPU cooling
DangerDen TDX
GPU cooling
DangerDen 8800GTX waterblocks
OS
Windows XP X64/Windows XP Pro
Monitor
Samsung 226BW
radodrill is offline Overclocked Account   Reply With Quote
Old 08-15-09   #8 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Nov 2007
Posts: 1,670

Rep: 146 keith27 is acknowledged by manykeith27 is acknowledged by many
Unique Rep: 109
Trader Rating: 1
Default

Don't use a relay.

I'm on too many pain meds to understand this. I'm sorry man.
keith27 is offline   Reply With Quote
Old 08-15-09   #9 (permalink)
Audiophile
 
timxirish's Avatar
 
amd ati

Join Date: Feb 2008
Location: 127.0.0.1
Posts: 625
Blog Entries: 46

Rep: 67 timxirish is acknowledged by some
Unique Rep: 59
Hardware Reviews: 4
Trader Rating: 5
Default

Quote:
Originally Posted by grishkathefool View Post
It would be kind of cool to use an illuminated Toggle switch... make it a mechanical choice of Power sources.

For that matter could you find a really small CT and wire it to the 2.7v source to make it produce 5v output?
CT? Not familiar.

Well unfortunately space would still be a bit of an issue.. I have a lot of respect for Microsoft's design on their controller (still to this day is the most comfortable one I've ever held), but the sleek and compact package really took a toll on what you can manage on the inside.

If I were to use the relay I linked above or use an illuminated toggle switch, I would likely have to remove the rumble motors or the D-pad.. Neither of which i'm too fond of doing right now.. but i'd consider it for an auto switch setup. Possible switch locations (should I give up and go to a mechanical SPDT switch) would be on the top or bottom of the controller.

Here are some more pictures, this time taken by myself. It'll give you all an idea of what I'm working with.



Quote:
Originally Posted by radodrill View Post
That relay will not work since the control voltage has to be at least 7V to throw the switch; you'd need a relay with a lower coil voltage. the listed coil current rating does not have any affect on how much current can pass trough the switch (that specific relay is rated for 12A through the switch). So you'd need a SPDT relay with ~5V (0r 3V depending on what voltage from the external source you use as a control) coil voltage rating.

Basically you'd connect the coil across the control voltage (to ground) and then connect the NO to the external power, the NC to the internal power source, and the Common would provide the power to your LED circuit.
Alright, I believe I'm following you. I'd be using 5v for my external power, so coil voltage rating would have to be 5v, and then when I plug in the cable, the switch flips and I'm using 5v instead of 3.3v.

Do you have any websites in mind that may have a small one with 5v coil voltage rating?

Quote:
Originally Posted by keith27 View Post
Don't use a relay.

I'm on too many pain meds to understand this. I'm sorry man.
It's no problem, but thanks regardless. Is there a specific reason in mind why a relay would be bad?
__________________
i <3 my 何か
timxirish's OCN Blog on philosophy and technology
I'm selling heavenly sketches.. A world out of my mind.
Ready to explode in purity.. To fill the holes inside.
An ever moving stream with glowing rays of light.
Emotions tied to past lies.. and I know I should let go.

Socket 939 Club [Project] Hollow (CM Mystique 632S) Mod Your Merc Stealth!

System: Firestarter
CPU
I'm the trouble starter, punkin' Opteron 165
Motherboard
instigator. I'm the fear Biostar_Tforce6100-939
Memory
addicted, danger illustrated.... 1GB_3-3-3-8 2.6v
Graphics Card
MSI Radeon X800 256MB RAM
Hard Drive
I'm a firestarter, twisted 2.5"_60GB_SATA in 3.5"
Sound Card
firestarter. You're the firestarter, Integrated :(
Power Supply
twisted firestarter.... Raidmax_modular 600w
Case
Black Tt Lanbox (w/handle)
CPU cooling
Tt Blue Orb II
GPU cooling
Stock copper MSI HSF
OS
Windows 7 Beta (x86 Build 7100)
Monitor
Proview 17" HDTV

Last edited by timxirish : 08-15-09 at 10:31 PM
timxirish is offline   Reply With Quote
Old 08-15-09   #10 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Nov 2007
Posts: 1,670

Rep: 146 keith27 is acknowledged by manykeith27 is acknowledged by many
Unique Rep: 109
Trader Rating: 1
Default

The inrush of current may to be great and cause other items to burn out. A transistor is the best option here.
keith27 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 10:52 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.18537 seconds with 8 queries