Page 1 of 1

USB Gamepad controller (Joystick), 2 DC motor, DFRobot Romeo

PostPosted: Wed Jun 12, 2013 1:34 pm
by charliedean
Hi,

I have just purchased a DFRobot Romeo V2 to drive two DC brushed motors.

http://www.dfrobot.com/index.php?route= ... bgHQfk3B8E

I wanted to be able to use a gamepad controller, such as the xbox,PS2 or logitech F510 rumble gamepad, to be able to control these two motors with tank drive style control.

I have bought a PS2 breakout board and USB breakout board.

http://www.cytron.com.my/viewProduct.ph ... 0Connector
http://www.cytron.com.my/viewProduct.ph ... e%20Female

I am fairly sure it is possible with a PS2 controller, I will have a go soon and let you know how it works.

However, does anyone know if it possible with a USB controller? (Logitech F510 Rumble Gamepad) I'd prefer to wire it straight to the microcontroller, and not via the PC.

Regards,
Charlie

Re: USB Gamepad controller (Joystick), 2 DC motor, DFRobot R

PostPosted: Wed Jun 12, 2013 9:42 pm
by robosang
Not to use the USB, you need a USB host to interface with USB device (mouse, game controller, keyboard, etc). And also the correct driver to communicate, not easy, is possible :)

About PS2, you should check how to interface with it directly, because it is not direct digital buttons from the joystick :) Better use SKPS from Cytron. I have been using SKPS for projects and works fine for me.