Go to Post Stop being LAWYERS and start being ENGINEERS! - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2010, 14:01
SteveD SteveD is offline
Registered User
FRC #0888
 
Join Date: Jan 2010
Location: Glenelg, MD
Posts: 21
SteveD is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2010, 14:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,900
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress board LAYOUT

Does this help?

P.S. I modified the Breadboard bullet to state that the game rules require it's use.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2010 at 11:13.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2010, 10:22
SteveD SteveD is offline
Registered User
FRC #0888
 
Join Date: Jan 2010
Location: Glenelg, MD
Posts: 21
SteveD is an unknown quantity at this point
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?
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2010, 10:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,900
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-01-2010 at 13:16.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2010, 11:52
SteveD SteveD is offline
Registered User
FRC #0888
 
Join Date: Jan 2010
Location: Glenelg, MD
Posts: 21
SteveD is an unknown quantity at this point
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
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2010, 13:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Cypress board LAYOUT

Quote:
Originally Posted by Mark McLeod View Post
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2010, 13:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,900
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2010, 16:48
SteveD SteveD is offline
Registered User
FRC #0888
 
Join Date: Jan 2010
Location: Glenelg, MD
Posts: 21
SteveD is an unknown quantity at this point
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.
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2010, 11:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,900
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress board LAYOUT

Joe Hershberger pointed out an error in my Cypress Board pinout chart.
The Digital Outputs were reversed.
Corrected Cypress Pinout:
Attached Files
File Type: zip IOboard.zip (610.7 KB, 360 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2010, 23:25
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
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).
Reply With Quote
  #11   Spotlight this post!  
Unread 22-01-2010, 09:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,900
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2010 at 10:36.
Reply With Quote
  #12   Spotlight this post!  
Unread 23-01-2010, 11:23
WitchalokKing WitchalokKing is offline
Registered User
FRC #1785
 
Join Date: Jan 2010
Location: Lee's Summit
Posts: 1
WitchalokKing is an unknown quantity at this point
Re: Cypress board LAYOUT

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


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 Issues kgzak FRC Control System 4 02-02-2010 18:40
Cypress Layout (over wires?) flameout FRC Control System 18 23-01-2010 18:09
Cypress board bls0620 Electrical 4 17-01-2010 23:22
Cypress Board Configuration Geek 2.0 FRC Control System 12 17-01-2010 04:23
Cypress IO board connect SteveD FRC Control System 12 16-01-2010 16:46


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

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