Products for USB Sensing and Control
Products for USB Sensing and Control


Unit 1 - 6115 4 St SE
Calgary AB  T2H 2H9
+1 403 282-7335

Optical Rotary Encoder HKT22

ID: 3531_0
Recommended for new designs: Phidgets Inc. is not the original manufacturer for this product, but we intend to sell it (or a similar replacement with a compatible form, fit and function) for as long as it is available from the supplier.

This encoder fits on the rear shaft of our stepper motors. Measure the rotation of your motor even when it missteps.


Quantity Available: 1000+

Qty Price
5 $24.00
10 $23.00
25 $22.50
50 $22.00
100 $21.50

This compact, economical optical quadrature encoder can be attached to the 4mm rear shaft of a motor. It has 300 counts (full quadrature cycles) per rotation and can be installed by fitting it over the shaft, mounting it to the back of the motor, and tightening the set-screw. For complete assembly instructions, take a look at the user guide. This encoder does not support the use of an index channel.


The mounting holes on the HKT22 encoder line up with the holes on the back of any rear-shaft stepper motor sold at Phidgets Inc. For a list of compatible motors and encoder interfaces, see the Connection & Compatibility tab.

How to Install

See the User Guide tab for a step-by step installation guide for this encoder.


This encoder connects to a quadrature encoder interface. The encoder cable provided with this encoder is compatible with all Phidgets encoder interfaces. See the Connection & Compatibility tab for details.

Comes Packaged With


Encoder Interfaces

This quadrature encoder must be read by an encoder interface. These interfaces will interpret the two quadrature signals in order to determine the continuous position of the rotating part. The following interfaces are compatible with this encoder:

Product Encoder Interface
Part Number Price Number of Encoder Inputs Count Rate Max
PhidgetEncoder HighSpeed 4-Input
$75.00 4 1E+06 pulses/s
PhidgetEncoder HighSpeed 4-Input
$75.00 4 1E+06 pulses/s
PhidgetEncoder HighSpeed
$50.00 1 2E+06 pulses/s
PhidgetEncoder HighSpeed
$50.00 1 1E+06 pulses/s
PhidgetMotorControl 1-Motor
$75.00 1 500000 cycles/s
DC Motor Phidget
$75.00 1 400000 pulses/s
4A DC Motor Phidget
$40.00 1 400000 pulses/s
Quadrature Encoder Phidget
$15.00 1 400000 pulses/s


Here is a complete list of all motors sold at Phidgets that have mounting holes on the rear shaft that are compatible with the HKT22 encoder:

Product Motor Properties Gearbox Properties
Part Number Price Rated Torque Motor Type Gear Ratio
12V/17.3Kg-cm/18RPM 139:1 DC Gear Motor
$43.00 17.3 kg·cm DC Motor
24V/5.1Kg-cm/588RPM 4.25:1 DC Gear Motor
$69.00 4.4 kg·cm DC Motor
24V/14.2Kg-cm/192RPM 13:1 DC Gear Motor
$66.00 13.3 kg·cm DC Motor
24V/50.9Kg-cm/53RPM 47:1 DC Gear Motor
$72.00 43.8 kg·cm DC Motor
24V/82.6Kg-cm/33RPM 76:1 DC Gear Motor
$72.00 71.4 kg·cm DC Motor
24V/173.3Kg-cm/15RPM 168:1 DC Gear Motor
$76.00 136.6 kg·cm DC Motor
28STH32 NEMA-11 Bipolar Gearless Stepper Motor
$16.00 520 g·cm Bipolar Stepper
28STH32 NEMA-11 Bipolar Stepper with 27:1 Gearbox
$36.00 14 kg·cm Bipolar Stepper 26 103121 : 1
28STH32 NEMA-11 Bipolar Stepper with 100:1 Gearbox
$38.00 32 kg·cm Bipolar Stepper 99 10442057 : 1
35STH40 NEMA 14 Bipolar Gearless Stepper
$16.00 1.2 kg·cm Bipolar Stepper
42STH38-1684B - 1.8 Degree - 1.68A Stepper - Gearless
$16.00 3.3 kg·cm Bipolar Stepper
42STH38-1684B - 1.8 Degree - 1.68A Stepper - 5.18:1 Gearbox
$40.00 18 kg·cm Bipolar Stepper 5 211 : 1
42STH38-1684B - 1.8 Degree - 1.68A Stepper - 14:1 Gearbox
$42.00 30 kg·cm Bipolar Stepper 13 212289 : 1
42STH38-1684B - 1.8 Degree - 1.68A Stepper - 27:1 Gearbox
$44.00 30 kg·cm Bipolar Stepper 26 103121 : 1
42STH38-1684B - 1.8 Degree - 1.68A Stepper - 51:1 Gearbox
$46.00 48 kg·cm Bipolar Stepper 50 43974913 : 1
42STH38-1684B - 1.8 Degree - 1.68A Stepper - 100:1 Gearbox
$48.00 48 kg·cm Bipolar Stepper 99 10442057 : 1
57STH56-2804MB - 0.9 Degree - 2.8A Stepper - Gearless
$28.00 11.2 kg·cm Bipolar Stepper
57STH56-2804B - 1.8 Degree - 2.8A Stepper - Gearless
$20.00 11 kg·cm Bipolar Stepper
57STH56-2804B - 1.8 Degree - 2.8A Stepper - 4.25:1 Gearbox
$70.00 46.6 kg·cm Bipolar Stepper 4 14 : 1
57STH56-2804B - 1.8 Degree - 2.8A Stepper - 15:1 Gearbox
$72.00 150 kg·cm Bipolar Stepper 15 310 : 1
57STH56-2804B - 1.8 Degree - 2.8A Stepper - 77:1 Gearbox
$74.00 240 kg·cm Bipolar Stepper 76 4964 : 1
86STH65 NEMA-34 Bipolar Gearless Stepper
$60.00 30 kg·cm Bipolar Stepper
24V/2.5Kg-cm/3280RPM DC Motor
$40.00 4 kg·cm DC Motor
24V/10Kg-cm/772RPM/4.25:1 DC Gear Motor
$80.00 12.2 kg·cm DC Motor
24V/45Kg-cm/182RPM/18:1 DC Gear Motor
$82.00 47 kg·cm DC Motor
24V/162Kg-cm/50RPM/65:1 DC Gear Motor
$84.00 153 kg·cm DC Motor
24V/4.3Kg-cm/3000RPM DC Motor
$50.00 8.7 kg·cm DC Motor
24V/6Kg-cm/3200RPM DC Motor
$60.00 11.4 kg·cm DC Motor

