|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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.
|
|
#3
|
|||||
|
|||||
|
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
|
|
#6
|
||||
|
||||
|
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
![]() |
|
#7
|
|||||
|
|||||
|
Re: What is a Cypress?
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)
|
|
#8
|
|||||
|
|||||
|
Re: What is a Cypress?
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.
|
|
#9
|
|||
|
|||
|
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
|
|||||
|
|||||
|
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. |
|
#11
|
|||
|
|||
|
Re: What is a Cypress?
Quote:
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
|
|||
|
|||
|
Re: What is a Cypress?
Quote:
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
|
|||
|
|||
|
Re: What is a Cypress?
Quote:
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
|
|||||
|
|||||
|
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.
|
|
#15
|
|||
|
|||
|
Re: What is a Cypress?
Quote:
I'll see what I can do next time I'll be near the CRIO. Thanks! |
![]() |
| 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 |