Shop OBEX P1 Docs P2 Docs Learn Events
ActivityBot Problem - Bad Encoder? — Parallax Forums

ActivityBot Problem - Bad Encoder?

Bought this a while ago and spent yesterday working on it with my kiddos. Assembly went smoothly but we were getting odd behaviors while playing with it. Ran the calibration (twice, actually) and got this output from the View Calibration program. Looks to me like we have a left encoder that's dead but wanted to check to confirm. Thoughts?
=== LEFT SERVO ===

Table Entries = 67
Zero Speed Index = 1

Index   Servo Drive     Encoder Ticks/Second
-----   -----------     --------------------
0       0               1000
1       0               0
2       0               0
3       0               0
4       0               0
5       0               0
6       0               0
7       0               0
8       0               0
9       0               0
10      0               0
11      0               0
12      -1              0
13      -1              0
14      0               0
15      0               0
16      0               0
17      0               0
18      0               0
19      0               0
20      0               0
21      0               0
22      0               0
23      0               0
24      0               0
25      0               0
26      0               0
27      0               0
28      0               0
29      0               0
30      150             0
31      0               0
32      4               0
33      0               0
34      0               0
35      0               0
36      0               0
37      0               0
38      0               0
39      0               0
40      0               0
41      0               0
42      0               0
43      0               0
44      0               0
45      0               0
46      0               0
47      0               0
48      0               0
49      0               0
50      0               0
51      0               0
52      0               0
53      0               0
54      0               0
55      0               0
56      0               0
57      0               0
58      0               0
59      0               0
60      0               0
61      0               0
62      0               0
63      0               0
64      0               0
65      0               0
66      0               1000


=== RIGHT SERVO ===

Table Entries = 199
Zero Speed Index = 49

Index   Servo Drive     Encoder Ticks/Second
-----   -----------     --------------------
0       -195            1000
1       -193            59
2       -191            61
3       -189            63
4       -187            65
5       -185            67
6       -183            -65467
7       -181            -1
8       -179            16777215
9       -177            75
10      -175            77
11      -173            79
12      -171            81
13      -169            83
14      -167            85
15      -165            87
16      -163            89
17      -161            91
18      -159            93
19      -157            95
20      -155            97
21      -153            99
22      -151            101
23      -149            103
24      -147            105
25      -145            107
26      -143            109
27      -141            111
28      -139            113
29      -137            115
30      -135            117
31      -133            119
32      -131            121
33      -129            123
34      -127            125
35      -125            127
36      -123            129
37      -121            131
38      -119            133
39      -117            135
40      -115            137
41      -113            139
42      -111            141
43      -109            143
44      -107            145
45      -105            147
46      -103            149
47      -101            151
48      -99             153
49      5               155
50      109             157
51      111             159
52      113             161
53      115             163
54      117             165
55      119             167
56      121             169
57      123             171
58      125             173
59      127             175
60      129             177
61      131             179
62      133             181
63      135             183
64      137             185
65      139             187
66      141             189
67      143             191
68      145             193
69      147             195
70      149             197
71      151             199
72      153             99
73      155             0
74      157             0
75      159             0
76      161             0
77      163             0
78      165             0
79      167             0
80      169             0
81      171             0
82      173             0
83      175             0
84      177             0
85      179             0
86      181             0
87      183             0
88      185             0
89      187             0
90      189             0
91      191             0
92      193             0
93      195             0
94      197             0
95      199             0
96      99              0
97      -1              0
98      1               0
99      3               0
100     5               0
101     7               0
102     9               0
103     11              0
104     13              0
105     15              0
106     17              0
107     19              0
108     21              0
109     23              0
110     25              0
111     27              0
112     29              0
113     31              0
114     33              0
115     35              0
116     37              0
117     39              0
118     41              0
119     43              0
120     0               0
121     0               0
122     0               0
123     199             0
124     0               0
125     67              0
126     1000            0
127     59              0
128     61              0
129     63              0
130     65              0
131     67              0
132     -65467          -1
133     -1              -1
134     16777215                0
135     75              0
136     77              0
137     79              0
138     81              0
139     83              0
140     85              0
141     87              0
142     89              0
143     91              0
144     93              0
145     95              0
146     97              0
147     99              0
148     101             0
149     103             0
150     105             150
151     107             0
152     109             4
153     111             0
154     113             0
155     115             0
156     117             0
157     119             0
158     121             0
159     123             0
160     125             0
161     127             0
162     129             0
163     131             0
164     133             0
165     135             0
166     137             0
167     139             0
168     141             0
169     143             0
170     145             0
171     147             0
172     149             0
173     151             0
174     153             0
175     155             0
176     157             0
177     159             0
178     161             0
179     163             0
180     165             0
181     167             0
182     169             0
183     171             0
184     173             0
185     175             0
186     177             0
187     179             0
188     181             0
189     183             0
190     185             0
191     187             0
192     189             0
193     191             0
194     193             0
195     195             0
196     197             0
197     199             0
198     99              1000

Comments

  • Courtney JacobsCourtney Jacobs Posts: 903
    edited 2016-01-25 15:54
    Hi MikahB,

    It is possible that you may have some cables swapped. You can see numbers like that if you accidentally mix up a servo and encoder cable.

    Check to make sure that Servo Left is connected to P12, Servo Right is connected to P13, Encoder Left is connected to P14, Encoder Right is connected to P15. Check the Electrical Connections page if you need a visual wiring diagram.

    Also, double-check that the encoders are firmly plugged into the cables; sometimes they require a bit of gentle force to seat together properly. If this doesn't solve your problem, please give technical support a call or email (support@parallax.com, 888-997-8267) and they can help determine whether you'll need a new encoder for your robot.
Sign In or Register to comment.