Go to Post And, learn to collaborate, 'cause it works. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-07-2004, 03:22
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,483
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Using the edu--erm, Robovation for more info?

Alright, someone correct me if this has been proven to be incorrect or bunk or what have you.

The LED outputs on the OI are +5 volts.

The digital inputs on the Robovation (I'm forcing myself to say that) accept 0 to 5 volts.

So, all you people who know more than I do, would it be feasible to use the LED outputs as Robovation inputs, letting it do some more interesting things and display them? Worth the effort?
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #2   Spotlight this post!  
Unread 16-07-2004, 13:46
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Using the edu--erm, Robovation for more info?

Quote:
Originally Posted by Billfred
Alright, someone correct me if this has been proven to be incorrect or bunk or what have you.

The LED outputs on the OI are +5 volts.

The digital inputs on the Robovation (I'm forcing myself to say that) accept 0 to 5 volts.

So, all you people who know more than I do, would it be feasible to use the LED outputs as Robovation inputs, letting it do some more interesting things and display them? Worth the effort?
Yes, but a more robust solution would be to use the TTL or programming port on the mini controller to decode the dashboard output. Using the mini controller to decode the 8 LEDs won't buy you much because it would only give you 8 output lines to drive other LEDs. If you use the dashboard port you still have all 16, plus the PWM outputs which could drive a servo as an analog gauge.
  #3   Spotlight this post!  
Unread 16-07-2004, 17:25
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Using the edu--erm, Robovation for more info?

Maybe, but why? it will only give you 8 bits of data.

The dashboard would be much better. You take a DCE-DCE Null-modem cable (M-M) and connect them. Set the jumper to RC and read the user bytes/user command.

I can give you a better idea of how to do this in code, if you want.
  #4   Spotlight this post!  
Unread 17-07-2004, 19:34
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,483
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Using the edu--erm, Robovation for more info?

DCE to DCE? Eh???

And I see the problem with the LED outs...and reading the IFI documentation on the TTL port left me with even more questions than answers. Can anyone give some more information on this?
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #5   Spotlight this post!  
Unread 17-07-2004, 20:09
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Using the edu--erm, Robovation for more info?

DCE is short for Data Communication Equipment (a throw-back to the days when RS-232 was used for modems). Basically, anything with a female port is DCE. (Conversely, DTE is Data Terminal Equipment. It's anything with a male port). so a M-M null-modem cable would connect 2 DCEs. (it has a male port on each end).

(ps- I am not making this up. I am repeating terminology)

And skip the TTL port. You'd just have to make hardware for it.

Last edited by Astronouth7303 : 17-07-2004 at 20:11.
  #6   Spotlight this post!  
Unread 17-07-2004, 20:23
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,483
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Using the edu--erm, Robovation for more info?

Tis true--but is there a way to listen on the programming port for stuff like this? I thought it was pretty well stuck with programming stuff, hence the TTL port. But feel free to prove me wrong.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #7   Spotlight this post!  
Unread 18-07-2004, 19:52
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Using the edu--erm, Robovation for more info?

Its actually pretty easy to read data from the programming port. When new data is received the flag PIR1bits.RC1IF will go high. The byte that was received will be in RCREG1.
Code:
if (PIR1bits.RC1IF == 1)
{
	//grab the data
	data = RCREG1;
}
The easiest way to hook it up to the OI would be to get a null modem adapter or cable from a computer store. I'm partial to the adapter since its harder to get it confused with a regular cable.
  #8   Spotlight this post!  
Unread 18-07-2004, 20:22
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Using the edu--erm, Robovation for more info?

Quote:
Originally Posted by seanwitte
The easiest way to hook it up to the OI would be to get a null modem adapter or cable from a computer store. I'm partial to the adapter since its harder to get it confused with a regular cable.
It's impossible to get them confused. a regular cable is Male to Female (M-F, F-M). A null-modem is M-M or F-F.

They're fairly easy to make, too. Try BeyondLogic.org for plans/details.
  #9   Spotlight this post!  
Unread 18-07-2004, 21:50
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Using the edu--erm, Robovation for more info?

Quote:
Originally Posted by Astronouth7303
It's impossible to get them confused. a regular cable is Male to Female (M-F, F-M). A null-modem is M-M or F-F.

They're fairly easy to make, too. Try BeyondLogic.org for plans/details.
I guess when you're on your way out the door and you grab the wrong beige cable out of the drawer on your way you only do it once. The amount of money you would spend on wire, connectors, and hoods is less than a null-modem gender changer. http://www.radioshack.com/product.as...uct%5Fid=26-26
Closed Thread


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
Team 48 Tranny Info Travis Hoffman Chit-Chat 5 04-07-2004 17:38
**FIRST EMAIL**/FIRST Robovation Damian Manda FIRST E-Mail Blast Archive 1 30-04-2004 19:37
Blue Man Group FIRST get-together? Gui Cavalcanti Chit-Chat 11 16-09-2003 18:11
Chesapeake Regional - need info! Jferrante Regional Competitions 15 15-03-2003 21:03
Langley / VCU Regional team info gildorr Regional Competitions 5 22-02-2002 15:50


All times are GMT -5. The time now is 03:58.

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