> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Wheel Encoder

**Type:** Product page · **SKU:** ROB-09208 · **Brand:** [Sparkfun](https://core-electronics.com.au/brands/sparkfun-australia)
**Page:** https://core-electronics.com.au/wheel-encoder.html ([markdown](https://core-electronics.com.au/wheel-encoder.html.md))

## Retired product

This product is retired and no longer available for purchase. Search the catalogue for an alternative.

## How to buy

- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

This quadrature encoder board is designed to hold two infrared reflectance sensors inside the hub of the 42x19mm wheel and measure 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.3V .

 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 microcontroller such as the Atmel ATMega168.

**Features:**

- 4.5-5.5V operating voltage
- 2 digital outputs
- 14mA consumption at 5V
- 48 counts per revolution (linear resolution just under 3mm)
- 2A continuous paralleled output current
- 100kHz maximum PWM frequency
- 2.7-5.5VDC logic voltage
 
**Dimensions:** 1.6g

**Documents:**

- AVR C/C++ Library
- AVR C/C++ Library Commands

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/w/h/wheel_encoder__rob-09208__01.jpg)
