Lynxmotion Tech Support

www.lynxmotion.com
It is currently Wed Jun 19, 2013 5:23 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Aug 08, 2012 5:30 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4422
As I mentioned (hijacked) on another thread, I thought it might be interesting to try to hook up a PS3 controller and/or XBox 360 controller up to an Arduino, to see if that would be a viable option for Robot control.

I found information on how to do this up at the site: https://github.com/felis/USB_Host_Shiel ... -Bluetooth

To do this, you need USB support. So I Looked for a USB shield: The main one I found (which the above WIKI) mentioned is up at: http://www.circuitsathome.com/usb-host- ... are-manual. You can also purchase a compatible one from Amazon.com: http://www.amazon.com/Arduino-Compatibl ... f_gw_p_t_3

To use Bluetooth, you also need a BT dongle. I picked up this one from Amazon.com http://www.amazon.com/Kensington-K33902 ... f_gw_p_t_4

I downloaded the library and test programs from: https://github.com/felis/USB_Host_Shield_2.0/downloads

I plugged the shield into a Botboarduino and first I tried running the Test program for PS3 connected to USB with a cable. The test program compiled (17.6K) ran fine. I then tried the BT version of the program which also compiled (28.3K). You first plug in the BT module and the program detects the BT information, Then you plug the PS3 into the USB slot which tells the PS3 to talk to the appropriate USB address, then you plug the BT module back in and the PS3 was talking just fine! The bad news is on the Atmega 328 that does not leave very much program space available for your real program.

So I may have to reserve trying this out for Mega type boards.

Thoughts?

Kurt


Top
 Profile  
 
PostPosted: Tue Oct 30, 2012 9:31 am 
Offline
Site Admin
User avatar

Joined: Fri Aug 31, 2012 7:45 am
Posts: 563
Any luck? Have you pursued it?

_________________
Coleman Benson
Lynxmotion
Imagine it. Build it. Control it.™
http://www.Lynxmotion.com


Top
 Profile  
 
PostPosted: Tue Oct 30, 2012 10:45 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4422
Nope, hopefully someday.

I confirmed that it would not be a valid input device for non-mega class setups. Will revisit when I get back to megas...

Kurt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group