Go to Post I'll guess those tie-dyed, numbered balls are used for alliance-partner lotto. :D - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 14-03-2013, 00:54
Crawler Crawler is offline
Registered User
FRC #3749
 
Join Date: Jan 2012
Location: San Diego
Posts: 19
Crawler is a jewel in the roughCrawler is a jewel in the roughCrawler is a jewel in the roughCrawler is a jewel in the rough
Re: arduino victor 884 and a cim

Quote:
Originally Posted by thinker&planner View Post
I recently had to do a bunch or research on this topic, so here's my code. I read joysticks as pots through analog pins, so it might be a little different. I would love to know how you end up getting raw pot data from attack 3 because I looked for a bit but couldn't find out how.
^cut that down for quoteing
ill be looking through this soon but not tonight, it looks promising though so thank you, i was scared people werent understanding my goals.

to answer your question, i took apart the attack 3, where the usb comes into the housing there is a red and a black wire, and a few more but dont worry about those, so i ran the red to the 5v supply on the arduino and the black to the ground. then on the right side of the stick there is a 5 pin connector. Red, yellow, green, orange, and blue. The red and blue are power, the yellow and green give direct analog output though, so does the orange but that is for the throttle control on the back of the joystick. So since I gave the entire joystick power through the wires on the usb, I can really get all the buttons to work, but I connected wires to the green and yellow wires and was able to get an analog read on the arduino

https://photos-5.dropbox.com/t/0/AAD...?size=1280x960

Last edited by Crawler : 14-03-2013 at 01:01. Reason: adding a picture of the joystick
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi