Society of Robots - Robot Forum

General Misc => Misc => Topic started by: Darkbluestar on May 03, 2008, 09:38:41 PM

Title: Robot Controlled by an Xbox 360 Gamepad
Post by: Darkbluestar on May 03, 2008, 09:38:41 PM
Just thought I would share a little project I've been working on. Basically I made one of the autonomous robots that I had from a competition into a remote controlled robot.

It isn't your typical remote controlled robot because it doesn't use an RC receiver and transmitter. Instead I have two Xbee modules, one of them is connected to my computer and the other is connected directly to my robot. So the computer transmits instructions to the MCU which then executes them. On the computer's side a Xbox 360 controller is connected wirelessly and instructions can be sent to the computer from it(Which then transmits data to the MCU).

So you might say so what I can do that with an RC controller. Well a computer can do much more complex things than a MCU, which opens more possibilities that your regular RC control. For example, I plan on mounting a wireless camera and have vision processing be done off-board. You could also remote control a Hexapod or any robot with complex movements.

So here are two videos showing the use of the controller. Feedback and suggestions would be nice :).

[youtube]http://www.youtube.com/watch?v=yymH0_8ZXv0[/youtube]
[youtube]http://www.youtube.com/watch?v=uMi8waYc-GQ[/youtube]
Title: Re: Robot Controlled by an Xbox 360 Gamepad
Post by: airman00 on May 04, 2008, 12:07:11 AM
very nice

any more documentation
We at SoR would really appreciate it if you write a members tutorial on this . You can even enter our robot tutorial contest, you have my vote!


How did you connect the xbox 360 controller wirelessly to the computer?
Title: Re: Robot Controlled by an Xbox 360 Gamepad
Post by: Darkbluestar on May 04, 2008, 01:07:36 AM
I can try to get a tutorial on this written up, I just need to get permission from the other people that worked on this and polish it some.

The xbox 360 controller is connected to the PC using a receiver made by Microsoft. This one---http://www.xbox.com/en-US/hardware/x/xbox360wirelessgamingreceiver/default.htm (http://www.xbox.com/en-US/hardware/x/xbox360wirelessgamingreceiver/default.htm).

Microsoft made it really easy to use the Xbox 360 controller which is the main reason I picked it. Microsoft has code written up specially for for the 360 controller in their XNA framework.