Cypress board LAYOUT

Hi, i have spent an hour looking through posts on chief delphi and have been unable to find detailed instructions on using the cypress board. we configured it and can connect to it fine, but we cant figure out how to use it. I took a switch that was wired from last year (with a pwm cable and a resistor on the red wire), and connected the black to ground, red to the top, and the white to P4_5. what do we do from there? we would like for this switch to control Digital Input 1. THANKS for any help

Does this help?

P.S. I modified the Breadboard bullet to state that the game rules require it’s use.

Thankyou, this does help some. I now know what pins to wire to. but im still not sure, how should i wire a digital switch (on-off switch) to P4_4? i ran the ground to one terminal on the switch, and connected the white and red to the other, with a resistor on the red wire. do i use a resistor between hot an ground, and then just connect white to P4_4?

  • Switches just need two wires: signal (white) to P4_4 & ground (black) to ground. The power wire (red) is unused.
  • Pots use all three wires: signal, ground, & power (note: full range of pot will be read by your code as 0 to 3.3)
    If your switch from last year needed power, it must have had a light on it or something similar, so that might require the power (red) be wired to one of the power pins.
    BUT, last year the pins supplied 5v and this year they are only 3.3v, so check the specs on your switch if you can. That resistor might need to be changed. Does the switch have a make & model # on it?

Thankyou. Im not sure why we used a power wire last year on the switches. but we dont need lights. so i will try wiring a signal and ground and then connect the white to P4_5. I will not use the hot. I should be able to wire it later today, so i will keep u posted on whether it works. Thanks again

Last year’s Driver Station didn’t provide pullups on its digital inputs. That’s why connecting power (either to an external pullup resistor or to one side of a double-throw switch) was necessary for making switches work properly.

Oh yea, that slipped my mind.

You can get that switch to operate the same as last year using the Enhanced IO to make the pin float, but I wouldn’t bother.:slight_smile:

We removed the power wire and ran the white to P4_5 and the ground to ground, and the switch worked! Thanks guys.

Joe Hershberger pointed out an error in my Cypress Board pinout chart.
The Digital Outputs were reversed.
Corrected Cypress Pinout:

IOboard.zip (611 KB)


IOboard.zip (611 KB)

By the way, The 500mA limit you mention is only the case if you you plug the IO board directly into the classmate. I don’t remember if FIRST requires you to plug it directly into the classmate or not.

If you use the 9-Volt battery, you can get suppliment the current (if you are using the 3.3V Vddio).

Be aware that the 9v battery is not legal for use according to 2010 game rules.
Only the batteries spelled out in the rules are permissible.
The IO Board must use a USB cable to connect to the Classmate.

Although, it can be used on the robot with stepped down power from the 12v competition battery, then you do get a little more power.

My slides target the casual users, rather than the advanced ones. At the time I was trying to reduce the number of slides being presented, this being a very small part of a larger post-Kickoff workshop. These are only a starting point.

Eventually, I’ll have to put a lot more useful information together for some future workshop specifically on the IO board, but that’ll be if it’s retained by FRC in 2011.

I LOVE YOU.
this powerpoint is most useful.
a thousand thanks.