Difference between revisions of "DIY USB adapter for dummies"

From GIMX
Jump to: navigation, search
(Ubuntu)
Line 1: Line 1:
 +
http://gimx.fr/img/screenshots/tuto/gfd/gfd-header.png
 +
 
This tutorial focuses on simplicity and easiness. If you want more details, please read the [[DIY_USB_adapter]] page.
 
This tutorial focuses on simplicity and easiness. If you want more details, please read the [[DIY_USB_adapter]] page.
  
Line 26: Line 28:
 
And hopefully you have some basic tools like a hobby/utility knife or scissors laying around.
 
And hopefully you have some basic tools like a hobby/utility knife or scissors laying around.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-parts.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-parts.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-parts.jpg
  
 
=Download the required software, firmware and drivers=
 
=Download the required software, firmware and drivers=
Line 39: Line 41:
 
For easy access later on, just save/extract all the files to your desktop.
 
For easy access later on, just save/extract all the files to your desktop.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-files.png http://gimx.fr/img/screenshots/tuto/gfd/gfd-files.png]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-files.png
  
 
==Ubuntu==
 
==Ubuntu==
Line 53: Line 55:
 
To begin with, I recommend you insulate the serial converter using the electrical tape if it's going to be in a tight enclosure, to avoid any shorts between it and the Teensy.
 
To begin with, I recommend you insulate the serial converter using the electrical tape if it's going to be in a tight enclosure, to avoid any shorts between it and the Teensy.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate.jpg
  
 
Now connect the cables as shown in the picture below.
 
Now connect the cables as shown in the picture below.
 
(Notice how the Teensy is placed! Pins should point left with the USB connector pointing away from you.)
 
(Notice how the Teensy is placed! Pins should point left with the USB connector pointing away from you.)
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-cablesgohere.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-cablesgohere.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-cablesgohere.jpg
  
 
The next two steps are only required if you're putting the parts in a very tight enclosure and need the parts to take up as little space as possible.
 
The next two steps are only required if you're putting the parts in a very tight enclosure and need the parts to take up as little space as possible.
Line 64: Line 66:
 
1. Bend the pins with the jumper cables attached to them inwards, slowly to prevent them from snapping, and tuck the cables between the pins on the opposite side.
 
1. Bend the pins with the jumper cables attached to them inwards, slowly to prevent them from snapping, and tuck the cables between the pins on the opposite side.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-bend-1.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-bend-1.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-bend-1.jpg
  
 
2. To save some extra space, I usually wrap the cables around the Teensy.
 
2. To save some extra space, I usually wrap the cables around the Teensy.
Line 72: Line 74:
 
(Also, this is where the rubber band will come in handy!)
 
(Also, this is where the rubber band will come in handy!)
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-bundle.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-bundle.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-bundle.jpg
  
 
If you want, you can also place the serial converter so that the pins and jumper cables go in between the rows of pins on the Teensy.
 
If you want, you can also place the serial converter so that the pins and jumper cables go in between the rows of pins on the Teensy.
 
It's a very snug fit though so you should use some electrical tape to insulate the pins on the serial converter because they will touch the Teensy ones if you don't.
 
It's a very snug fit though so you should use some electrical tape to insulate the pins on the serial converter because they will touch the Teensy ones if you don't.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate2.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate2.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate2.jpg
  
 
Cut some holes in your project box of choice to match the Mini USB plug on one side and regular USB plug on the other side.
 
Cut some holes in your project box of choice to match the Mini USB plug on one side and regular USB plug on the other side.
 
Do some tests and make sure everything aligns up before securing everything in place. In the picture below I've bundled everything up using the rubber band and secured it to the box with some electrical tape (double sided tape or hot glue works wonders too if you have it)
 
Do some tests and make sure everything aligns up before securing everything in place. In the picture below I've bundled everything up using the rubber band and secured it to the box with some electrical tape (double sided tape or hot glue works wonders too if you have it)
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-matchdapter.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-matchdapter.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-matchdapter.jpg
  
 
Voilà! You're done building the adapter.
 
Voilà! You're done building the adapter.
Line 90: Line 92:
 
Connect the adapter to your computer using the USB Mini-B cable and a LED on the Teensy should turn on or start blinking.
 
Connect the adapter to your computer using the USB Mini-B cable and a LED on the Teensy should turn on or start blinking.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-loadfirmware.png http://gimx.fr/img/screenshots/tuto/gfd/gfd-loadfirmware.png]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-loadfirmware.png
  
 
Now start up Teensy Loader (teensy.exe on your desktop) and follow these steps:
 
