Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Us digital encoders dont work (http://www.chiefdelphi.com/forums/showthread.php?t=112180)

reuven 27-01-2013 13:21

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?!?!?!!?

pfreivald 27-01-2013 13:24

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.

reuven 27-01-2013 13:28

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

DonRotolo 27-01-2013 14:25

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.

reuven 27-01-2013 14:43

Re: Us digital encoders dont work
 
1 Attachment(s)
ive attached an image .
and yes, the wiers go to the right places in the DIO

Mr. Lim 27-01-2013 16:34

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.

Ether 27-01-2013 16:49

Re: Us digital encoders dont work
 
Quote:

Originally Posted by Mr. Lim (Post 1222860)
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.



reuven 27-01-2013 17:06

Re: Us digital encoders dont work
 
5 Attachment(s)
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 :(

Mr. Lim 27-01-2013 17:19

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...

reuven 27-01-2013 20:21

Re: Us digital encoders dont work
 
thanks :)
(i feel so stupid now, the PWM cable is assembeld wrong)

FACEPALM!

DonRotolo 27-01-2013 21:56

Re: Us digital encoders dont work
 
Hey, it happens to all of us. Just glad we could help.

Mr. Lim 27-01-2013 22:15

Re: Us digital encoders dont work
 
Yep! Seen it/done it all before!

Welcome to the club! :D

Al Skierkiewicz 28-01-2013 08:05

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

rudun 28-01-2013 10:12

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.


All times are GMT -5. The time now is 11:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi