I'm putting together a little interface board to connect the controller PCB from a Xbox 360 arcade stick to my microcontroller. The digital inputs on the Xbox 360 do not use a common ground, so I am using a collection of four 74HC4066N analog switch IC's to connect the two traces for each digital input of up, down, left, right, and all of the buttons.
What I'd like to do is be able to control whether the Xbox PCB is getting any power, so the power would be disconnected except when I know for sure that I need to use the Xbox controller. I have a digital output from the microcontroller available for exactly this purpose. Because the only connections to this board are from the outputs of the 4066N's and ground, I think I can cut the +V to the Xbox360 controller and have it power down without problem; I dont think there is any leakage current from the 4066N's that will bleed into the board like some digital output lines might do with unpowered CMOS devices.
What I need is a recommendation of a simple part like a transistor that can be activated by the digital output line of a PIC to allow current to pass when the line is high (+5v). The current is probably in the area of <100mA when running normally, but something that could easily handle 200mA is prefered. There is no kind of switching frequency to be concerned with; needing it switched more than once per minute is extremely unlikely.
Can anyone recommend a part that could do the trick? Can anyone recommend a way to do it with regular 3906/3904 transistors? Lastly, how can I figure out the best resistor to use between the digital IO line of the PIC and the base pin of the transistor? (Im extremely naive about analog circuits)