Encoder Cables

If you need a replacement encoder cable, you can find one below:

Product Physical Properties
Part Number Price Cable Length
Cable for HKT22 Encoder
$3.00 500 mm

Go to this device's product page

Getting Started

Checking the Contents

You should have received:

  • Plastic encoder cap and base
  • Encoder disk
  • Encoder PCB
  • Two screws
  • 0.9mm hex key for disk set-screw
  • 3035 - Cable for HKT22 Encoder

In order to test your new Phidget you will also need:

  • A motor with a rear shaft and compatible mounting holes
  • A motor controller Phidget
  • A Phidget with an encoder input

Connecting the Pieces

Take the plastic base, the encoder PCB, and the two screws (the screws should be inside the encoder cap). Place the PCB with the white connector facing downward so that it fits into the space on the plastic base. Take care not to touch the optical sensor on top of the PCB, because your fingerprints could affect the operation of the sensor. Place the screws in the two holes in the PCB.

3531 0 Connection1.jpg

Line the parts up with the mounting holes on the back of the motor. It doesn't matter which way the encoder is facing, but for cable management purposes you may want to have the connector facing the same direction as the motor's wires. Screw the parts onto the back of the motor, tightening until there is no visible gap between the PCB and the plastic base. Do not over-tighten.

3531 0 Connection2.jpg

Get the encoder disk and hex key. Do not touch the surface of the encoder disk, as your fingerprints could affect the operation of the optical sensor. Place the encoder disk on the rear shaft of the motor with the metal coupler facing outward. Slide the encoder disk until the surface of the disk is approximately 1.5mm from the optical sensor on the PCB. Use the hex key to tighten the set-screw on the coupler of the encoder disk.

3531 0 Connection3.jpg

Double check everything before attaching the plastic cap; it is very difficult to remove once it snaps in place.

3531 0 Connection4.jpg

Attach the included encoder cable and you're all done! For further instructions, visit the user guide for the motor controller and encoder interface Phidget that you're using.

3531 0 Connection5.jpg

Product Specifications

Encoder Properties
Controlled By Encoder Interface
Output Circuit Type Push-Pull (Single-Ended)
Encoder Speed Max 6000 RPM
Encoder Resolution 300 CPR
Electrical Properties
Supply Voltage Min 5 V DC
Supply Voltage Max 5 V DC
Output Frequency Max 30 kHz
Physical Properties
Inner Diameter 4 mm
Operating Humidity Min 30 %RH
Operating Humidity Max (Non-condensing) 85 %RH
Operating Temperature Min -10 °C
Operating Temperature Max 85 °C
IP Rating IP40
Weight 4 g
Customs Information
Canadian HS Export Code 9029.10.00
American HTS Import Code 9029.10.80.00
Country of Origin CN (China)


Have a look at our quadrature encoders:

Product Encoder Properties
Part Number Price Output Circuit Type Encoder Resolution Encoder Speed Max
Optical Rotary Encoder 4mm Shaft
$50.00 Push-Pull (Single-Ended) 360 CPR 3000 RPM
Optical Rotary Encoder HKT22
$25.00 Push-Pull (Single-Ended) 300 CPR 6000 RPM
Hollow Shaft Optical Encoder IHC3808
$50.00 Push-Pull (Single-Ended) 500 CPR 4500 RPM
40 CPR Quadrature Encoder
$10.00 Push-Pull 40 CPR 6000 RPM