Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
does anyone know how to do this?
Print
Author
Topic: does anyone know how to do this? (Read 4419 times)
0 Members and 1 Guest are viewing this topic.
jakx12
Robot Overlord
Posts: 183
Helpful? 2
does anyone know how to do this?
«
on:
May 31, 2009, 05:46:20 AM »
So does anyone know how to make a ps2 to serial adapter or a wii remote (or nunchuck) to serial adapter. Iv just playing with the idea of making a wii or ps2 controlled robot. Because i dont use the Arduino the most appealing method of the remote 'talking' to the micro-controller would be with serial. So any ideas?
jakx12
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
SmAsH
Supreme Robot
Posts: 3,959
Helpful? 75
SoR's Locale Electronics Nut.
Re: does anyone know how to do this?
«
Reply #1 on:
May 31, 2009, 06:01:23 AM »
there is a bit of info on this subject if you google around such as pinouts like so
and i believe dunk has a thread about interfacing a ps2 controller with the axon somewhere
which may be of use to you.
http://www.societyofrobots.com/robotforum/index.php?topic=5220.0
there are other pages like this one
http://www.lynxmotion.com/images/html/build036.htm
that say how to connect it up although not to an arduino still shows the basics.
Logged
Howdy
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #2 on:
May 31, 2009, 07:06:17 AM »
thanks
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #3 on:
May 31, 2009, 07:58:51 AM »
do you have any ideas which wires are necessary for just getting feedback from the controller. For examples, perhaps only three are needed, ground, signal and power.
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
paulstreats
Guest
Re: does anyone know how to do this?
«
Reply #4 on:
May 31, 2009, 08:06:53 AM »
I would imagine that the brown orange and blue make up an SPI bus. (most microcontrollers have SPI built in).
You would also need power and gnd.
the attention and acknowledge wires are probably a way of waking the console and letting it know that a command is ready
Logged
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #5 on:
May 31, 2009, 08:11:57 AM »
ok, so how would i wire my motherboard up (RAMB II) and get everything working with a bx-24 chip. Im not to good with electronics so i dont really know how i would start. But thanks for the info so far
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #6 on:
May 31, 2009, 08:17:56 AM »
i found this, which is from the basicx.com website, (which is were i get my chip from). Isnt it just telling us the same as the picture above?
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
GearMotion
Supreme Robot
Posts: 489
Helpful? 24
Two decades+ of Embedded Design
Re: does anyone know how to do this?
«
Reply #7 on:
May 31, 2009, 11:16:19 AM »
http://users.ece.gatech.edu/~hamblen/489X/f04proj/USB_PSX/psx_protocol.html
http://www.gamesx.com/controldata/psxcont/psxcont.htm
http://curiousinventor.com/guides/ps2
There is a lot of information out there, but it will take some research to see how to make routines for the ps protocol. At a quick look the protocol could easily be bit-banged - likely generic I/O ports could be used - if you don't use the BasicX SPI port.
«
Last Edit: May 31, 2009, 11:27:07 AM by GearMotion
»
Logged
CircuitGizmos - Electronic Products for Creative Minds
RobotBASIC - simulation and control
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #8 on:
June 02, 2009, 11:58:32 AM »
thanks, but i still dont know were to put the wires
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
Admin
Administrator
Supreme Robot
Posts: 11,704
Helpful? 173
Re: does anyone know how to do this?
«
Reply #9 on:
June 04, 2009, 06:48:17 PM »
You have them go to digital pins on the Axon.
For example, the clock will go to a digital pin running PWM.
Make your best guess here and we'll tell you if its right or not.
Logged
subscribe to SoR's YouTube account
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #10 on:
June 07, 2009, 02:39:14 AM »
But i use RAMB II, iv got a fair idea but im not 100% sure.
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
SmAsH
Supreme Robot
Posts: 3,959
Helpful? 75
SoR's Locale Electronics Nut.
Re: does anyone know how to do this?
«
Reply #11 on:
June 07, 2009, 02:42:32 AM »
well, post what you are thinking here and we can go from there.
Logged
Howdy
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #12 on:
June 07, 2009, 02:45:20 AM »
ok so...
data in - 12
clock - 11
atn - 10
data_out - 9
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #13 on:
June 07, 2009, 10:03:44 AM »
im not a beginner ! I just suck at electronics
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
dellagd
Contest Winner
Supreme Robot
Posts: 731
Helpful? 5
Come to the dark side... We have cookies!
Re: does anyone know how to do this?
«
Reply #14 on:
June 08, 2009, 06:12:35 AM »
well I'd say to hook up the attention pin to a ontput pin and bring that pin high, for like a few seconds or whatever. Itt sounds like this wire "wakes it up". If no signal is applied, you wont be able to get any readings out of it
Logged
Innovation is a product of Failure, which leads to Success.
If I helped, +1 helpful pls
I Won!
3rd place! I'm taking $100
jakx12
Robot Overlord
Posts: 183
Helpful? 2
Re: does anyone know how to do this?
«
Reply #15 on:
June 08, 2009, 03:10:40 PM »
yh, i think i figured most of it out
Logged
Need help with an algorithm or a maths related problem? Ill be glad to help
dellagd
Contest Winner
Supreme Robot
Posts: 731
Helpful? 5
Come to the dark side... We have cookies!
Re: does anyone know how to do this?
«
Reply #16 on:
June 08, 2009, 06:25:17 PM »
k
tell us if it works!
Logged
Innovation is a product of Failure, which leads to Success.
If I helped, +1 helpful pls
I Won!
3rd place! I'm taking $100
Print
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
does anyone know how to do this?
SMF spam
blocked by CleanTalk