Go to Post Our job is to play the game that the GDC gave us, not the one we think they should have given us. - Herodotus [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 38 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #17   Spotlight this post!  
Unread 24-03-2015, 06:50
Hoover's Avatar
Hoover Hoover is offline
Registered User
no team (None)
 
Join Date: Mar 2013
Rookie Year: 2013
Location: New Jersey
Posts: 116
Hoover is a name known to allHoover is a name known to allHoover is a name known to allHoover is a name known to allHoover is a name known to allHoover is a name known to all
Re: [Help] Problems with Encoders and PID Control

Hi ozrien,

We use Vex shaft encoders.

http://www.vexrobotics.com/276-2156.html

To test the encoder, we fired up our test robot (uses a cRio) and got valid values from it when turning it by hand. I wasn't surprised by this because if we try 3 encoders and none of them work there is very little chance they are all bad.

Next, today's session, I will try it again on our current robot. If it works then the encoder is intermittent possibly due to wiring issues (see below).

If it doesn't, we will write a test program for it that tests only the encoder. The best case scenario is that it is our software bug because that will be the easiest to find and fix.

If none of this works on the roboRio, how do we test if we are getting output to the digital pins? Can that be done with a volt meter? If we don't see any with our simple program then what? That would seem a fairly serious problem with the hardware. If the roboRio is compromised, we don't have another.

Secondly, we use these adapter cable for the encoder. I hate doing it this way and I really wish the encoder came with female ends. This gives multiple points of failure. If these are intermittent they could even be our problem. The alternative is to cut and solder microwires and we've always avoided this. We went all last year with this setup with no problem but it is still worrisome.

http://www.vexrobotics.com/vex/produ.../276-2395.html

In any case I will report back what we find.
 


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 00: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