Go to Post This year's rules != last year's rules. - GaryVoshol [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 20-01-2011, 17:21
pathogen4815's Avatar
pathogen4815 pathogen4815 is offline
There is no spoon
AKA: Tucker Baumgartner
FRC #1318 (Issaquah Robotics Society [IRS])
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2006
Location: Washington
Posts: 8
pathogen4815 is an unknown quantity at this point
Digital Side Car Ports Imput Problem

Allright, so we are programming our mechanum bot, and we have 4 sim motors and gearboxes, the digital sidecar and wires, the encoders, and Crio all hooked up. We are only getting encoder values on every other port on the digital side car (3,4 7,8 11,12) we replaced the wires, and the same thing happened. We cehcked the wires, and they are all working. We replaced the sidecar with a brand new one. We got the same pattern. So we replaced the Main Gray Cable that connects the sidecar to the module. Same thing..... We then replaced the actual modual. The same thing happened. We are stuck now. Anyone know what is wrong? We get a NAN reading on the ports that are not giving encoder values

Last edited by pathogen4815 : 20-01-2011 at 17:38.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2011, 18:09
zbanks zbanks is offline
Registered User
AKA: Zach Banks
FRC #0529 (Mansfield Hornets)
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2008
Location: MA
Posts: 37
zbanks is an unknown quantity at this point
Send a message via AIM to zbanks
Re: Digital Side Car Ports Imput Problem

How are you wiring them?

The red & brown cables are +5V/GND respectively, the blue/yellow are the only outputs. They're labeled A & B on the encoder housing.

(I'm guessing this is your situation since, if memory serves me correctly, red & brown are on the outside. Also, with 4 encoders, you should only need 8 inputs, not 16)

What language are you programming in? Are you using the built-in encoder class?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2011, 22:01
bls0620's Avatar
bls0620 bls0620 is offline
Registered User
FRC #0368 (Team Kika Mana)
Team Role: College Student
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Honolulu, HI
Posts: 29
bls0620 will become famous soon enoughbls0620 will become famous soon enough
Re: Digital Side Car Ports Imput Problem

So I'm assuming you programmed all the DIO ports for the encoders? If not, you might want to recheck your program.
__________________
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:13.

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