When I test encoders by powering the motors off, encoders work fine. But, when I power the motors on, at the test, J4, J5 and J6 start counting by itself automatically. (See video.)
Why? 🤔
Aditionally, when I test jogging j4, j5 and J6 motors with encoders, I get "Collision or Motor Error". (No problem without encoders)
What problems might be cause this?
Note: I use AR4 Robot Complete Electric Package and Teensy 4.1 AR4 HMI interface 3.0 and 3.0 sketch
Small caps helped me as well!
As per @Ray Carberry 's suggestion, adding ceramic caps on all the encoder wires to ground solved the issue for me. I had 12x 0.1uF ceramic caps spare, and they worked well.
I encountered the exact same with my J1 -> J3. Simply place a ceramic cap (4.7nF worked fine) across one encoder channels on each axis to ground. You essentially create a low pass filter to ground. The Encoder trace on the scope is a LOT cleaner and the encoder drift stopped. Not a single false pulse on the Encoder Test program. Ideally you would want to put a cap across each of the two channels but I didn't see the point since my problem was solved. I opened the encoder housing on J2 and there's heaps of space to solder a small capacitor in there, I might end up doing that to tidy up the controls.
Hello. I have exactly the same problem, and only with the encoders of J4, J5, and J6. All cables are shielded, and I have rewired everything three times to be sure, but the issue still persists. Has anyone found a solution?
I'm also having problems with the encoders. Although I used an earthed screen for all the encoders the signals are very noisy (at similar voltage levels to the ones you have recorded) and joint 5 only has an output on one of the two encoder outputs from it. I took the encoder off and had continuity between both of the encoder outputs and the corresponding teensy pins. Maybe this is a faulty encoder? By disabling the encoders I don't get collision warnings. I don't know whether to pursue this issue or just live with encoders disabled. I'm not sure that the encoders provide much value?
I changed and relace 3 ethernet cables and checked them with the resistance of the multimeter. This a continuity test. Result is OK: 0 resistance. But I am still getting "Collision or Motor Error" from J5 encoder.
Voltage on the left and center terminals of the distribution block was, which I measured, 4.44v. (Not 5V)
Voltage on the right and center terminals of the distribution block was 3.16v. (Not 3.30v)
I feeded those wires by an external adapter and made them became their voltage 5v and 3.30v and tested again. Encoder works fine after some moves, but then, I get Collision or Motor Error again. After that error, it works when I try to move same joint and the error message goes.
Still confused... 🤔
The second problem can be solved by check all the boxes to disable all the encoders on the config settings, after that the robot arm should move just find without throwing errors
I measured 3.30v on the teensy board,, but there is 4.41v on the brown cable, which goes to the motors, in the enclosure box. May it be cause this? Shouldn't it be also 3.30v ? 🤔