Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Cypress board LAYOUT (http://www.chiefdelphi.com/forums/showthread.php?t=80500)

SteveD 18-01-2010 14:01

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

Mark McLeod 18-01-2010 14:06

Re: Cypress board LAYOUT
 
Does this help?

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

SteveD 19-01-2010 10:22

Re: Cypress board LAYOUT
 
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?

Mark McLeod 19-01-2010 10:34

Re: Cypress board LAYOUT
 
  • 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?

SteveD 19-01-2010 11:52

Re: Cypress board LAYOUT
 
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

Alan Anderson 19-01-2010 13:27

Re: Cypress board LAYOUT
 
Quote:

Originally Posted by Mark McLeod (Post 902169)
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.

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.

Mark McLeod 19-01-2010 13:48

Re: Cypress board LAYOUT
 
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.:)

SteveD 19-01-2010 16:48

Re: Cypress board LAYOUT
 
We removed the power wire and ran the white to P4_5 and the ground to ground, and the switch worked! Thanks guys.

Mark McLeod 21-01-2010 11:13

Re: Cypress board LAYOUT
 
1 Attachment(s)
Joe Hershberger pointed out an error in my Cypress Board pinout chart.
The Digital Outputs were reversed.
Corrected Cypress Pinout:

jhersh 21-01-2010 23:25

Re: Cypress board LAYOUT
 
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).

Mark McLeod 22-01-2010 09:46

Re: Cypress board LAYOUT
 
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.

WitchalokKing 23-01-2010 11:23

Re: Cypress board LAYOUT
 
I LOVE YOU.
this powerpoint is most useful.
a thousand thanks.


All times are GMT -5. The time now is 23:26.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi