Go to Post Its not really a robotics competition. The robots are merely vehicles used to make society a better place, and to inspire the youth of the world to help one another, and to become more united. - Amanda M [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2013, 13:21
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Us digital encoders dont work

hello all!
my team and me are traing to use the US digital encoders, and nothing works
we are using the ENCODER WITH MOTER exemple as our program.
they are wierd correctly ,ive cheeked that more then once, no fulty cabels or short circut's
we tryed 4 diffrent encoders and nothing works!
iv'e tryed to see them on an occiloscope (signal and gnd cabels)
and all i get is a flat line (from 4 diffrent encoders)
what am i doing wrong?!?!?!!?
__________________
בנגב יבחן העם בישראל" דוד בן גוריון"
"In the Negev the people of israel would be tested"-David Ben Gurion

Last edited by reuven : 27-01-2013 at 14:50. Reason: more typos
  #2   Spotlight this post!  
Unread 27-01-2013, 13:24
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,304
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Us digital encoders dont work

Can you take pictures of your wiring and post your code here? That will help people try to diagnose your problems.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #3   Spotlight this post!  
Unread 27-01-2013, 13:28
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Re: Us digital encoders dont work

i'm using the standart motor with encoder exemple.vi (the only change i made is to the IP of the cRIO)
the wiering is
orange- 5V
blue- chanle A
black- GND
yellow - chanle B
__________________
בנגב יבחן העם בישראל" דוד בן גוריון"
"In the Negev the people of israel would be tested"-David Ben Gurion
  #4   Spotlight this post!  
Unread 27-01-2013, 14:25
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Us digital encoders dont work

Inside the encoders are small "wheels" with a pattern of very fine lines etched into them. The positioning of these wheels is important to having the encoders work.

Photographs will help us help you.

Please remove the circular black cover off the back of the encoder body and take a photograph showing the sensor body, sensor wheel, and shaft you are trying to measure.

---
The wiring you have above sounds right, but to what are they leading? I hope to a digital input on the digital sidecar - orange to a 5 V pin, GND to a GND pin, and blue to one SIGnal input and Brown to a different signal input.

BUT, with +5 V and gnd, you should be seeing a scope pattern on both channels A and B, so I am suspecting your mechanical arrangement may be in need of adjustment.
__________________

I am N2IRZ - What's your callsign?
  #5   Spotlight this post!  
Unread 27-01-2013, 14:43
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Re: Us digital encoders dont work

ive attached an image .
and yes, the wiers go to the right places in the DIO
Attached Thumbnails
Click image for larger version

Name:	photo.JPG
Views:	189
Size:	96.0 KB
ID:	13683  
__________________
בנגב יבחן העם בישראל" דוד בן גוריון"
"In the Negev the people of israel would be tested"-David Ben Gurion
  #6   Spotlight this post!  
Unread 27-01-2013, 16:34
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Us digital encoders dont work

Can you include a picture of it wired? And a picture of the wires at the Digital Side Car?

If it is wired properly, you should see a small but visible red light on the encoder PCB. The red light should point at the black lines on the disc.

If you don't see a red light, then your +5V or GND are wired wrong, or worse, you may have ripped the solder pads off the PCB by plugging/unplugging the connector too harshly.

The connectors on these encoders are my nemesis. I am usually very careful when it comes to plugging and unplugging connectors in general. But for some reason I've trashed at least a half-dozen of these encoders by simply trying to unplug them.

If you DO see the red light, then check the spacing between the disc and the red light. The encoders come with a spacing tool, which just looks like a black washer with a groove along the side. USE THIS TOOL. You put the disc on black washer and push both on to the shaft together. The black washer will hit the two plastic tabs on the encoder base, and that's when you've hit the optimal distance. Remove the black washer, leave the optical disc on the shaft at the perfect distance.

Pinch the teeth on both sides of the disc to tighten the grip on the shaft before installing.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #7   Spotlight this post!  
Unread 27-01-2013, 16:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Us digital encoders dont work

Quote:
Originally Posted by Mr. Lim View Post
Can you include a picture of it wired? And a picture of the wires at the Digital Side Car?
If you take a picture, check to see if your camera has a "macro" setting. Most do.


  #8   Spotlight this post!  
Unread 27-01-2013, 17:06
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Re: Us digital encoders dont work

I'm attaching pictures of all of the wireing.
i do have red light after pluging the encoder and runing it . other then the fact that i dont get anything in the VI, i'm pretty sure ive done anything right
it's my 4th encoders to have this problem today
Attached Thumbnails
Click image for larger version

Name:	20130127_235559.jpg
Views:	107
Size:	622.1 KB
ID:	13687  Click image for larger version

Name:	20130127_235626.jpg
Views:	91
Size:	684.7 KB
ID:	13688  Click image for larger version

Name:	20130127_235558.jpg
Views:	75
Size:	610.4 KB
ID:	13689  Click image for larger version

Name:	20130127_235553.jpg
Views:	93
Size:	674.8 KB
ID:	13690  Click image for larger version

Name:	20130127_235549.jpg
Views:	117
Size:	1.46 MB
ID:	13691  

__________________
בנגב יבחן העם בישראל" דוד בן גוריון"
"In the Negev the people of israel would be tested"-David Ben Gurion
  #9   Spotlight this post!  
Unread 27-01-2013, 17:19
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Us digital encoders dont work

Your connector at the Digital Sidecar has the red and black wires mixed up I believe.

Red (+5V) should be in the middle position, not ground.

I don't know how you got the red light with it wired up this way...
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #10   Spotlight this post!  
Unread 27-01-2013, 20:21
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Re: Us digital encoders dont work

thanks
(i feel so stupid now, the PWM cable is assembeld wrong)

FACEPALM!
__________________
בנגב יבחן העם בישראל" דוד בן גוריון"
"In the Negev the people of israel would be tested"-David Ben Gurion
  #11   Spotlight this post!  
Unread 27-01-2013, 21:56
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Us digital encoders dont work

Hey, it happens to all of us. Just glad we could help.
__________________

I am N2IRZ - What's your callsign?
  #12   Spotlight this post!  
Unread 27-01-2013, 22:15
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Us digital encoders dont work

Yep! Seen it/done it all before!

Welcome to the club!
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #13   Spotlight this post!  
Unread 28-01-2013, 08:05
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Us digital encoders dont work

Also,
Be sure that the connector is mounted over the depression in the plastic base. We have had failures when the board was tightened down and the tabs on the back side of the board forced a fracture in the board.
Al
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #14   Spotlight this post!  
Unread 28-01-2013, 10:12
rudun's Avatar
rudun rudun is offline
Registered User
FRC #0496 (Royals)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Babylon
Posts: 47
rudun is an unknown quantity at this point
Re: Us digital encoders dont work

FYI, It is also important to keep the encoders away from an active welder, even storage wise. They will not work right after that exposure. That lesson was learned the hard way.
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


All times are GMT -5. The time now is 20:17.

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