This module displays and outputs the count of incremental output encoder pulses. 2-phase (A, B) and 3-phase (A, B, Z) encoders are supported. Also, open collector output, voltage output, and line driver output encoders are supported. USB and Grove(I2C) are supported as communication interface. USB bus power, Grove (3.3V or 5V), and external input (5V or 3.3V) are supported as power supply. Both DIN rail mounting and screw mounting are supported.
Feature
Supports 2-phase (A, B) and 3-phase (A, B, Z) encoders
Supports encoders with open collector output, voltage output, and line driver output
Count values can be obtained via USB or Grove (I2C)
Compatible with both DIN rail mounting and screw mounting (* Adapter for mounting must be prepared separately)
Part Names
Included Items
Board × 1
* Encoders, various cables, and mounting adapters are not included.
When Z-phase is enabled: <Count Value>:<Count value at last detection of Z phase>:<After Z-phase detection: 1, Before Z-phase detection: 0>\n (ex.: 12345:7890:1\n)
When Z-phase is disabled: <Count Value>\n (ex.: 12345\n)
Command
Send the following single character (without line feed code) to execute.
c: Get count value. Sends a string in the above output format, disabled if USB Tx Mode is enabled.
r: Reset count. Set the count value to the initial value and Z-phase to the undetected state.
Specification
Supported encoders
Phase: 2-pahse (A, B) , 3-phase (A, B, Z)
Output signal type: 5V line driver output(AM26C31 equivalent), 5V voltage output, Open collector output
Power supply voltage: 5V (* when power is supplied from this product)
Maximum current consumption of encoder: Less than 250 mA (* when power is supplied from this product)
Counter
Number of input channels: 1
Maximum input frequency: 5 MHz (* depends on output method and wiring environment)