Now start up Teensy Loader (teensy.exe on your desktop) and follow these steps:
Line 99: Line 101:
 
Now click the Reboot button and your GIMX USB adapter is ready for use!
 
Now click the Reboot button and your GIMX USB adapter is ready for use!
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-connect.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-connect.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-connect.jpg
  
 
NOTE! You can now unplug the USB Mini-B cable from your computer.
 
NOTE! You can now unplug the USB Mini-B cable from your computer.
Line 110: Line 112:
 
Simply run setup-X.YZ.exe from your desktop and follow the installation steps, preferably with the default installation location.
 
Simply run setup-X.YZ.exe from your desktop and follow the installation steps, preferably with the default installation location.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-setupgimx2.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-setupgimx2.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-setupgimx2.jpg
  
 
When the installation is done you should have three GIMX icons on your desktop.
 
When the installation is done you should have three GIMX icons on your desktop.
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-icons.png http://gimx.fr/img/screenshots/tuto/gfd/gfd-icons.png]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-icons.png
  
 
'''Configuration basics'''
 
'''Configuration basics'''
Line 135: Line 137:
 
:This is of course only required the very first time you use the adapter!
 
:This is of course only required the very first time you use the adapter!
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-contopc.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-contopc.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-contopc.jpg
  
 
*Connect the USB Mini-B side to your console, run gimx-serial and make sure the adapter is recognized on a COM port.
 
*Connect the USB Mini-B side to your console, run gimx-serial and make sure the adapter is recognized on a COM port.
 
:(If the Device box is blank, refer to the Support section and report the problem if a solution isn't found)
 
:(If the Device box is blank, refer to the Support section and report the problem if a solution isn't found)
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-comport.jpg http://gimx.fr/img/screenshots/tuto/gfd/gfd-comport.jpg]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-comport.jpg
  
 
*Select the config you made/downloaded from the drop down menu, click the Start button and a couple of windows should pop up to start capturing your mouse and keyboard input!
 
*Select the config you made/downloaded from the drop down menu, click the Start button and a couple of windows should pop up to start capturing your mouse and keyboard input!
  
<div class="image200px">[http://gimx.fr/img/screenshots/tuto/gfd/gfd-selconfig.png http://gimx.fr/img/screenshots/tuto/gfd/gfd-selconfig.png]</div>
+
http://gimx.fr/img/screenshots/tuto/gfd/gfd-selconfig.png
  
 
Now if you're in the menus of your console and press the WASD or arrow keys on your keyboard, you should be able to navigate through the menus, meaning you've succeeded! If not, or if something went wrong elsewhere, go back and make sure you followed every step to the letter and try again, then let us know if nothing you try works.
 
Now if you're in the menus of your console and press the WASD or arrow keys on your keyboard, you should be able to navigate through the menus, meaning you've succeeded! If not, or if something went wrong elsewhere, go back and make sure you followed every step to the letter and try again, then let us know if nothing you try works.

Revision as of 11:24, 5 September 2012

http://gimx.fr/img/screenshots/tuto/gfd/gfd-header.png

This tutorial focuses on simplicity and easiness. If you want more details, please read the DIY_USB_adapter page.

Welcome to the straight-to-the-point tutorial on how to build the GIMX PC to PS3 USB adapter, solderless!
Everything you need to know to build and get started with the adapter is covered here if you read it carefully!
I suggest you read it through at least once, just to have a heads up on what you're going to do.

Get the required parts

It should come with a set of cables and look like this.
You need the one with pins to be able to connect everything without soldering.

And if you don't already have it, you need to get some USB cables, like these:

Optional:

I'll be using a match box for this tutorial. Another popular DIY project box is an empty Altoids tin for example.
  • Electrical tape
For insulating or securing parts and cables in place. Regular adhesive tape should work as well.
  • Rubber band
For bundling everything up - easy to undo and redo if you don't get it right the first time.

And hopefully you have some basic tools like a hobby/utility knife or scissors laying around.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-parts.jpg

Download the required software, firmware and drivers

Windows

For easy access later on, just save/extract all the files to your desktop.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-files.png

Ubuntu

(You will have to follow the instructions on that page if you want to use the Teensy Loader with Ubuntu)

Assemble the adapter

To begin with, I recommend you insulate the serial converter using the electrical tape if it's going to be in a tight enclosure, to avoid any shorts between it and the Teensy.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate.jpg

Now connect the cables as shown in the picture below. (Notice how the Teensy is placed! Pins should point left with the USB connector pointing away from you.)

http://gimx.fr/img/screenshots/tuto/gfd/gfd-cablesgohere.jpg

The next two steps are only required if you're putting the parts in a very tight enclosure and need the parts to take up as little space as possible.

1. Bend the pins with the jumper cables attached to them inwards, slowly to prevent them from snapping, and tuck the cables between the pins on the opposite side.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-bend-1.jpg

2. To save some extra space, I usually wrap the cables around the Teensy. There's no special way of doing this, so you just need to figure out what works best for your build.

Remember not to cover up the button on the Teensy as we need to press it later on. (Also, this is where the rubber band will come in handy!)

http://gimx.fr/img/screenshots/tuto/gfd/gfd-bundle.jpg

If you want, you can also place the serial converter so that the pins and jumper cables go in between the rows of pins on the Teensy. It's a very snug fit though so you should use some electrical tape to insulate the pins on the serial converter because they will touch the Teensy ones if you don't.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-insulate2.jpg

Cut some holes in your project box of choice to match the Mini USB plug on one side and regular USB plug on the other side. Do some tests and make sure everything aligns up before securing everything in place. In the picture below I've bundled everything up using the rubber band and secured it to the box with some electrical tape (double sided tape or hot glue works wonders too if you have it)

http://gimx.fr/img/screenshots/tuto/gfd/gfd-matchdapter.jpg

Voilà! You're done building the adapter.

Load the firmware onto the adapter

Connect the adapter to your computer using the USB Mini-B cable and a LED on the Teensy should turn on or start blinking.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-loadfirmware.png

Now start up Teensy Loader (teensy.exe on your desktop) and follow these steps:

Press the button on the Teensy and the LED should turn off. In Teensy Loader, open atmega32u4.hex from the firmwares folder on your desktop. Click the Program button and you should get the message "Download Complete" Now click the Reboot button and your GIMX USB adapter is ready for use!

http://gimx.fr/img/screenshots/tuto/gfd/gfd-connect.jpg

NOTE! You can now unplug the USB Mini-B cable from your computer. The USB Mini-B cable will only be connected to your computer when upgrading the firmware from now on. When in use, the USB Mini-B cable is connected to your console.

Install the GIMX software

This step is pretty straight forward. Simply run setup-X.YZ.exe from your desktop and follow the installation steps, preferably with the default installation location.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-setupgimx2.jpg

When the installation is done you should have three GIMX icons on your desktop.

http://gimx.fr/img/screenshots/tuto/gfd/gfd-icons.png

Configuration basics

GIMX comes pre-loaded with a few configurations, but let's take a quick look on how you can make your own configurations using the GIMX FPS Config Tool (As you can tell by the name, this is mainly meant for setting up a basic FPS configuration.)

Youtube video

You can also check out the Configuration Requests and Index thread for other configurations available for download, or post requests that we or the community might be able to fulfill.

NOTE!

For Windows 32bit, downloaded configurations go in the C:\Program Files\GIMX\config folder.
For Windows 64bit, downloaded configurations go in the C:\Program Files (x86)\GIMX\config folder.

Good to go!

That's it. You're ready to start using the GIMX USB adapter!

  • Connect the regular USB side to your PC and install the serial converter drivers (CP210x_VCP_Win_XP_S2K3_Vista_7.exe on your desktop)
This is of course only required the very first time you use the adapter!

http://gimx.fr/img/screenshots/tuto/gfd/gfd-contopc.jpg

  • Connect the USB Mini-B side to your console, run gimx-serial and make sure the adapter is recognized on a COM port.
(If the Device box is blank, refer to the Support section and report the problem if a solution isn't found)

http://gimx.fr/img/screenshots/tuto/gfd/gfd-comport.jpg

  • Select the config you made/downloaded from the drop down menu, click the Start button and a couple of windows should pop up to start capturing your mouse and keyboard input!

http://gimx.fr/img/screenshots/tuto/gfd/gfd-selconfig.png

Now if you're in the menus of your console and press the WASD or arrow keys on your keyboard, you should be able to navigate through the menus, meaning you've succeeded! If not, or if something went wrong elsewhere, go back and make sure you followed every step to the letter and try again, then let us know if nothing you try works.

Enjoy!

NB! Xbox 360 support

Please note, as Xbox 360 support is in early experimental stages, this tutorial does not cover the usage of GIMX firmware version 0.30 The adapter in itself is however exactly the same, so if you would like to try out Xbox 360 support read this thread (currently only for Ubuntu)