Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: bilals on March 05, 2010, 02:16:23 PM

Title: Is it possible to connect a PS3 controller to an Xbee ?
Post by: bilals on March 05, 2010, 02:16:23 PM
Hi, i was wondering if it is possible to control a robot using a PS3 controller through an Xbee connected to the microcontroller. Or does it have to be a bluetooth module connected to the microcontroller ?
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: waltr on March 05, 2010, 02:42:24 PM
XBee modules can be connected to any microcontroller that supports asynchronous serial communication. Many have a UART module built in but serial communication can be done with only software.

I just don't know what a PS3 controller is however. Do you have a link?
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: bilals on March 05, 2010, 03:05:53 PM
I mean a Playstation 3 >>>Joystick<<<. My bad  :P.

Here is a link:
http://playstation.about.com/od/ps3/a/PS3SpecsDetails_3.htm (http://playstation.about.com/od/ps3/a/PS3SpecsDetails_3.htm)
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: chelmi on March 05, 2010, 03:12:12 PM
No. The PS3 controller uses the bluetooth protocol which is different from 802.15.4 used by xbee.
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: bilals on March 05, 2010, 03:21:50 PM
No. The PS3 controller uses the bluetooth protocol which is different from 802.15.4 used by xbee.

So, a bluetooth module connected to the Axon would enable me to control the robot using a PS3 joystick.
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: KurtEck on March 05, 2010, 06:44:18 PM
You might be able to do this.  But I think it would be a lot of work.  That is you would have to implement the bluetooth protocol that the PS3 uses.  I am not sure if anyone has done this or not... I have seen where others have had their PC be able to use the PS3 and then have their program on the PC then send the data out over something like XBee or even BT in some simple serial cable replacement mode mode.

I hope that makes sense.

Kurt
Title: Re: Is it possible to connect a PS3 controller to an Xbee ?
Post by: bilals on March 06, 2010, 12:02:51 AM
Totally makes sense, Thanks.