Go to Post Sustaining an FRC team is really hard! - Jared Russell [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 13-03-2011, 13:39
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
cypress I/O help

As a last minute addition requested by the team, I have been asked to expand the driver station to a two person drive system. I plan on the second person working the manipulator from switches connected to the cypress I/O module. I already have the code done. The code reads inputs 4-6 but I need to know how to connect some simple switches to the I/O module.

Speedy responses are appreciated, I have until Wednesday to make this work.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-03-2011, 14:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,731
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 I/O help

A toggle switch on the Cypress board connects between the Ground and the signal pin.
Here are the pins.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-03-2011, 16:49
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: cypress I/O help

Thanks for the speedy reply. Do you suggest soldering, or hacking a three pin cable apart?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-03-2011, 17:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,731
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 I/O help

Soldering works using a low-temp soldering iron.
We've also used a wire-wrap tool to connect the wires, and we've used pre-made specialized mounting boards from eStop Robotics.
For use year-after-year, the mounting board is easiest.

The PWM connectors aren't really suited for the Cypress pins.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-03-2011 at 17:18.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-03-2011, 17:24
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: cypress I/O help

how about a PWM cable and some hot melt glue
Reply With Quote
  #6   Spotlight this post!  
Unread 13-03-2011, 18:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,731
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 I/O help

You probably don't need the hot glue, but it couldn't hurt.
The PWM individual pin connectors will be snug, they are the right .1" size.

With PWM cables you'll need a separate one to connect the ground pin, and that one connection is all you need for all of the other signals you'll be using.
Your switches can combine all their grounds to that one wire.

Then a separate PWM cable can carry up to three of the signal pin connections that get wired to the other side of your switches.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 13-03-2011, 19:28
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: cypress I/O help

Alright, I have the switch board done. Is there anything else I should know about the cypress board? My team didn't take it out of the shrink-wrap last year, so I am the first to try and use it.
Reply With Quote
  #8   Spotlight this post!  
Unread 13-03-2011, 19:55
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,731
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 I/O help

See How to Configure your I/O Module to get the Cypress board setup correctly before you use it the first time.
FRC uses special custom firmware you have to downloaded if the Cypress is fresh out of the box. If you didn't use the Cypress last year, then it may not be updated with the correct firmware yet.

If you power the Cypress board with the USB cable, then you can push the tiny button on the Cypress board and get the 2nd red led to light if the firmware is correct.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-03-2011 at 19:58.
Reply With Quote
  #9   Spotlight this post!  
Unread 13-03-2011, 20:21
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: cypress I/O help

Quote:
Originally Posted by Mark McLeod View Post
If you power the Cypress board with the USB cable, then you can push the tiny button on the Cypress board and get the 2nd red led to light if the firmware is correct.
Be careful with that. The light thing doesn't work if the driver station program is running (at least in my usage).
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #10   Spotlight this post!  
Unread 13-03-2011, 20:57
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: cypress I/O help

Is it still possible to manually set the DIO in the tab of the driver station once the cypress board is plugged in? I'd like to have an override switch that puts the driver back instead of the operator.
Reply With Quote
  #11   Spotlight this post!  
Unread 13-03-2011, 21:12
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,731
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 I/O help

Quote:
Originally Posted by Radical Pi View Post
Be careful with that. The light thing doesn't work if the driver station program is running (at least in my usage).
If the Driver station app is running you'll get a green I/O indicator on the tab, and inside the Diagnostics tab as well, that shows your Cypress is working.

If you push the button then and hold it, I think the whole strip of LEDs will light up.

Quote:
Originally Posted by MAldridge View Post
Is it still possible to manually set the DIO in the tab of the driver station once the cypress board is plugged in? I'd like to have an override switch that puts the driver back instead of the operator.
If the Cypress is plugged in then the I/O tab will not work.
To override it and get the tab controls to work instead, you have to physically unplug the Cypress USB cable.

BTW: The tab controls only work in the default Compatibility mode. They do not work at all in Enhanced mode.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-03-2011 at 21:14.
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


All times are GMT -5. The time now is 05:24.

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