|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Encoders getting different rates
Exactly. In my code right now I just have the distance per count set at 1 for both and they are both at 1X. I'm just going to lay out 10ft, push the robot, get the readouts for both, divide 10ft * 12 inches by the count for each side. Then I will have the distance per count for both. If that goes the way I think, both encoders will be in sync with each other afterwards. What do you think?
|
|
#17
|
||||
|
||||
|
Re: Encoders getting different rates
it sounds perfect. and this test will kill 2 birds with one stone; you will be able to find the counts per foot at the same time
|
|
#18
|
|||
|
|||
|
Re: Encoders getting different rates
Great! Thanks for the help. See you guys next month at Hofstra
|
|
#19
|
||||
|
||||
|
Re: Encoders getting different rates
what school are you from?
|
|
#20
|
|||||
|
|||||
|
Re: Encoders getting different rates
Quote:
Find out what the full part numbers are and you'll probably see why one of them is reporting much smaller values. |
|
#21
|
|||
|
|||
|
Re: Encoders getting different rates
|
|
#22
|
||||
|
||||
|
Re: Encoders getting different rates
ummm....where is that?
|
|
#23
|
|||
|
|||
|
Re: Encoders getting different rates
Quote:
|
|
#24
|
|||
|
|||
|
Re: Encoders getting different rates
|
|
#25
|
||||
|
||||
|
Re: Encoders getting different rates
ok. i'm guessing you know where connetquot is, so see you there
|
|
#26
|
|||
|
|||
|
Re: Encoders getting different rates
We had the same problem with ours. One side was giving reliable readings everytime, the other would give us some random garbage. We figured it out by manually rotating the axis the encoder was on by 1 revolution, and looking at the output, several times. They were very consistent, compared to the other side that would give us garbage. We looked at our wiring and found that the plastic clip the wires plug into was cracked and one of the signal wires was pretty much not connected. Pull it out and just check on it. After we replaced it, its been working fine.
If you rotate them one revolution and both sides are giving similar readings every time, then you can go ahead and scale them. For example if side A was giving you 140 and B was 360, you know that 140X=360. 360/140=~2.6. So you multiply the one side by ~2.6 to get them equal. Last edited by Brandon_L : 20-02-2012 at 17:48. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|