All the released versions of moteus have had an ABS port, and since r4.8 it has had an ENC port. To date, the only supported things for the ABS port was to attach a low rate I2C device as a disambiguator, and the only use for the ENC port was to connect an external primary encoder.
No more!
Now, the ports can be used for a host of encoders and other accessories, including:
- Quadrature / Index
- Sine / Cosine
- I2C - AS5048, AS5600
- SPI - AS5047, iC-PZ
- UART - AksIM-2
- GPIO
Additionally, you can flexibly set up which encoder(s) are used for commutation, output, and disambiguation, in addition to monitoring the values of everything over CAN. All of these features are available now in the 2022-06-28 release on github and work with every released moteus board (with the caveat that r4.5 and earlier have no ENC port).
Here's a big video showing a bunch of different possible configurations:
The details of how to set things up can be found in a series of blog posts:
- https://jpieper.com/2022/06/24/beginnings-of-more-flexible-encoder-and-i-o-support/
- https://jpieper.com/2022/06/27/flexible-i-o-auxiliary-port-configuration/
- https://jpieper.com/2022/06/28/flexible-i-o-source-configuration/
- https://jpieper.com/2022/06/29/flexible-i-o-sink-configuration/
And all the worked examples can be found at:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.