Products
Categories
- Main categories
-
- 3D PRINTING
- ACADEMIC OFFER
- ARDUINO
- AUTOMATION
- BOOKS
- DIY KITS
- AVT kits
- Audio
- Car
- Chargers
- Clocks, timers and schedule switches
- Communication
- Converters
- Development kits and modules
- Displays
- Electronic games
- Generators
- Hobbies and fun
- House
- Interfaces
- Light effects
- meters
- PC
- Power Supplies
- Pre-programmed circuits
- Printed circuit boards (PCB)
- Programmers
- Regulators, controllers
- Remote control
- Starter sets Ośla Łączka
- Starting sets for beginners
- Workshop tools
- Audio
- Other sets
- TOP-Q kits
- Totem
- UGears
- Velleman
- AVT kits
- EBOOKS
- ELECTRONICS
- Cables
- Cameras and accessories
- Communication
- Conductive materials
- Connectors
- ARK connectors (Terminal Block)
- Coaxial connectors (RF)
- Connectors
- Crocodile clip
- D-Sub drawer connectors
- DC power connectors
- FFC/FPC ZIF connectors
- Goldpin connectors
- IDC connectors
- JACK connectors
- JST connectors
- Jumpers
- Memory cards slots
- Other connectors
- Pogo pin
- RJ45 sockets
- Slip ring connector
- Supports
- Szybkozłącza
- USB connectors
- Cooling
- Displays
- Electronic modules
- A/D and D/A converters
- Audio
- Barcode readers
- CAN converters
- Converters USB - UART / RS232
- Data logger
- DDS/PLL generators
- Digital potentiometers
- Encoders
- Expanders of the I/O
- Fingerprint readers
- HMI modules
- Image and video
- JTAG accessories
- Keyboards, buttons
- LED drivers
- Memory card readers
- Memory modules
- Modules with power outputs
- Motor controllers
- Power modules
- RS485 converters
- RTC modules
- Servo Controllers
- TSOP infrared receivers
- USB Converters - I2C / 1-Wire / SPI
- Voltage converters
- Gadgets
- GPS
- Intelligent clothes
- LED - diodes, displays, stripes
- Luminous wires and accessories
- Memory cards and other data storages
- Passive elements
- PC accessories
- Printers
- Prototype boards
- Semiconductors
- A/C converters (ADC)
- Analog systems
- Audio systems
- Bridge rectifiers
- Button
- D/A Converters (DAC)
- DDS synthesizers
- Digital circuits
- Diodes
- Drivers of motors
- DSP microprocessors
- Energy counters
- Energy harvesting
- ESD security
- IGBT drivers and bridges
- Interface systems
- LED drivers
- Logic converters
- Memory
- Microcontrollers
- Optotriacs and optocouplers
- Other
- PLL generators
- Power systems
- Programmable systems
- Resetting systems
- RF systems
- RTC systems
- Sensors
- SoC systems
- Timery
- Touch sensors
- Transistors
- Sensors
- Accelerometers
- Air humidity sensors
- Air quality sensors
- Current sensors
- Distance sensors
- Flow sensors
- Gas sensors
- Gyroscopes
- Hall sensors
- Humidity sensors
- Infrared sensors
- Light and color sensors
- Liquid level sensors
- Magnetic sensors (compasses)
- Medical sensors
- Motion sensors
- PH sensors
- Position sensors
- Pressure sensors
- Pressure sensors
- Reflection sensors
- Sensors 6DOF/9DOF/10DOF
- Sensors of liquid quality
- Temperature sensors
- Vibration sensors
- Sound transducers
- Switches and buttons
- Cables
- INTERNET OF THINGS (IoT)
- MECHANICS
- POWER
- R/C MODELLING
- RASPBERRY PI
- Accessories for Raspberry Pi
- Audio video cables for Raspberry Pi
- Case Raspberry Pi
- Cooling for Raspberry Pi
- Displays for Raspberry Pi
- Extension modules for Raspberry Pi
- Memory cards for Raspberry Pi
- Power for Raspberry Pi
- Raspberry Pi 3 model A+
- Raspberry Pi 3 model B
- Raspberry Pi 3 model B+
- Raspberry Pi 4 model B
- Raspberry Pi 400
- Raspberry Pi 5
- Raspberry Pi cameras
- Raspberry Pi Compute Module
- Raspberry Pi model A/ B+/2
- Raspberry Pi Pico
- Raspberry Pi prototyping
- Raspberry Pi Zero
- Raspberry Pi Zero 2 W
- RETIRED PRODUCTS
- ROBOTICS
- SALE
- SOFTWARE
- STARTER KITS, PROGRAMMERS, MODULES
- Alchitry FPGA
- Altera FPGA
- Analog electronics
- Atmel SAM
- Atmel Xplain
- AVR
- Banana Pi
- BeagleBone
- chipKIT
- Coral
- CPLD Xilinx
- Cubieboard
- DFRobot FireBeetle
- Feather
- Freedom (Kinetis)
- FriendlyELEC
- HummingBoard
- Intelligent clothes
- Kit with a book
- LattePanda
- LPC (NXP)
- M5Stack
- Micro:bit
- Nvidia Jetson
- Odroid
- ODYSSEY
- Orange Pi
- Other development kits
- Peripheral modules
- PIC
- Raisonance
- Raspberry Pi RP2040
- RFID
- RISC-V
- SBC Embest
- SBC MYIR
- SBC others
- SBC UDOO
- Segger programmers
- SoMLabs
- Sparkfun MicroMod
- STM32
- STM32 Discovery
- STM32 MP1
- STM32 Nucleo boards
- STM8
- Teensy
- Universal programmers
- WRTNode
- Xilinx FPGAs
- WORKSHOP
- Adhesives and gluers
- Anti-static mats (ESD)
- Chemistry
- CNC milling machines
- Crimping tools
- Dispensing needles
- Drills
- Files
- Generators
- Handles, magnifiers
- Heat-shrink tubing
- Insulation strippers
- Keys
- Knives and scissors
- Laboratory power supplies
- Laminates
- Measuring devices
- Mikroskopy
- Mini drills and grindrers
- Organizers
- Oscilloscopes and accessories
- Pliers and pincers
- Riveting tools and rivets
- Screwdrivers
- SMD Accessories
- Soldering
- Tapes (aluminum, kapton, copper, insulating)
- Tweezers
- Ultrasonic cleaners
- Vices
- 3D PRINTING
New products
New products
zł54.18 tax excl.
Free shipping
free shipping in Poland for all orders over 500 PLN
Same day shipping
If your payment will be credited to our account by 11:00
14 days for return
Each consumer can return the purchased goods within 14 days
This quadrature encoder works with our micro metal gearmotors, 42×19mm wheel, and extended bracket to measure the rotation speed and direction of the wheel. With twelve teeth on the wheel, the system provides a resolution of 48 counts per revolution, which corresponds to a linear resolution of just under 3 mm or 1/8".
Overview
This quadrature encoder board is designed to work with Pololu micro metal gearmotors by holding two infrared reflectance sensors inside the hub of a Pololu 42×19mm wheel and measuring the movement of the twelve teeth along the wheel’s rim. The two sensors are spaced to provide waveforms approximately 90 degrees out of phase, allowing the direction of rotation to be determined and providing four counts per tooth for a resolution of 48 counts per wheel rotation. Each analog sensor signal is fed to a comparator with hysteresis to provide glitch-free digital outputs. The compact layout of the board fits all of the components within the envelope of the hub and tire, allowing the board to be mounted between the motor and a chassis. The encoder is calibrated for operation from 4.5 V to 5.5 V, but it can be recalibrated for operation at 3.3 V.
Example code for the encoders is provided with the Pololu AVR Library. The example shows how the encoders can be used with AVR-based robot controllers, including the Orangutan Robot Controllers and the Arduino platform.
For a larger motor with an integrated, higher-resolution quadrature encoder, see our 37D mm metal gearmotor with 64 CPR encoder.
Note: This encoder is designed to work with our 5:1 to 298:1 micro metal gearmotors. Motors are not included and must be purchased separately. This encoder will not work with the 1000:1 gear ratio version of our micro metal gearmotors due to the longer gearbox.
Feature summary
- operating voltage: 4.5 V to 5.5 V (encoder can be modified for lower voltages)
- two digital outputs (quadrature)
- 14 mA current consumption at 5.0 V
- 48 counts per revolution (linear resolution of just under 3 mm or 1/8")
- small size: fits between motor and chassis.
- weight: 1.6 g (0.06 oz)
Using the Encoder
The encoder is designed to fit within the outline of the extended micro gearmotor brackets that are in turn designed to work with the Pololu 42×19mm wheel and Pololu micro metal gearmotors, so most applications that can use that bracket should require little or no modifications, though it should be noted that the 1/16" thickness of the PCB will change the height of a chassis relative to the wheel. For convenience, we offer an encoder set that includes two encoders, a pair of 42×19mm wheels, and a pair of extended brackets; the micro metal gearmotors are sold separately. These encoders are only compatible with the 42×19mm wheel, extended micro gearmotor bracket, and 5:1 to 298:1 versions of the micro metal gearmotors.
|
|
The power and output connections are brought out to the end of the PCB under the motor terminals so that wiring to all six terminals can be routed together. Wires can be soldered directly to the through-hole power and output pads, or some connectors with a 0.1" spacing, such as our 0.1" female header or 0.1" male header strip, can also be used.
The two outputs of the encoder are digital outputs that can be connected directly to digital input pins on most microcontrollers (inputs that can generate interrupts on change are recommended). With 48 state changes per revolution of the 42 mm wheel, a speed of 1 m/s (a bit over 3 feet per second) generates approximately 360 state changes per second. With two encoders used simultaneously, as is the case for most differential-drive robots, the encoders will require attention almost every millisecond. Decoding the encoder outputs should only take a few percent of the processing power of a high-performance microcontroller such as the Atmel AVR used in the Pololu Orangutan robot controllers, but the encoders might be difficult to use with slower microcontrollers without available external interrupts.
Oscilloscope capture of encoder outputs with the wheel spinning at 630 RPM. |
---|
Modifying the Encoder for 3.3 V Operation
The encoder is calibrated for 5.0 V operation, but it can be modified for operation at 3.3 V. The modification consists of two steps: reducing the IR emitter current-limiting resistance, and calibrating for the two phototransistor sensors (a simplified schematic diagram of the encoder is shown below). The IR emitter current-limiting resistance for the two emitters, which are in series, is implemented by R1 and R4; bypassing R4 with a short halves the resistance from power to the LEDs. R4 is labeled on the circuit board silkscreen; one simple way to bypass it is to solder a thin solid wire (such as the lead of a 1/4-watt resistor) to both sides of the resistor and then to clip off the excess wire. With the resistor bypassed and the circuit powered at 3.3 V, the encoder will draw approximately 10 mA.
Schematic diagram of the encoder for the Pololu wheel 42×19mm. |
---|
Next, the encoder must be calibrated (to compensate for the dimmer IR LEDs). Each channel has a separate trimmer potentiometer that can be adjusted such that at a constant wheel speed, the output of the channel is a square wave with 50% duty cycle. This is easiest with an oscilloscope connected to the outputs, but it can also be done with a microcontroller programmed to measure the duty cycle of the outputs. If the duty cycle is too high (or there are no low pulses at all), the potentiometer should be turned clockwise; if the duty cycle is too low, the potentiometer should be turned counter-clockwise.
Note: The trimmer potentiometer is very small, and it can be damaged by using a screwdriver that is not the correct size.
People often buy this product together with:
Pololu Micro Metal Gearmotor Bracket Extended Pair |
Pololu Wheel 42x19mm Pair |
TB6612FNG Dual Motor Driver Carrier |
You might also like
A set of two Pololu wheels measuring 43x19 mm in white. Fits D-shaped shaft with a diameter of 3 mm. Pololu 1090
No product available!
A set of two white plastic brackets for mounting miniature Polol motors. Mounting screws and nuts included. Extended version. Pololu 1089
Other products in the same category (16)
The kit uses a magnetic disc and hall effect sensors to provide 12 counts per revolution of the motor shaft. The sensors operate from 2.7 V to 18 V and provide digital outputs that can be connected directly to a microcontroller or other digital circuit. Compatible with all of the dual-shaft micro metal gearmotors we carry, including the HPCB versions. Pololu 3081
Pololu - 3498
A set of two magnetic encoders for use with Pololu DC Micro motors. The maximum resolution is 12 pulses per one revolution of the motor shaft. Powered from 2.7V to 18V. Pololu 4760
The module is equipped with an AS5600 magnetic encoder with a resolution of 12-bit. It allows for non-contact measurement of the angle of rotation. The module has an analog/PWM output and an I2C interface.
No product available!
This is the Wheel Encoder Kit from DAGU, a simple add-on to any wheeled robot that can help measure the speed or distance the chassis travels. ROB-12629
No product available!
The module is designed to support incremental encoders. It reads the rotation of the encoder and transmits the information via the I2C interface. It has two built-in STEMMA QT connectors. Adafruit 5740
Set of two magnetic encoders for use with micro motors. Side mounting, set of 2. Pimoroni PIM605
Magnetic disk for use with magnetic encoders designed for Pololu 20D series motors. It allows you to generate 12 pulses per revolution. Pololu 3449
No product available!
Module with encoder and RGB backlight. It has an unlimited range of motion and is perfect for e.g. lighting control. Pimoroni PIM522
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 sensors to provide 20 counts per revolution of the motor shaft. The sensors operate from 2.7 V to 18 V and provide digital outputs that can be connected directly to a microcontroller or other digital circuit.
Module with Grove connector equipped with AS5600 magnetic encoder with a resolution of 12-bit. It allows for non-contact measurement of the angle of rotation. The module has an analog/PWM output and an I2C interface. Seeed Studio 101020692
No product available!
360° encoder module with LED indicators. It communicates via the I2C interface (Gravity connector). DFRobot SEN0502
The module is designed to support incremental encoders. It reads the rotation of the encoder and transmits the information via the I2C interface. Adafruit 4991
No product available!
Module with an incremental encoder with a rotation range of 360° and a button. Communicates via a digital interface. DFRobot SEN0235
No product available!
Pololu - 1524