Encoders

Is it possible to access the actual encoder counts while the motors are moving?
When the motors are not moving is it possible to set and clear the exising
encoder counts?

piborg's picture

Unfortunately it is not possible to read the encoder counts from the PicoBorg Reverse.

When using the encoder movement commands EncoderMoveMotor* the count(s) are set to the value requested.
During the move they are decreased as encoder ticks are seen.
Each motor is stopped when its tick count reaches zero in this mode.

If you have the ability to program a PIC you could probably add a couple of commands for reading and writing the encoder counts to the board.
The PIC source can be found at the bottom of the specifications page:
https://www.piborg.org/picoborgrev/specs

Subscribe to Comments for "Encoders"