Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion


Reply
 
Share Thread Tools Display Modes
Old 08-15-2009, 07:33 PM   #1
Low Bitrate
 
Flaring_Afro's Avatar
 
Join Date: Sep 2008
Location: VA
Posts: 88
Flaring_Afro is an unknown quantity at this point
Need Help Wiring Joystick

I read everything about wiring steering wheel controls and have the software, but I cant figure out how to wire them to my controller. It only had one wire input to the stereo, so i'm using the controller's joystick. It's more complicated than buttons though, and I cant figure out how or where to solder the wire. I took a bunch of pics around the joystick in hopes of help. Thanks in advance.









__________________
Acer Netbook with 160hdd and 1.60 Ghtz atom - to be installed
Flaring_Afro is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-15-2009, 09:10 PM   #2
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
it is not much complicated then buttons at all. ive done it with the same controller... the xbox controller uses a USB interface. all you need to have it working as a joystick is get the joystick drivers for it, they are called xbcd

then if u want to use just one thumbstick u need to extend it away from the controller board by removing it from the board and connect it back with wires, as far as i remember its 6 or 8 wires...

then you need another software thats called joy2key which is used to map joystick actions to keyboard shortcuts... then just map it to whatever keys or shortcuts you want to use it for, make sure that the software you are using will recognize these shortcuts and perform the needed operation.

the way i put it to use ... its mounted on the dashboard to the left of the monitor, and operates : up-down=vol up-down, left-right=previous-next track, push=mute/unmute...
sergatiuk is offline   Reply With Quote
Old 08-15-2009, 10:43 PM   #3
Low Bitrate
 
Flaring_Afro's Avatar
 
Join Date: Sep 2008
Location: VA
Posts: 88
Flaring_Afro is an unknown quantity at this point
yeah i have xbcd (used that before 360 even came out for emulators). joytokey is awesome software but doesnt work in making one joystick direction into different things, but i downloaded something god of cpu (i think thats his name) created that works.

I didnt realize there were wires under the joystick though, never even thought of that as a possibility. thanks.
__________________
Acer Netbook with 160hdd and 1.60 Ghtz atom - to be installed
Flaring_Afro is offline   Reply With Quote
Old 08-16-2009, 10:32 AM   #4
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,162
Curiosity will become famous soon enough
There are 3 pins on each potentiometer for each axis. Center is the A/D input, outer 2 are ground and 5V. There was a long thread on hooking it up by god of cpu a few years ago. I used to use a joystick with my TA but found it to be a lot more trouble and noisy than a real A/D converter like FusionBrain.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 08-16-2009, 01:03 PM   #5
Low Bitrate
 
Flaring_Afro's Avatar
 
Join Date: Sep 2008
Location: VA
Posts: 88
Flaring_Afro is an unknown quantity at this point
^ i saw the thread but i think its different for usb? idk im new to electrical things, and i dont see why we need a diode for constant power when the controller is read with no buttons/joysticks pressed. resistor makes sense i guess.

also, how was it loud? its just wires. unless something was activating the rumble in the controller lol.
__________________
Acer Netbook with 160hdd and 1.60 Ghtz atom - to be installed
Flaring_Afro is offline   Reply With Quote
Old 08-16-2009, 01:16 PM   #6
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by Flaring_Afro View Post
^ i saw the thread but i think its different for usb? idk im new to electrical things, and i dont see why we need a diode for constant power when the controller is read with no buttons/joysticks pressed. resistor makes sense i guess.

also, how was it loud? its just wires. unless something was activating the rumble in the controller lol.

noisy in an electrical sense.

Instead of getting say 3.3v out of a button, you would get something like: 3.3, 3.4, 3.35, 3.1, 3.5, 3.4, 3.3, 3.2, 3.5, 3.4

That jumping around is called noise...
2k1Toaster is offline   Reply With Quote
Old 08-16-2009, 01:28 PM   #7
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
personally i havent experienced any problems with the xbox joystick ... it works great, does what its suppose to do... heres my setup... you can see the joystick mounted on the left of the monitor...
http://www.mp3car.com/vbulletin/show...undra-sr5.html
sergatiuk is offline   Reply With Quote
Old 08-16-2009, 01:49 PM   #8
Low Bitrate
 
Flaring_Afro's Avatar
 
Join Date: Sep 2008
Location: VA
Posts: 88
Flaring_Afro is an unknown quantity at this point
Quote: Originally Posted by 2k1Toaster View Post
noisy in an electrical sense.

