Hey dear colleagues
I'm currently working on a robot which uses a Microcontroller of type Joy-It Arduino (can be referenced by the following website: www.joy-it.net).
I use the ps2 gamepad controller to communicate with the robot.
The power supply works fine because when I unplug the USB-cable from the device due to the connection of the power supply the Arduino still runs having the LEDs turned on.
But when it comes to action the robot does not respond to anything previously installed on it via the USB cable (having in mind that that in this period of time the USB-cable is not attached to the arduino).
But as soon as I plug in the USB cable into the expected port the robot somehow reacts to all commands received from the gamepad.
Can you make a diagram of your wiring?
How is everything connected together?
If the gamepad is connected to your PC, then when you disconnect your Aruidno USB it will not receive commands from PC, unless there is another form of connection such as Bluetooth or WiFi.
Please read the post at the start of any forum , entitled "How to use this Forum".
OR http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?