Go to Post This is ChiefDelphi. There are threads on everything! - LauraN [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 08-02-2011, 00:18
Blazanax's Avatar
Blazanax Blazanax is offline
Registered User
FRC #2443
 
Join Date: Dec 2010
Location: Maui
Posts: 12
Blazanax is an unknown quantity at this point
Optical Encoders Help!!!!!!!!!!!!!

How many optical encoders are we allowed to use on the robot this year?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2011, 08:23
Chexposito's Avatar
Chexposito Chexposito is offline
Registered User
AKA: Expo
FRC #1730
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Missouri
Posts: 272
Chexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of light
Re: Optical Encoders Help!!!!!!!!!!!!!

Well, it depends, i believe it is limitless. The only snag you may have is the number of C-Rio Cards you have and sidecars you have. Other than that i believe those are the only limits... we have left over digital inputs on our sidecar and on the C-Rio itself... We're using 4 encoders, the linetrackers, an optical sensor, and the compressor... how many do you plan to use?
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2011, 22:03
Blazanax's Avatar
Blazanax Blazanax is offline
Registered User
FRC #2443
 
Join Date: Dec 2010
Location: Maui
Posts: 12
Blazanax is an unknown quantity at this point
Re: Optical Encoders Help!!!!!!!!!!!!!

Do you mean how many encoders are we using or compressors?

Last edited by Blazanax : 08-02-2011 at 22:08.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2011, 23:05
Chexposito's Avatar
Chexposito Chexposito is offline
Registered User
AKA: Expo
FRC #1730
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Missouri
Posts: 272
Chexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of light
Re: Optical Encoders Help!!!!!!!!!!!!!

how many encoders you want to use
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2011, 23:16
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Optical Encoders Help!!!!!!!!!!!!!

You are actually limited to 12 in hardware. Why? The FPGA can only handle 8 Counters and 4 Encoders. the Encoder library uses Encoders for 4x decoding (meaning you can use up to (4) 4x-decoded encoders) and Counters for 1x or 2x decoding (meaning you can have up to (8) 1x or 2x-decoded encoders). 4+8=12, so 12 encoders max.

This assumes that each encoder is either quadrature or otherwise uses the FPGA Counters (such as a gear tooth sensor).

If you need more than 12, your best bet would probably be to use a co-processor to handle the inputs and either feed them to the cRio via SPI, I2C, Serial, or DACs.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2011, 00:59
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,580
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: Optical Encoders Help!!!!!!!!!!!!!

Quote:
Originally Posted by apalrd View Post
You are actually limited to 12 in hardware. Why? The FPGA can only handle 8 Counters and 4 Encoders. the Encoder library uses Encoders for 4x decoding (meaning you can use up to (4) 4x-decoded encoders) and Counters for 1x or 2x decoding (meaning you can have up to (8) 1x or 2x-decoded encoders). 4+8=12, so 12 encoders max.

This assumes that each encoder is either quadrature or otherwise uses the FPGA Counters (such as a gear tooth sensor).

If you need more than 12, your best bet would probably be to use a co-processor to handle the inputs and either feed them to the cRio via SPI, I2C, Serial, or DACs.
You're limited to 41 jaguars by cost, but each jaguar can read a single encoder using CAN.
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 08:33.

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