High Concept:
Xbox360 Controller is used to control a RC Car and mounted camera.
Details:
I ripped out the car's original circuit board and hooked up the Arduino to the car's drive and steering motors. A motor controller is used to control the motors.
The program reads input from the Xbox360 controller and sends data serially over an Xbee radio to another Xbee radio on to the Arduino. The serial library is called CSerial.
Below is the supply list. After writing this I now realize what a costly venture this was.
Arduino Duemilanove.........................$30
Wireless Video Camera........................$45
In the video, the steering is not very good. This is because I did not understand the steering mechanism at the time. The wires for controlling steering literally were coming from a black box. I had to experiment with the 6 wires that were coming out of the box to find out which ones controlled the steering motor. For a long time afterward, I had 4 unused wires just sitting there. It wasn't until much later that I investigated what those wires did. I completely disassembled the steering box, but it was worth it. I found that the remaining wires were attached to a potentiometer. After finding this out, I was able to read the voltage coming off the pot to determine the position of the car's wheels. With that information I was able to make the wheel rotation pretty much go one to one with the Xbox controller's left joystick. This was a vast improvement over the first steering implementation.
RC Car Controlled by Arduino and Xbox360 Controller from Dan Howery on Vimeo.
Power:
The motors run off a 9.6V RC Car battery. The arduino, pan/tilt servos, and camera run off a seperate RC car battery. I like using the rc car batteries because I can plug them into the charging wire without removing them from the car. It makes charging this thing a snap.
In this video I revised the controls a bit. Rather than have the left stick control forward/backward and the right stick control left/right, I made it so that the left and right triggers control forward/backward and the left stick controls left/right. This allowed me to tie the camera controls to the right stick later on.
Revised Controls for Arduino Xbox 360 RC Car from Dan Howery on Vimeo.
Your first 2 links are broken.
ReplyDeleteHi - great project. I would like to see the source code and how you got the XBox remote to work with it. Can you post the details. I tried clicking on the links but nil! Thumps up
ReplyDeletevery cool, it would be great to see the source code
ReplyDeleteplease post the source code, doing a similar project
ReplyDeleteI just posted the source code (C++ and Arduino). I also fixed the first two links that take you to the code libraries.
ReplyDeleteCan you put any wiring schematics out for us also?
ReplyDeleteI am mainly interested in the motor controller you are using. I have looked over the info sheet on it but i am always looking for more info and other ways to look at things. Thanks
Where are you located? I saw a similar project at a Science Fair in the Philadelphia area.
ReplyDeleteExcelent project!
ReplyDeleteThe next project would be to use the long range xbee modules (see sparkfun.com if you don't know about them yet) and then to design a controller w/display that takes the laptop out of the loop.
Thanks man, it's a really cool idea. I'd like to see the source but for some reason I can't download it. I can see the 7.9MB up there, but can't get to the zip file.
ReplyDeleteHey Dan, what does your serial protocol look like, did you use binary or a human readable stream?
ReplyDeleteJim
Hello,
ReplyDeleteSource code link on Google seems broken, is it still available?
Thanks.
Can you please send me a pm with the code?
ReplyDeletemoraes.andre@gmail.com
I'm trying to do similar project with xbee and slash
The link is broken. someone upload it in Google docs or a file-sharing site.
ReplyDeletehello,
ReplyDeletei'm stuck in getting turn and forward/backward working at the same time.
any tips?
thank you
till now do have that problems?
ReplyDeleteThomas & Betts
absolutely awesome man =D
ReplyDeleteI just posted the source code again. This time, I believe that the link will not break. Sorry for people who tried getting it before.
ReplyDeleteAlso, I swapped out the Bluetooth in favor of Xbee modules as the range is much farther.
Thanks for all the comments everyone.
Hey,
ReplyDeleteThis is totally cool.... but i know for sure its advanced stuff... and that wont stop me...
thanx for inspiring me
~Photons
completely awesome! i've had ideas for a project like this for awhile, but you DID it! A couple questions about the camera/video quality since i'm considering a similar wireless camera. What is the source of the glitches in the video, RF interface, power noise, or ??? Using a cheap wireless camera fits the budget, but can the video quality be improved? THX
ReplyDeleteHey,do you reckon you could place a copy of how you connected them together please?
ReplyDeleteThanks In advance
Hi,
ReplyDeleteI'm working on a similar project but I am having problem wiring my Xbox controller to the chip. How did you do that?
This is an excellent project, but for some reason I cannot get the visual c++ program to work. I've tried both 2010 and 2008 versions of the software and I get a fatal error that tells me that "the application has failed to start because application configuration is incorrect" when ever I try to build the project or run the app file in the debug folder. Any help with this would be much appreciated.
ReplyDeleteThank You
How did you turn two wires from the battery pack into a barrel jack? Is there an adapter that does this, or did you just make it yourself?
ReplyDeleteIt's a great project, BTW. Thanks for the inspiration!
Hey, AWESOME project. I am trying to do the same thing. I would love to look at the source code to get a better understanding of how to made it all work as I am no programmer :S. sadly the link is broken once again. If someone with the code could send it to me I would be VERY grateful.
ReplyDeleteroweboat87@gmail.com
great job ,please could you sent me the code i m working on a similar project , i ll be gratefull
ReplyDeletehoussem_bahri@yahoo.fr
Hi.
ReplyDeleteI'm very interested in this proyect.
Could you upload the source code again? The link doesn't work.
Thank you very much.
Hi, im not sure if anyone still uses this site, hopefully they do, but can anyone send me or link me the source code for this? cheers
ReplyDeleteHey bro, I am working on a similar project but need some help with the source code. Was wondering if you can send me the source code? If you can my email is zeus.02@hotmail.com , thanks again and awesome project man!
ReplyDeletedoes anyone know if there is a how to video out there for this project i would really love to try making this. great job!
ReplyDeleteishcrop@gmail.com
Hey would you be able to help me out with the source code? thanks! Also I downloaded to OIS files and such but I have no idea what to use (OIS, OIS_vc9, OIS_vc8 etc..) please help! this would make my project so much helpful
ReplyDeleteMatt
swimfree2010@yahoo.com
can someone send me the source code please tux@ntlworld.com thank you
ReplyDeletecan someone send the source code to me at ixlr84life@yahoo.com please and thank you!
ReplyDeleteHi! Nice project but the link is broken can someone send me the code. Thanks! nonogarcia@msn.com
ReplyDeletevery cool can you please send me the source code harry@cartechF1.x90x.net thank you.
ReplyDeletehi!, i have made a project like the creeper bot, using the arduino uno and a web browser to control the car.
ReplyDeletehttp://arduinonetcaren.blogspot.it
hi can u send the source code to hallskyler9@gmail.com
ReplyDeleteHello, is it possible to repost the source code or email it to me? (302468@student.saxion.nl) Im having issues with the way you read in data from the controller.
ReplyDeletethanks
hey there, im pretty new to this stuff, but why do you need the motor controller ? is it just to make the different functionalities of the motor(forwards/revers) easier without using many different wires ? and if so did you have to program that micro-controller ? Couldnt you have done all of the programing directly off the arduino to the motors ? please someone reply asap , thanks
ReplyDeletehey Dann,
ReplyDeleteI am Merlin from Holland, and I am working on your project you have made. But my c++ code doesn't work. Can you send me your c++ code, so I can figure out what I am doing wrong?
Thanks,
Merlin From Holland.
BTW, My E-email is: merlin073@hotmail.com
For Xmas this year, my son an I talked about doing this very thing, however we were going to add a Nerf gun to the camera turret. However, I am an EE first with a, ME, SC, and math background, so I was planning to turn this into a full project. I would be happy to share my designs with you if you are interested. I would likely just ask for some help with your code once I get to that point. But first, if I sent you schematics, would you be able to tell me if they interface with your code, or if I might need to fork the code significantly. I will spin PCB to make this as P&P as possible for anyone interested. You can contact me direct at richard.howlett@xcellsior.com If you write back, I will send a much more detailed idea for this project.
ReplyDeleteThanks,
Richard
can you re upload the broken links
ReplyDeletecan you email me the code at baby2fly90@gmail.com
ReplyDeletecould you email me the code at darrensaunders9@gmail.com.
ReplyDeleteI know this is three years old...
ReplyDeletebut I am hoping to do a project with a 360 controller, but as of now have no clue how to read the inputs from the controller. Could you possibly reupload the code or send it to me? Thanks
Hi, could you please send me the stuff i need to my email? -Bassking02@gmail.com
ReplyDeleteHey man,
ReplyDeleteFantastic work! Really admirable! Hoping to do something similar. Could you send me the source code to my email?
epower187@gmail.com
Thanks
Ell
hi, is a very nice proyect but unfortunately your links are broken... so... could you repair it?
ReplyDelete