SparkFun
SparkFun Qwiic Twist - RGB Rotary Encoder Breakout
The SparkFun Qwiic Twist is a digital RGB rotary encoder breakout with built-in I²C interface. It handles all interrupt management, switch debouncing, and LE...
Get notified when back in stock
The SparkFun Qwiic Twist is a digital RGB rotary encoder breakout with built-in I²C interface. It handles all interrupt management, switch debouncing, and LED PWM internally, presenting encoder position, button state, and RGB colour control over a simple I²C connection via Qwiic connectors.
The indent-style encoder provides tactile feedback with a satisfying click on each step, and includes a built-in push button for menu selection. One full rotation produces 24 counts (positive clockwise, negative counter-clockwise). The RGB LED beneath the knob supports over 16 million colours through software-controlled mixing.
Key Features
- I²C Rotary Encoder – Position count, button state, and RGB LED all accessible over I²C
- Built-In RGB LED – Software-controllable red, green, and blue LEDs with 16 million+ colour combinations
- Indent Encoder with Button – Tactile click feedback and push-to-select functionality
- 24 Steps Per Revolution – ±24 counts per rotation with direction tracking
- Qwiic I²C Connectors – Solderless daisy-chain connection
- Breadboard Compatible – 2.54 mm pin headers also broken out
Specifications
- Interface – I²C (Qwiic, 1 mm pitch JST connectors)
- Encoder Type – Incremental with indent and push button
- Steps Per Revolution – 24
- LED – RGB (PWM-controlled, software-addressable)
- Shaft Diameter – 6 mm (compatible with standard 6 mm knobs)
Ideal For
- User interface controls (volume, brightness, menu navigation)
- RGB colour selection dials
- IoT and embedded control panels
- Arduino and microcontroller projects
Package Contents
- 1× SparkFun Qwiic Twist RGB Rotary Encoder Breakout
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- breakout
- A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
- encoder
- An encoder is a sensor that converts the rotation or position of a shaft, knob or dial into electrical signals, reporting movement as incremental steps and direction, or as an absolute position. It is used to track how far something has turned, which matters for precise positioning, speed control, repeatable movement, or using a rotary knob as an input.
- Headers
- Rows of connector contacts on a fixed pitch (commonly 2.54 mm) used to link a board to a breadboard, jumper wires, or another board. They come as male pin headers and female socket headers; when a module ships with pre-soldered headers it can be used straight away, whereas bare pads require soldering the pins yourself.
- IoT
- Short for Internet of Things, meaning physical devices that connect to networks or the internet to send data or be controlled remotely. It matters if you want projects such as connected sensors, remote controls or classroom data-logging activities.
- LED
- A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
- PWM
- Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
- Qwiic
- Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
- RGB
- Short for red, green and blue, the three primary colours of light that are mixed in varying amounts to make a wide range of colours. In electronics RGB can refer to an LED or pixel that blends these three colours, or to a colour signal or interface that carries separate red, green and blue channels.
Find this product in
Qwiic Twist Schematic
Schematic · 99.8 KB · Click any page to view full size
PEL12T Encoder Datasheet
Datasheet · 385.8 KB · Click any page to view full size
Qwiic Twist Dimensional Drawing
Mechanical Drawings · 19.8 KB · Click any page to view full size
Qwiic Twist Register Map
Document · 57.4 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 640.4 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Related Tutorials
Free guides on learn.littlebird.com.au