Instead of getting say 3.3v out of a button, you would get something like: 3.3, 3.4, 3.35, 3.1, 3.5, 3.4, 3.3, 3.2, 3.5, 3.4

That jumping around is called noise...

Oh ok. I've heard of "noise" as in an electrical interference that changes the signal in a wire, just not like that where software cant read it right. God of CPU's software does have a tolerance changer so I'll see how it goes. I dont have the money to do anything else lol
__________________
Acer Netbook with 160hdd and 1.60 Ghtz atom - to be installed
Flaring_Afro is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 08-16-2009, 02:10 PM   #9
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
since the controller is USB i dont so how it would have any change in output voltage...
its already regulated through the USB port...
the only think is you might want to set the key bindings to where the joystick reaches the end of each axis...this way you wouldnt have a situation as for example when you move it to the left with a slight decline it wouldnt read the Y axis unless you move it ALL the way down...
sergatiuk is offline   Reply With Quote
Old 08-16-2009, 02:13 PM   #10
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
also depending on the way you position it, make sure to calibrate it, as if its vertical it would always have a slight decline in the Y axis, while if its mounted horizontally it might be slightly off the 0 point on either of the axis
sergatiuk is offline   Reply With Quote
Old 08-16-2009, 02:14 PM   #11
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Doesnt matter what voltage the potentiometers are based around, they all have inherent error. And I was saying the signal lines will fluctuate with noise. They will be sampled in an A2D converter and sent digitally over USB connection with a hopefully stable 0v/5v 0/1 pattern and when demodulated you will still get that noisy signal out of it.
2k1Toaster is offline   Reply With Quote
Old 08-16-2009, 04:09 PM   #12
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,162
Curiosity will become famous soon enough
The A2D is much better in a PIC from my experence, and I usually sample 8 or 16 times and avarage before sending the result so it's rock solid. The gamepad is hard wired for whatever it's intended purpose and less than half the 8-bit register is usable due to the fact that it auto calibrates the start voltage as center stick, so then you have only 2.5V to work with. So first thing to do is set up resistors for 2.5 open and still have differences in every button close. PITA.

Oh, Flaring_Afro.. The diode is to protect the gamepad. Your SWC has 12V running through it which would fry the gamepad and possibly more without it. What god of cpu did was run the 5V backwards through it.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 08-16-2009, 04:16 PM   #13
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
its interesting where this is going ... however i dont see the need for the diod, nor resistors... all i did to make mine work is extend the thumbstick away from the controller board, bind the axis ends to keys and whalla ... works fantasticly... never fried, never failed...had it for over a year...
sergatiuk is offline   Reply With Quote
Old 08-16-2009, 04:28 PM   #14
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by sergatiuk View Post
its interesting where this is going ... however i dont see the need for the diod, nor resistors... all i did to make mine work is extend the thumbstick away from the controller board, bind the axis ends to keys and whalla ... works fantasticly... never fried, never failed...had it for over a year...

Then you are extremely lucky and the buttons are already divided to 0v-5v. On a lot of systems, that second divider resistor is located in the HU itself. So the 1 wire contains 12v to 13.8v (or 14.4v on some charging systems) with varying resistance. You connect that to a 5v gamepad and things may melt.
2k1Toaster is offline   Reply With Quote
Old 08-16-2009, 04:35 PM   #15
Constant Bitrate
 
sergatiuk's Avatar
 
Join Date: Mar 2006
Posts: 201
Blog Entries: 1
sergatiuk has a little shameless behaviour in the past
may-b i misunderstood the thread then .. lol
however, if the gamepad is used to control the software on the PC then it should just be plugged in the USB... after all the Xbox controller is USB...
sergatiuk is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ / Summary of best bets for Input (In this Thread) CA 3000GT Input Devices 104 06-05-2009 10:40 AM
Wiring question... atikali2000 Newbie 4 04-17-2008 11:21 PM
Need Help - BMW's Signal Differential Speaker Wiring, Amps and SVEN4 lloydy Car Audio 8 02-14-2006 07:43 PM
if you designed a vehicle's interior and wiring, how would you do it? stapan General MP3Car Discussion 7 12-26-2005 02:56 PM
Specific wiring schematic 4 Optrex DMC40457? sooty LCD/Display 9 07-17-2001 03:11 AM



All times are GMT -5. The time now is 05:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics