Go to Post With a little time and practice, I think that most people would find that there is no magic involved in programming. - Dave Scheck [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 18-01-2010, 13:44
Integral Integral is offline
Registered User
AKA: Ross
FRC #1130 (Robo Rebels)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Albany, Or
Posts: 22
Integral is an unknown quantity at this point
Re: Cypress Layout (over wires?)

Where can I find I/O pin assignments for this board?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2010, 13:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress Layout (over wires?)

Here's a slide I made up.
The Analog's and Digital's may start counting at 0 in Java /C++, but I haven't checked.
I will, I will,...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2010 at 10:28.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2010, 23:01
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Cypress Layout (over wires?)

Thank you -- I had no clue about that.

I'm still remembering facts I probably knew about last year. I was going to wire up a switch that will act as an active-stop mechanism, which will drive the motors so as to bring the robot to a much quicker stop that coasting them (as disabling does.) However, I'll have to try Jaguars -- it was brought up that they have an electomagnetic stop. Hopefully, this will be effective enough to bring it to a stop within three feet.

I'm sure I'll find a use for this if the Jaguars are effective at stopping it. Of course, I'll have to check if the electomagnetic braking works when the PWM output is disabled (we would like to avoid CAN until the offseason.)

I hope other teams will find this helpful, too.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2010, 00:46
Integral Integral is offline
Registered User
AKA: Ross
FRC #1130 (Robo Rebels)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Albany, Or
Posts: 22
Integral is an unknown quantity at this point
Re: Cypress Layout (over wires?)

Quote:
Originally Posted by Mark McLeod View Post
Here's a slide I made up.
The Analog's and Digital's may start counting at 0 in Java /C++, but I haven't checked.
I will, I will,...
Thank you very much. This info is in the driver station, though not laid out in a easy to read manner. It uses the Cypress pin labels, which when the board in mounted on the proto board are on the UNDER side. So you need to have this I/O table figured out before mounting the Cypress.

Not sure why this is not easily available on the First site???
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2010, 04:06
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Cypress Layout (over wires?)

Quote:
Originally Posted by Mark McLeod View Post
Here's a slide I made up.
The Analog's and Digital's may start counting at 0 in Java /C++, but I haven't checked.
I will, I will,...
Mark,

I believe you've got the Digital Outputs backward... that or you've discovered a bug in the indicators / API. They should all count up as you move down the board.

Also, probably the most complete documentation about the EnhancedIO features is at C:\WindRiver\docs\extensions\FRC\C++ Reference.chm and then look at the DriverStationEnhancedIO class documentation.

It doesn't have the pinout for J2 and J3 (can't believe that's not somewhere in the documentation... can anyone confirm it's nowhere?), but it describes all the features and the connections to P2 (the "((((Wireless" connector).

-Joe
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2010, 08:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress Layout (over wires?)

I'll go through test and correct my chart for the Digital Outputs, as well as, checkout that hidden documentation too.
Once everything calms down a bit maybe I'll have time to go through the various environment-specific documentation.
So far I've been pretty much skimming everything.

It's hard to confirm that something is "nowhere," only that we can't find it "anywhere," and even that's suspect...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2010 at 11:39.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2010, 11:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress Layout (over wires?)

My mistake is confirmed. The Digital Outputs were reversed.
In the LabVIEW code the I/O counts begin at 0 not 1, so just be aware that Digital Output 1 is referenced in the code by "0". In C++ the reference matches as 1-8.
These labels are how the Driver Station sees them.

Here is the corrected chart:
Attached Thumbnails
Click image for larger version

Name:	CypressPinout.jpg
Views:	926
Size:	97.4 KB
ID:	8352  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2010 at 11:23.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2010, 23:10
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Cypress Layout (over wires?)

Quote:
Originally Posted by Mark McLeod View Post
My mistake is confirmed. The Digital Outputs were reversed.
In the LabVIEW code the I/O counts begin at 0 not 1, so just be aware that Digital Output 1 is referenced in the code by "0". In C++ the reference matches as 1-8.
These labels are how the Driver Station sees them.
The pinout you show is accurate for the compatibility mode. However, if you click "Configure..." on the I/O tab, you can switch to enhanced mode at the bottom and then you can make all 16 digital lines input, or all 16 digital lines outputs or any mixture in between (in addition to a ton of other features).

I'm not sure what LabVIEW code you are referring to. If you mean that the array index is 0 for digital input 1, for instance, then you are correct, but that is simply because the index array primitive in LabVIEW is 0-based. Nothing in the API (compatibility or enhanced) is "0-based".
Reply With Quote
  #9   Spotlight this post!  
Unread 23-01-2010, 09:37
Randy Forgaard's Avatar
Randy Forgaard Randy Forgaard is offline
Parent 1729, former mentor 3126
FRC #7129
Team Role: Parent
 
Join Date: Oct 2009
Rookie Year: 2010
Location: Hollis, NH, USA
Posts: 48
Randy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to behold
Re: Cypress Layout (over wires?)

The way I read the <R82> rule change in Team Update #4, posted yesterday, it appears that we are no longer required to use the breadboard with the Cypress PSoC 3 FirstTouch Kit I/O module, and we can now use the eStop Cypress Carrier and Enclosure available from AndyMark for more safe and robust mounting and I/O pin access. It would also appear that the Jan. 18 posting by the Game Design Committee on the FIRST Q&A Forum, saying that we can only use the breadboard, is now out of date. Does anyone disagree? (I am hoping to post this question also to the FIRST Q&A Forum through our Team Rules Expert, who has access.)

Please let me know if you read this rule change differently. Many thanks!
Reply With Quote
  #10   Spotlight this post!  
Unread 23-01-2010, 12:56
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Cypress Layout (over wires?)

I believe that does obsolete the posting on Q&A.
Reply With Quote
  #11   Spotlight this post!  
Unread 23-01-2010, 18:09
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Cypress Layout (over wires?)

It does appear that they have drawn a line through
"the breadboard," removing it as a requirement,
and refer to "carrier board" now. Clarification via
QandA would be important, but the plain English of
the reworded rules is what it is.

Eugene
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cypress board bls0620 Electrical 4 17-01-2010 23:22
Cypress Board Configuration Geek 2.0 FRC Control System 12 17-01-2010 04:23
Cypress IO board connect SteveD FRC Control System 12 16-01-2010 16:46
Cypress soc? sp33chy FRC Control System 2 15-01-2010 08:58
Legal? Hurdling Over Overpass and Over Lane Divider 7-11number1 Rules/Strategy 11 20-01-2008 14:58


All times are GMT -5. The time now is 16:59.

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