Go to Post As JFK said we did not do this because it was easy, we did it because it was hard. - Glenn [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-04-2011, 19:48
William3370 William3370 is offline
Programming & Electronics Captain
FRC #3370 (Aftershock)
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2010
Location: Irving, Texas
Posts: 3
William3370 is an unknown quantity at this point
Re: I/O

Sorry if I was unclear, but as I said i'm confused to.

Let's see...

The I/O tab is only used if you have the Cypress board attached. The Cypress is the best/easiest way to use non-joysticks to control the robot.


Found that in another thread and so I was wondering of the potential possibilities such as can I use it for wiring a ps3 or xbox controller? Can I make a custom joystick and button pad (saw a few teams do that this year)?

And if so how would I go about programming it?
__________________
William
Team 3370
Lead Programming Captain
Lead Electronics Captain
Reply With Quote
  #2   Spotlight this post!  
Unread 10-04-2011, 22:31
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: I/O

In its normal mode, the Cypress board can read the state of a bunch of switches and a handful of knobs, and control a few LEDs. In "enhanced" mode, it can also read encoders, touch sensors, and built-in accelerometers, and generate voltages and PWM signals. It is indeed a good way to implement a "button box" in addition to the USB joysticks or game controllers.

You don't actually program the board itself. The Driver Station application reads it for you and passes the information on to the robot, where the program on the cRIO can read the values of the switches and knobs connected to the board. You will find the functions for reading it in either the Compatibility IO or Enhanced IO subpalettes (they're in the DriverStation section of the WPI Robotics Library functions).
Reply With Quote
  #3   Spotlight this post!  
Unread 10-04-2011, 23:30
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: I/O

Alan Anderson is dead right
But am I wrong in understanding you want to use the cypress board to hook up the ps3 and xbox controller?
because both of those you can plug straight into your driver station and as long as you have the drivers for them will be recognized as essentially a box of buttons and knobs.(You can order in the driver station which USB ports they are associated with, to match how they are called in the CRIO)
Cypress board is very helpful, but particularly if your trying to make a custom arrangement to ease the difficulty of driving your bot.
Reply With Quote
Reply


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 20:48.

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