Getting there...

Need help? Ask here and someone will help
Post Reply
ted
Posts: 8
Joined: Fri Aug 23, 2013 4:02 pm

Getting there...

Post by ted »

Bit of a struggle at the moment getting this all working:

As far as I can tell, everything is working except the PS3 is not getting any input.
When I connect my Arduino Uno to the PS3 says "an unknown usb device has been connected"

Device manager shows CP210x on COM4 successfully. I'm getting successful readings from the Gimx-serial GUI.
I've checked my CP2102 converter by bridging Tx/Rx and getting keystrokes through the Arduino IDE serial monitor.

I initially installed the Hex file to the Arduino using Arduino Builder. I assume this worked correctly otherwise I wouldn't be getting any input at all.

I've tried swapping Tx/Rx between the Arduino and the CP2102. No difference.
Either way I still get "an unknown usb device has been connected" on the PS3.

Apart from starting again from scratch I'm not sure what to do here.
One of the links in the chain is broken but I've no idea which.

Specs:
Gimx 1.02
Windows 7 64bit
DIY USB adapter CP2102 converter + Arduino Uno R3.
PS3 (Fat)
Logitech G500 and PS2 controller connected to PC and both succesfully being detected in GIMX config.
ted
Posts: 8
Joined: Fri Aug 23, 2013 4:02 pm

Re: Getting there...

Post by ted »

Another issue I'll need to resolve:

After clicking Start in GIMX-serial - bringing up emu-client - Unfortunately a left or right mouse click will cause emu-client to lose focus, meaning I can suddenly click around my PC desktop as normal.

I've tried with both mouse-grab and output-GUI ticked and un-ticked. No help.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Getting there...

Post by Matlo »

What firmware did you load?

Did you check that the arduino is detected as a joystick when connected to a PC?
GIMX creator
ted
Posts: 8
Joined: Fri Aug 23, 2013 4:02 pm

Re: Getting there...

Post by ted »

Ah *headslap* — the microcontroller chip in the Arduino Uno is ATmega328.
I was incorrectly using the ATmega16U2 firmware which is irrelevant as it's for the USB-to-serial chip.

At least I think this is where I've gone wrong.

It appears there is no firmware for the ATmega328?

ANNNND I just found this: "The atmega328 chip is not compatible because it has no usb features." - Matlo
http://gimx.fr/forum/viewtopic.php?f=5&t=507

Looks like I'll have to get a Teensy 2.0 or Teensy++

Will changing to a Teensy likely resolve the below Matlo, or is that an indepedent issue?
After clicking Start in GIMX-serial - bringing up emu-client - Unfortunately a left or right mouse click will cause emu-client to lose focus, meaning I can suddenly click around my PC desktop as normal.

I've tried with both mouse-grab and output-GUI ticked and un-ticked. No help.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Getting there...

Post by Matlo »

You can use the on-board atmega16u2. You can reprogram it as explained there: http://arduino.cc/en/Hacking/DFUProgramming8U2

The second issue is unknown to me. You can open a new issue there: http://code.google.com/p/diyps3controller/issues/entry
GIMX creator
ted
Posts: 8
Joined: Fri Aug 23, 2013 4:02 pm

Re: Getting there...

Post by ted »

Thanks Matlo. Ended up buying a fake Leonardo which worked fine.

As for the mouse not freezing in Windows issue, I'll definitely open an issue very soon.

In the meantime I've moved onto Ubuntu which is working perfectly, except for one thing, which I'll post in another thread.
Post Reply