Go to Post Who doesn't love a good Finger Lakes Regional?! - LeelandS [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 15-03-2013, 10:27
jhill0914 jhill0914 is offline
Registered User
AKA: Jeffrey Hill
FRC #2930 (Taterbotz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Snohomish, WA
Posts: 7
jhill0914 is an unknown quantity at this point
Question RS-232 Serial Port

I opened up the inspection checklist this morning and found the following entry:

Custom Circuits, Sensors and Additional Electronics - may not connect to the cRIO’s serial or Ethernet 2 ports (except in compliance with R69), ...

We have an embedded computer that feeds data to the cRio over the serial port, a setup we've used in the past without violating inspection rules. R69 only talks about the CAN bus, so according to the checklist we cannot connect to the RS-232 port. However, R72 lists the DB-9 RS-232 port as one of the valid connections for a custom circuit. I don't see anything else in the game manual that prohibits use of the serial port, and R72 seems to allow it, so is this just an error on the checklist?
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2013, 11:37
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,736
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: RS-232 Serial Port

The full text of the rules in question:
Quote:
R69

If CAN-bus communication is used, the CAN-bus must be connected to the cRIO through either the Ethernet network connected to Port 1, Port 2, or the DB-9 RS-232 port connection.

Ethernet-to-CAN bridges or RS-232-to-CAN bridges (including the “black” Jaguars) may be used to connect the CAN-bus to the cRIO.
Additional switches, sensor modules, custom circuits, third-party modules, etc. may also be placed on the CAN-bus.
No device that interferes with, alters, or blocks communications between the cRIO and the Jaguars will be permitted (tunneling packets for the purposes of passing them through an Ethernet-to-CAN bridge is acceptable as the commands are not altered).


R72

All outputs from sensors, custom circuits and additional electronics shall connect to only the following:

other custom circuits,
additional COTS electronics,
input ports on the Digital Sidecar,
input ports on the Analog Breakout Board,
the RS-232 port on the cRIO,
the Ethernet network connected to either Port 1 or Port 2 of the cRIO,
the CAN-bus if and only if all Jaguar motor controllers on the CAN-bus are wired in full compliance with R68 and R69, or
the sensor inputs on the Jaguar motor controller.
Remember, the only official source of clarification is the Q&A, so ask there! However, my personal interpretation of this rule is that connecting other items to the serial port on the cRio is permitted so long as it doesn't interfere with CAN communication with the Jaguars. If you aren't using CAN, I don't think there's nothing to worry about... if you are, expect to have to prove to the inspector how the communication and control pathways work (we don't want the embedded computer talking directly to the Jaguars).
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote
  #3   Spotlight this post!  
Unread 15-03-2013, 12:43
jhill0914 jhill0914 is offline
Registered User
AKA: Jeffrey Hill
FRC #2930 (Taterbotz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Snohomish, WA
Posts: 7
jhill0914 is an unknown quantity at this point
Re: RS-232 Serial Port

Thank you, Jon. That is how I interpreted the rules as well. My concern is that the way the inspection checklist reads it sounds like the only valid use for the serial port is for CAN bus communications per R69. While the rules seem to allow the basic connection to the serial port, I'm concerned that an inspector will look at that item on the checklist and reject our bot. We used the serial port last year to feed data in a similar way, and I think I recall having a similar issue with the checklist text. I went to the Q&A and registered, but under Team Questions it tells me my request is in a pending state and doesn't let me ask a question. If I can get authorization, I will ask on the Q&A.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-03-2013, 12:57
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: RS-232 Serial Port

Quote:
Originally Posted by jhill0914 View Post
I went to the Q&A and registered, but under Team Questions it tells me my request is in a pending state and doesn't let me ask a question. If I can get authorization, I will ask on the Q&A.
You won't be able to ask a question with your account (you can only follow questions). Your team's main contact needs to give you the account information for your team's account (available in TIMs).
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:38.

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