Southern R2 Builders Group Forum Index Southern R2 Builders Group
A Place for Star Wars Fans
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PS2 Controller
Page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Southern R2 Builders Group Forum Index -> Electronics
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 23 Aug 2010
Posts: 330
Location: Jacksonville, Florida

PostPosted: Wed Aug 25, 2010 1:40 am    Post subject: PS2 Controller  Reply with quote

Your basic PS2 controller can be used to drive and operate up 6 items.
You can purchase the controller board here :
http://www.cheapcontrolsystems.com
These controllers do not have the extended range as the popular R/C controllers used by most drivers, But they are inexpensive and easy to hide as your driving your droid around in public.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Danf



Joined: 25 Aug 2010
Posts: 80
Location: Brandon, Fl

PostPosted: Tue Aug 02, 2011 12:51 am    Post subject: Reply with quote

Thought I'd share this, found a ps2 controller library for the arduino.

http://www.billporter.info/playst...-controller-arduino-library-v1-0/

So I picked up a used mad catz mini wireless controller at Gamestop and played around with it a little. got it moving servos with the sticks and all buttons work. That's 2 sticks, the d pad, and 12 buttons. and since you write your own code, you could use combo's for almost limitless possibilities. And hey, the guy who wrote the library is a Floridian.
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 23 Aug 2010
Posts: 330
Location: Jacksonville, Florida

PostPosted: Tue Aug 02, 2011 1:57 am    Post subject: Reply with quote

AWESOME!!!!!!!!!!!!!!
That would be nice to have unlimited control.
Thats what I was doing years ago with the Phidget boards, But they have to have a onboard PC.
With the Ad. controlling it, That would give it a small footprint with power to boot.
Calvin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Danf



Joined: 25 Aug 2010
Posts: 80
Location: Brandon, Fl

PostPosted: Thu Aug 11, 2011 11:27 pm    Post subject: Reply with quote

I've got R2 working with the PS2 controller. driving and dome rotation, as well as some sounds with the buttons from my sparkfun mp3 trigger. He's a little harder to control than with my big radio with the big sicks, not sure if its just practice or if I need to tweak my code a little. still need to work on volume control and sorting sounds into different categories since now I can do up to 256 instead of 12! How do you jedi users do it?
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 23 Aug 2010
Posts: 330
Location: Jacksonville, Florida

PostPosted: Fri Aug 12, 2011 1:33 am    Post subject: Reply with quote

It takes some time to get use to the Ps2 controller.
When I first did mine, He would jump and turning was spooky.
Your building what I always wanted in mine.
Keep up the great work.
Calvin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
admin
Site Admin


Joined: 23 Aug 2010
Posts: 330
Location: Jacksonville, Florida

PostPosted: Fri Aug 12, 2011 1:44 am    Post subject: Reply with quote

Dan,
Is your setup the same as the guy on the website you posted?
Calvin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Danf



Joined: 25 Aug 2010
Posts: 80
Location: Brandon, Fl

PostPosted: Fri Aug 12, 2011 2:57 am    Post subject: Reply with quote

Yep, just followed his directions, hooked up to a uno and it worked fine. He also has a trouble shooting page but I had no problems. Randy hooked one up to and we are trying to get it to work with his think geek sound system with a little success. I bought a 4 port adapter and we took it apart for the female plugs for the controllers.  I have one extra if anyone needs it, or  the web page links to a place where you can buy them . I can give my code to anyone who wants to try this route.
Back to top
View user's profile Send private message Send e-mail
wheels



Joined: 17 Jun 2011
Posts: 29

PostPosted: Sun Aug 14, 2011 2:00 am    Post subject: Reply with quote

Like Dan said, we are working on this PS2 controller and I am trying it out with the ThinkGeek shirt. We had the Uno working with individual pins connected to various buttons on the controller.

Dan looked into a way to control multiple items with a shift register type chip. We hooked it up and it needs something else and we are not sure exactly what it needs.

Don't worry Dan, I am not giving up on this yet. We have pre-planning starting Monday so my time for R2 will be limited some.

I do want to say publically, Thanks for your assistance with this project.
I look forward to trying again before too long.
_________________
--Randy
Member of the Winning Droid Hunt Teams from D*C '05, '06, '07, '08 and CIV
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 23 Aug 2010
Posts: 330
Location: Jacksonville, Florida

PostPosted: Sun Aug 14, 2011 8:12 pm    Post subject: Reply with quote

Is there a way to use just a wireless Ps2 controller?
The reason I ask,
The ARC32 board I have will work with the Ps2 controller, But I can't code it.
Calvin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wheels



Joined: 17 Jun 2011
Posts: 29

PostPosted: Sun Aug 14, 2011 10:37 pm    Post subject: Reply with quote

My goal (and I think Dan's) is to have the PS2 control both movement, dome rotation and for me, have the various buttons control the different sounds that the ThinkGeek shirt can do (20 and volume up and down).

That is the plan, we just need to figure out how to do it Smile

Using the Uno, the PS2 wireless adapter uses only six wires for input and two of them are for power (3.3 volts). Now the challenge is to have the movement and sounds controled by various other inputs  or outputs whatever is needed to the Uno board.


EDIT - Should be six wires for input and two of them are for power - Sorry for any confusion.


_________________
--Randy
Member of the Winning Droid Hunt Teams from D*C '05, '06, '07, '08 and CIV


Last edited by wheels on Sun Aug 14, 2011 11:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Southern R2 Builders Group Forum Index -> Electronics All times are GMT
Page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2002 phpBB Group
BlackAndWhite style created by feather inju
Create your own free forum | Buy a domain to use with your forum