Go to Post Reffing a FIRST event is unlike being an ump or a ref at any other event. Where else is a game invented each year and over 1000 teams play this game within 3 months of its birth? - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-03-2010, 18:38
eedo369 eedo369 is offline
Registered User
FRC #3088 (Kill-O-Bites)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Israel
Posts: 8
eedo369 is an unknown quantity at this point
What is a Cypress?

Hello everyone,

I know this may sound a bit too late but I wanted to ask what exactly is the Cypress, what can I do with it and how does it work?
  #2   Spotlight this post!  
Unread 18-03-2010, 19:19
hipsterjr's Avatar
hipsterjr hipsterjr is offline
Your bot can score but can it dance
AKA: CJ
FRC #4451 (The Burning Magnetos)
Team Role: College Student
 
Join Date: Dec 2006
Rookie Year: 2002
Location: summerville,SC
Posts: 587
hipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond repute
Send a message via AIM to hipsterjr
Re: What is a Cypress?

Well here in the south, a cypress is a tree that grows in the swamp. But I doubt that is what you mean.
__________________
2010 Palmetto Chairmens Winner
2009 Peachtree Finalist Thanks 1319 & 590 "Sure your robot can score, but can it dance?!"
2008 Palmetto Regional Finalist Thanks 343 & 804
2008 Florida Regional Finalist Thanks 179 & 69
2007 Palmetto Regional winners Thanks 1319 & 832
2005 Palmetto Chairmens Winner
  #3   Spotlight this post!  
Unread 18-03-2010, 19:27
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: What is a Cypress?

It is an electronic board that came in your KOP, also called a PSoC. You can connect it to the USB port of your Classmate and configure what I/O options you want. Then then you can program your cRIO to can read analog and digital I/O from switches etc, connected to the Cypress
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
  #4   Spotlight this post!  
Unread 18-03-2010, 19:28
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: What is a Cypress?

You can read more about it here.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #5   Spotlight this post!  
Unread 18-03-2010, 19:34
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: What is a Cypress?

There is a nice enclosure for the board which you can get here, if you would like a protective box and nice headers to wire to.
__________________


  #6   Spotlight this post!  
Unread 18-03-2010, 20:58
robself705's Avatar
robself705 robself705 is offline
Team Leader / Mechanical
AKA: Rob Self
FRC #0706 (Cyberhawks)
Team Role: Mechanical
 
Join Date: Nov 2008
Rookie Year: 2009
Location: Arrowhead High School Wisconsin
Posts: 72
robself705 is a name known to allrobself705 is a name known to allrobself705 is a name known to allrobself705 is a name known to allrobself705 is a name known to allrobself705 is a name known to all
Re: What is a Cypress?

You can do cool things like put switches on it to tell the robot which zone it is starting in so it can use the right autonomous code......that is if there is time to program different autonomous
__________________
Rob Self-
Cyberhawks Team 706
Hartland, WI

Our breakaway bot in action (13-3-1): Team 706 in action
  #7   Spotlight this post!  
Unread 18-03-2010, 21:44
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: What is a Cypress?

Quote:
Originally Posted by robself705 View Post
You can do cool things like put switches on it to tell the robot which zone it is starting in so it can use the right autonomous code......that is if there is time to program different autonomous
You can do more than that - You can build a whole custom control box for your operator (although I recommend against using it for the driver, simply because the driver needs two joysticks or a gamepad to drive)
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #8   Spotlight this post!  
Unread 19-03-2010, 01:00
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: What is a Cypress?

Quote:
Originally Posted by apalrd View Post
You can do more than that - You can build a whole custom control box for your operator (although I recommend against using it for the driver, simply because the driver needs two joysticks or a gamepad to drive)
You can have joysticks on the PSoC since its got ADC capability. You just have to use joysticks similar to the ones included in the kit 2008 and earlier.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #9   Spotlight this post!  
Unread 19-03-2010, 05:53
eedo369 eedo369 is offline
Registered User
FRC #3088 (Kill-O-Bites)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Israel
Posts: 8
eedo369 is an unknown quantity at this point
Re: What is a Cypress?

Thanks for all the info!

Can you tell me how to program it and and how to use Labview to program the CRIO to read it?
  #10   Spotlight this post!  
Unread 19-03-2010, 13:43
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: What is a Cypress?

To program the PSoC: Plug it in to USB (no battery needed) and open PSoC programmer. Find the file called FRC_IO_v2.hex, located in Shared Documents on the Classmate. Upload the image.

On the other end - Go to WPI Robotics Library => Driver Station => Extended IO for the extended IO. This includes VI's to read analog channels, digital channels, and write digital outputs, plus much more.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #11   Spotlight this post!  
Unread 19-03-2010, 14:05
eedo369 eedo369 is offline
Registered User
FRC #3088 (Kill-O-Bites)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Israel
Posts: 8
eedo369 is an unknown quantity at this point
Re: What is a Cypress?

Quote:
Originally Posted by apalrd View Post
To program the PSoC: Plug it in to USB (no battery needed) and open PSoC programmer. Find the file called FRC_IO_v2.hex, located in Shared Documents on the Classmate. Upload the image.

