Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

XBox Controller Hack - XBugBot

For general discussion related FlowStone

XBox Controller Hack - XBugBot

Postby Embedded » Fri Oct 28, 2011 2:17 pm

How to make an autonomous robot out of a hacked Xbox controller and Flowstone!

XBugBot2.jpg
XBugBot2.jpg (67.51 KiB) Viewed 34238 times


Using a wireless Xbox controller you can make a low cost robot ideal for education:

BitsSLR.jpg
BitsSLR.jpg (157.06 KiB) Viewed 34238 times


The Concept:
This was a concept to make a low cost autonomous programmable robot for education using low cost every day things that the students could identify with – ie. The Xbox Controller. There are of course several existing product in this market most notably the Lego NXT and the Vex Systems. Both of these allow users to build and program autonomous robots, but there are two key differences, 1) On the XBugBot the programming and the processor are not separate! 2) The price! The XBugBot can be build for around 1/10th of the cost of the competing products!

Parts List:

The Parts List:
1 x FlowStone FREE Software
1 x wireless Xbox controller
1 x Xbox USB wireless receiver
2 x small motors and gearboxes eg. Solarbotics Motor 8
2 x wheels eg. Solarbotics 2- 5/8 “ wheels
3 x IR range sensors eg. Sharp GP2D12
3 x line sensing kit or line detection sensors and resistors eg. TCRT5000
2 x micro switches & whiskers eg. LynxMotion Bump Switch Kit
1 x battery holder with switch eg. 2xAA Battery Holder with Switch
1 x castor wheel. Eg ½” ball Caster wheel
1 x 6mm Sintra board
A few bits, cable ties, tape, sticky Velcro, solder, screws etc.

Total price: around $100-$150 USD

Programming and Processor:
On many systems used in education the programming and the processor are separate. What this means is that you have to write your program on a computer and then download it into the device to test it. If it’s not right then you have to repeat the process again, and again. This serves no purpose and just prolongs programming time and limits the actual learning process as you can’t view the live data. The different with the XBugBot is that the program can be developed on the PC and run on the PC in real time, no downloading, and no compiling! This is done using the FlowStone graphical programming language and communicating to the hardware wirelessly using the Xbox Controllers own wireless connection. This is very similar to the Formula 1 or Indy Car race telemetry, with one important difference; you are in control and can change the program in real time!

XBugBot1.jpg
XBugBot1.jpg (67.7 KiB) Viewed 34238 times


What can it do?
Using a range of sensors connected to the Xbox controller it can be programmed to autonomously navigate and roam around the ground or solve complex mazes puzzles, and even follow lines on the ground etc.

Here's a short video I sent to HQ: http://www.youtube.com/watch?v=1xGA5bDD-Ug
Embedded
 
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: XBox Controller Hack - XBugBot

Postby NullARC » Tue Nov 08, 2011 12:26 am

This looks like a great little project!
Do you have a tutorial on how the XBugBot was constructed so that others can experiment?

Thanks!
NullARC
 
Posts: 14
Joined: Sun Nov 06, 2011 4:54 pm

Re: XBox Controller Hack - XBugBot

Postby Embedded » Thu Nov 10, 2011 8:30 pm

ok here is a pdf instruction manual to make your own XBugBot:

http://www.dsprobotics.com/Files/XBugBot.pdf

Enjoy!
Embedded
 
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: XBox Controller Hack - XBugBot

Postby NullARC » Fri Nov 11, 2011 7:17 am

Thanks for the tutorial!
I'm going to get started right away.
NullARC
 
Posts: 14
Joined: Sun Nov 06, 2011 4:54 pm

Re: XBox Controller Hack - XBugBot

Postby Embedded » Tue Nov 15, 2011 4:30 pm

HQ have just posted my Test program!

Still needs a little work but it will get you going:

http://www.dsprobotics.com/support/viewtopic.php?f=11&t=340
Embedded
 
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: XBox Controller Hack - XBugBot

Postby NullARC » Thu Nov 17, 2011 3:39 am

Thanks so much for making the Flowstone program available!

I showed my oldest son (7) the XBugBot and told him that we are going to build it.
We are both really excited to get started.

I was wondering if it might be possible to write a walk-through for the XBugBot program?
Like what was written for the programs on the Tutorials section.

I would like to understand better how the program was written and the concepts used.

Thanks for all of the time you have put into the project to make it available to us. ;)
NullARC
 
Posts: 14
Joined: Sun Nov 06, 2011 4:54 pm

Re: XBox Controller Hack - XBugBot

Postby Embedded » Thu Nov 17, 2011 2:30 pm

Embedded
 
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: XBox Controller Hack - XBugBot

Postby NullARC » Thu Nov 17, 2011 8:42 pm

Here is another (reputable) source for line following sensors.
They are from SparkFun so no worries.

http://www.sparkfun.com/products/9453

These are sold individually, so three would
be required for the XBugBot. Like before,
there is an analog version and a digital version.
Just make sure you get the analog.
NullARC
 
Posts: 14
Joined: Sun Nov 06, 2011 4:54 pm


Return to General

Who is online

Users browsing this forum: No registered users and 68 guests