Go to Post Theory (n.) - A mythical place where all robot designs work. - MechEng83 [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-05-2016, 17:11
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Optical Encoder Problems

Quote:
Originally Posted by Hitchhiker 42 View Post
Hi y'all,
It's way past build season, but our team's still working on our robot. A couple days ago, both of our optical encoders on our drivetrain have stopped working. We have already checked our wiring, and tried switching out the encoders for new ones, yet the problem persists.

Is there any way to fix this? Thanks!
Assuming quadrature encoders:

Do you have an oscilloscope?
Power up the encoders and look at the A/B channels and see if they produce square wave forms as the encoder shaft rotates.
If not, there's a problem.

If you don't have an oscilloscope, maybe a DMM with a frequency function?
It's a little less friendly but you could test 1 channel at a time like that.
You'd have to rotate the encoder shaft over and over to make this work and at a consistent velocity.

If you are handy with TTL/CMOS you could make a little board with a counter on it, hook it up to each channel with an LED on the highest order bit...that bit should blink.
Again this requires rotating the encoder shaft over and over at a fairly consistent velocity.

Do you have an encoder you know works?
Put that on one of the encoder inputs...be very careful not to mess up how you power that encoder...and see if you can see that input in your robot.
If that works and yet your other encoders do not...pretty good chance those not working encoders are shot.

Last edited by techhelpbb : 19-05-2016 at 18:16.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-05-2016, 17:15
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Optical Encoder Problems

Since both stopped working, it might indicate that the power being source for them has gone bad.

Assuming they are powered off the roborio, is the 5v and ground rail shorted?
Reply With Quote
  #3   Spotlight this post!  
Unread 27-05-2016, 19:14
bobbysq bobbysq is online now
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 295
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: Optical Encoder Problems

The discs may be scratched or out of place if they won't read properly.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-05-2016, 22:10
tr6scott's Avatar
tr6scott tr6scott is online now
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Optical Encoder Problems

Quote:
Originally Posted by AdamHeard View Post
Since both stopped working, it might indicate that the power being source for them has gone bad.

Assuming they are powered off the roborio, is the 5v and ground rail shorted?
+2 This, look for shrapnel in the roborio.
Rail status is also reported on the driver station.

(Be thankful you are not playing in the semi finals for MSC right now, like when it happened to us... then be thankfull that the drive coach chews gum, and the lead electrical person has much sharper eyes than me, and you get to play in the finals.)
__________________
The sooner we get behind schedule, the more time we have to catch up.

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 10:32.

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