On the other end - Go to WPI Robotics Library => Driver Station => Extended IO for the extended IO. This includes VI's to read analog channels, digital channels, and write digital outputs, plus much more.
O.K. Let's say that I want to use the Button on the Cypress to determine which autonomous I want to use right before the match starts.
How do I do that?

The problam is, I don't know how to "connect" what I see in Labview to what I see on the board. And our electrician hasn't got a clue on how to connect DIOs and PWMs etc to it.
  #12   Spotlight this post!  
Unread 19-03-2010, 14:47
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: What is a Cypress?

Quote:
Originally Posted by eedo369 View Post
O.K. Let's say that I want to use the Button on the Cypress to determine which autonomous I want to use right before the match starts.
How do I do that?

The problam is, I don't know how to "connect" what I see in Labview to what I see on the board. And our electrician hasn't got a clue on how to connect DIOs and PWMs etc to it.
For autonomous you can also use a few switches on the robot, connected to Digital Inputs. Or we use a rotary switch, with multiple resisters connected to an analog input on the robot.

To wire a few toggle switches on the control panel, we found it easier to take apart a joystick and parallel toggle switches to some of the push-buttons.
  #13   Spotlight this post!  
Unread 19-03-2010, 14:54
eedo369 eedo369 is offline
Registered User
FRC #3088 (Kill-O-Bites)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Israel
Posts: 8
eedo369 is an unknown quantity at this point
Re: What is a Cypress?

Quote:
Originally Posted by Dad1279 View Post
For autonomous you can also use a few switches on the robot, connected to Digital Inputs. Or we use a rotary switch, with multiple resisters connected to an analog input on the robot.

To wire a few toggle switches on the control panel, we found it easier to take apart a joystick and parallel toggle switches to some of the push-buttons.
These are cool ideas, but I want to specifically use the Cypress because I want to understand how it works.
I'm the programmer of my team and I had almost no problams writing our code in Labview, including state machines, clusters, etc.

The problam is that as far as I can see, the Cypress requires both knowledge in programming and in electricity, and I can't write any VI without knowing how to 'read' it properly and maximize its potential.
  #14   Spotlight this post!  
Unread 19-03-2010, 18:03
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: What is a Cypress?

Once it is wired, its simple. Go to the FIRST control system documentation page and find a pinout of the Cypress IO board. Depending on what you want, you can use Compatibility or Enhanced IO. I used Enhanced, but Compatibility allows Virtual IO if you would rather have that. On your Classmate, you can configure if any digital input is pulled high, pulled low, floating, or out. You will want "pulled high" for all of the input/output you use, so the electrical team can wire between the signal and GND. In software, all pulled high inputs will be TRUE until the button is pressed, so NOT gates will become your friend. For analog Inputs, voltage in will be between 0v and 3.3v, or you can use the "analog range" for 0-1. There are also more advanced features, like two quadrature encoders on four inputs and some even more advanced IO on the Wireless connector (two DAC's, PWM Out, HDDIO, etc. ) and you can also use the buttons , LED's, 3-axis accelerometer, and touch slider on the board itself. It's all in "Enhanced IO". One thing you might find useful is the front panel. You can just put an indicator on all of the Cypress IO of the category you want and see what it does.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #15   Spotlight this post!  
Unread 19-03-2010, 18:12
eedo369 eedo369 is offline
Registered User
FRC #3088 (Kill-O-Bites)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Israel
Posts: 8
eedo369 is an unknown quantity at this point
Re: What is a Cypress?

Quote:
Originally Posted by apalrd View Post
Once it is wired, its simple. Go to the FIRST control system documentation page and find a pinout of the Cypress IO board. Depending on what you want, you can use Compatibility or Enhanced IO. I used Enhanced, but Compatibility allows Virtual IO if you would rather have that. On your Classmate, you can configure if any digital input is pulled high, pulled low, floating, or out. You will want "pulled high" for all of the input/output you use, so the electrical team can wire between the signal and GND. In software, all pulled high inputs will be TRUE until the button is pressed, so NOT gates will become your friend. For analog Inputs, voltage in will be between 0v and 3.3v, or you can use the "analog range" for 0-1. There are also more advanced features, like two quadrature encoders on four inputs and some even more advanced IO on the Wireless connector (two DAC's, PWM Out, HDDIO, etc. ) and you can also use the buttons , LED's, 3-axis accelerometer, and touch slider on the board itself. It's all in "Enhanced IO". One thing you might find useful is the front panel. You can just put an indicator on all of the Cypress IO of the category you want and see what it does.
You make it sound so simple, but I guess you're right. The best thing to do is to just check it out myself.

I'll see what I can do next time I'll be near the CRIO.

Thanks!
Closed Thread


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 Source lynca FRC Control System 1 03-02-2010 01:32
Cypress Board Issues kgzak FRC Control System 4 02-02-2010 18:40
Cypress board LAYOUT SteveD FRC Control System 11 23-01-2010 11:23
Cypress board bls0620 Electrical 4 17-01-2010 23:22
Cypress soc? sp33chy FRC Control System 2 15-01-2010 08:58


All times are GMT -5. The time now is 01:19.

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