Go Down

Topic: Wire/Connector For A Game Controller? (Read 1 time) previous topic - next topic

012anonymousxyz

Oct 08, 2016, 09:17 am Last Edit: Oct 08, 2016, 09:23 am by 012anonymousxyz
I 3D printed a game controller. Something like this but with fewer buttons:
https://upload.wikimedia.org/wikipedia/commons/7/7a/SNES-Controller.jpg

I want the controller to have a wire sticking out with a connector that I can plug into my other projects. I want the connection on my controller's side to be sturdy and permanent, and I would like use a male/female connector that has a simple, easy to add female/male counter-part that I can include in my other projects that will enable me to simply plug in my controller.

I did a lot of research and so far I decided on a female DB-9 connector like this that will have 8 wires (6 buttons, 2 power) coming out and into a board on my controller.


In my projects I will include this:


My questions are:
1) is there a better way?
2) what is the best way to create my controller wire (the one with 6 wires)? Right now I plan to cut up some ethernet cable.
3) How do I solder those wires permanently on the controller's board so that the wires won't break? This is my biggest concern.

MAS3

Hi.

If you are outputting power on any connector, do it in the safest way.
Even if we're talking 5 or 3.3 volts.
Having male connectors on your devices, means having pins sticking out in some way and exposing the power you are supplying.
Better way would be to use female connectors, where the contacts are better protected against accidental shorts by any intruding objects.

Of course that would end up in your (mobile) controller to have more or less exposed (and therefore a bit more risked to get damaged) pins.


For the cable part:
Use flexible wires.
Create some way of strain relief inside your controller.
This could be a clamp to screw the cable to the casing, or a 's' shaped channel tight enough to just fit your cable, or both.

So if your controller housing just fits the PCB, create some space on the PCB to hold the strain relief contraption you come up with.
I understand you're already done with the casing so incorporating something like a 's' shaped channel would be a bit of a problem.
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

012anonymousxyz

For the cable part:
Use flexible wires.
Create some way of strain relief inside your controller.
This could be a clamp to screw the cable to the casing, or a 's' shaped channel tight enough to just fit your cable, or both.

So if your controller housing just fits the PCB, create some space on the PCB to hold the strain relief contraption you come up with.
I understand you're already done with the casing so incorporating something like a 's' shaped channel would be a bit of a problem.

Thank you so much! 'Strain relief'... exactly the terminology I wa slooking for. I appreciate it a lot!

Go Up