top of page

Forum Comments

Encoders start counting automatically when powering the motor
In Questions
Oliver Johansson
Sep 11, 2023
If it's only an issue when the motors are enabled it's almost definitely related to either noise or a ground loop. I had a look at the datasheet for the chip used in these encoders (MT6816) and they use push-pull outputs. They are however quite weak at only 2mA so with the fairly long wire runs in a noisy environment I could see them struggling to overpower noise, inductance, and capacitance. Especially with the relatively sensitive inputs on the teensy. Therefore one thing worth trying and even mentioned in the Teensy Encoder library is to add external pull-up resistors. If you have some resistors available I'd say it's definitely worth giving a try. I'd try adding pull-up resistors for both of the J6 encoder pins (24 and 25 on the teensy) first as it should, in theory, be the noisiest. If possible start at something like 100K then 10K and finally 1K. Of course, if one of the higher resistance values solves the issue there's no sense in going lower as it would just stress the onboard voltage regulator unnecessarily. Just to be clear add these on the teensy side, not by the encoders on the robot. Other than this I don't have many simple ideas left. A low pass filter with a capacitor might help but that starts becoming a lot of extra wiring if you don't want to spin up a custom board. I'd of course be happy to send you the files for the differential driver boards I made if you ever feel like sending in the cavalry but they take a bit off setup too. (Not at all difficult mind you, just time consuming)
0
J4 driver flashes
In Questions
Oliver Johansson
Sep 10, 2023
Does it blink with one of these patterns?
Content media
0
0
Does the 24V power supply have any headroom for a few solenoids?
In Questions
Oliver Johansson
Nov 08, 2022
Thank you!
0

Oliver Johansson

More actions
bottom of page