|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
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.
|
|
#2
|
|||
|
|||
|
Re: What is a Cypress?
Quote:
I'll see what I can do next time I'll be near the CRIO. Thanks! |
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
Re: What is a Cypress?
WTF? Man, My mentor didn't let me use the PSoC... I want to use it now...
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |