Magnetic Encoder Pair Kit with Side-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V

SKU: POLOLU-5661 Brand: Pololu
Add quadrature encoders to your 20D mm metal gearmotors (extended back shaft version required) with this kit that uses a magnetic disc and Hall effect...
$23.60 AUD, inc GST
$21.45 AUD, exc GST

Available with a lead time
Expect dispatch between Oct 13 and Oct 16

- +

0 from local stock, 1 supplier stock; your order will dispatch between Dec 1 to Dec 10. And yes, stock levels and lead times are accurate!

Shipping:

  • $7+ Standard (5+ days*, tracked)
  • $11+ Express (2+ days*, tracked)
  • FREE Pickup (Newcastle only - must order online*)

Shipping costs may increase for heavy products or large orders.

Exact shipping can be calculated on the view cart page.

*Conditions apply, see shipping tab below.

Pololu's 20D encoder kits include two dual-channel Hall effect sensor boards and two 10-pole magnetic discs that can be used to add quadrature encoding to two 20D mm metal gearmotorswith extended back shafts (motors are not included with this kit). The encoder board senses the rotation of the magnetic disc and provides a resolution of 20 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output shaft, multiply the gear ratio by 20. (We also have a 6-pole magnetic disc available separately that can work with this encoder to provide 12 counts per revolution of the motor shaft.)

This version has a side-entry, 6-pin male JST PH-type connector, which allow compatible cables to be plugged in perpendicular to the motor case and output shaft:

Pololu also carry a version of this encoder with a top-entry connector; the following pictures show comparisons of the side-entry and top-entry versions:

Magnetic Encoder with Side-Entry Connector assembled on a 20D mm Metal Gearmotor with Extended Motor Shaft (JST PH cable not included).

Magnetic Encoder with Top-Entry Connector assembled on a 20D mm Metal Gearmotor with Extended Motor Shaft (JST PH cable not included).

Note: This sensor system is intended for users comfortable with the physical encoder installation. It only works with 20D mm metal gearmotors that have extended motor shafts.

Compatible cables

Pololu have various cables that work with the 2mm-pitch JST PH-style connector these encoders, available in double-sided or single-sided versions of varying lengths. The double-sided versions have twisted wires and female JST PH-type connectors on both ends, and single-sided versions have a female connector on one end female crimp pins for 0.1" housings on the other:

JST PH-Style Cable, 6-Pin, Female-Female, 16cm.

JST PH-Style Cable with Female Pins for 0.1" Housings, 6-Pin, 12cm.

JST PH-Style 6-Pin Cables
PinsTerminationsLengthItem #
6double-sided
(JST PH to JST PH)
10 cm (4")#5643
16 cm (6.3")#5644
25 cm (10")#5645
40 cm (16")#5646
63 cm (25")#5647
single-sided
(JST PH to 0.1" crimp pins)
12 cm (4.5")#5640
30 cm (12")#5641
75 cm (30")#5642

The double-ended cables can be used with Pololu's JST PH-style connector breakout boards, which are also available in top-entry and side-entry versions.

Breakout for JST PH-Style Connector, 6-Pin Male Top-Entry, with SH.

Breakout for JST PH-Style Connector, 6-Pin Male Side-Entry, with SH.

Pinout and installation

The encoder board is designed to be soldered directly to the back of the motor, with the back shaft of the motor protruding through the hole in the circuit board. One way to achieve good alignment between the board and the motor is to tack down the board to one motor pin and to solder the other pin only when the board is flat and well aligned. Be careful to avoid prolonged heating of the motor pins, which could damage the brushes. Once the board is soldered down to the two terminals, the motor leads are connected to the M1 and M2 connector pins as labeled below, and they can be accessed via the red and black wires when used with Pololu's 6-pin JST PH-style cables. The remaining four connector pins are used to power the sensors and access the two quadrature outputs:

The sensors are powered through the VCC (blue wire) and GND (green wire) pins. VCC can be 2.7 V to 18 V, and the quadrature outputs A and B (yellow and white wires) are digital signals that are either driven low (0 V) by the sensors or pulled to VCC through 10 kO pull-up resistors, depending on the applied magnetic field. The sensors’ comparators have built-in hysteresis, which prevents spurious signals in cases where the motor stops near a transition point.

Encoder A and B outputs of a magnetic encoder on a 6V 20D mm metal gearmotor running at 6V.

Once the board is soldered to the motor, the magnetic encoder disc can be pushed onto the motor shaft. To help ensure a strong signal, the disc should be positioned close to the sensors, but not so close that the magnet makes contact with them. The exact position does not matter, but a good target is having the shaft protrude approximately 1 mm past the outer face of the disc.

Push the magnetic disc onto the motor shaft so the shaft protrudes approximately 1 mm past the disc.

Schematic diagram

Comparison to previous version

This encoder module is a modification of the previous version that adds a connector to enable the use of removable cables. The basic schematic is unchanged, and the electrical performance is identical. The following picture shows the two new encoders with JST PH-type connectors next to the previous (green) one:

Comparison of Magnetic Encoder for 20D mm Metal Gearmotors with Top-Entry Connector (left), Side-Entry Connector (center), and 0.1"-pitch through-holes (right).

Dimensions

Size: 17.6 mm × 19.4 mm
Weight: 3.8 g1

General specifications

Minimum operating voltage: 2.7 V
Maximum operating voltage: 18 V
Connector: side-entry, 6-pin JST PH-type (2mm pitch)
Encoder resolution: 20 CPR2

Identifying markings

PCB dev codes: enc04b
Other PCB markings: 0J15679

Notes:

1
Weight of full set. Each encoder board weighs ~1.3 g and each magnet disc weighs ~0.6 g.
2
When counting both edges of both channels.

File downloads

Recommended links

This product is listed in:

Sensors>Encoders

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $7+ for Standard Post (typically 6+ business days, tracked)
  • $11+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $12+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

40 Aruma Place
Cardiff
NSW, 2285
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Videos

View All

Guides

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

Getting Hands-on with Sensors

What good is a robot if it can’t interact with the environment around it? Sensors are the back...
What good is a robot if it can’t interact with the environment around it? Sensors are the back...

Projects

WhyzaGC - Feather ESP32 addon to the MightyOhm Gieger Counter

This project is about adding a wireless Adafruit Feather HUZZAH ESP8266 or ESP32 v2 with Adafruit F...
This project is about adding a wireless Adafruit Feather HUZZAH ESP8266 or ESP32 v2 with Adafruit F...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.