Go to Post It's a game. It's a challenge. Face it like a man, build a robot to play the game and get over it. - Arefin Bari [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 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
  #2   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!
  #3   Spotlight this post!  
Unread 22-03-2010, 18:52
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?

OK. I've managed to play around with the cypress and got it working. I used it to activated relays and PWMs on our robot and to my surprise it was a huge success. Thanks for everyone who helped!

But, I still have a few more questions:

The cypress pinout tells me there are 6 buttons on the board- one physical and 5 others in the wireless connector. How can I access the 5 other buttons and use them?

How can I connect a quad encoder and why sould I?

The axes of the accelerometer return "weird" values. How do I read them properly? For example, what value will I get for tilting it horizontally?

The touch proximity value seems to work only when the antena supplied in the kit is connected. Is there a way to make it work without it?
Also, how do I read its values properly?

I read that some of the connectors on the cypress board can be used as PWMs. How can I configure it that way in the program and on the board?

In Labview, there is a VI that allows me to set the mode of each digital channel (Set Enhanced Digital Config VI). However, I noticed you can do the same when you click the "configure" button in the I/O tab on the Driver Station.
Is there a difference whether I change it in the program or on the DS? Are they synced?


And again, thanks for all your help!
  #4   Spotlight this post!  
Unread 29-03-2010, 23:47
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: What is a Cypress?

WTF? Man, My mentor didn't let me use the PSoC... I want to use it now...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
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 14:37.

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