275Views2Replies

Author Options:

I have a question about Arduino Uno R3 stacking shields for a project Answered

i just started on a Arduino UNO R3 project, Its basically a vehicle (a tank) with 2 separate DC Motors, that controls its movement. Another part of the tank would be a Camera dock, which would be made up of 2 Servo motors which basically moves the camera Up, Down, Left, Right.

To control the Vehicle i would use an Xbox 360 wireless controller. So far the only thing i figured out is that i would require two shields, One would be the Motor shield (Controls Both dc gears and Servos: http://www.ebay.com.au/itm/Motor-Drive-Shield-Expansion-Board-L293D-For-Arduino-Duemilanove-Mega-UNO-/280844181299?pt=LH_DefaultDomain_15&hash=item41639e1f33),

The other shield would be the USB Host shield (http://www.ebay.com.au/itm/USB-Host-Shield-2-0-For-Arduino-/330832197023?pt=LH_DefaultDomain_15&hash=item4d0722b59f - this would be used for the 360 wireless receiver) .

The thing is is it possible to combine all three, if not what would be alternative solutions?, thank you

Discussions

0
user
Tomdf

5 years ago

I'd wager that there is an Xbox controller library for Arduino out there somewhere

A couple of things to consider but I will throw it out there... I think your wireless Xbox controller needs to communicate with an Xbox that has the receiver and smarts to interpret the signal. If you just want to use the controller as a signal transmitter, then the arduino needs to be able to receive the signal and interpret it. I don't know what you were going to plug into the USB host since just hooking up a wireless adapter/router might not do anything. Take a look at this http://www.sparkfun.com/tutorials/348 Also, using both shields, I don't think they are really intended to be stacked on top of each other, you need to consider the pins(input/output) that they use on the arduino and that the pins can be shared.  The xbee shields are for wireless communication but I have not used them so hopefully someone knowledgeable will comment.  Good luck.