{"product_id":"adafruit-i2c-qt-rotary-encoder-with-neopixel-stemma-qt-qwiic","title":"Adafruit I2C QT Rotary Encoder Breakout with NeoPixel","description":"\u003cp\u003eRotary encoders are soooo much fun! Twist em this way, then twist them that way. Unlike potentiometers, they go all the way around, and often have little detents for tactile feedback.\u003c\/p\u003e\n\u003cp\u003eBut, if you've ever tried to add encoders to your project you know that they're a real challenge to use: timers, interrupts, debouncing...\u003c\/p\u003e\n\u003cp\u003eThis Stemma QT breakout makes all that frustration go away - solder in any 'standard' PEC11-pinout rotary encoder with or without a push-switch. The onboard microcontroller is programmed with Adafruit's seesaw firmware and will track all pulses and pins for you and then save the incremental value for querying at any time over I2C. Plug it in with a Stemma QT cable for instant rotary goodness, with any kind of microcontroller from an Arduino UNO up to a Raspberry Pi.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Seesaw\" target=\"_blank\" data-mce-href=\"https:\/\/github.com\/adafruit\/Adafruit_Seesaw\"\u003eYou can use this Arduino library\u003c\/a\u003e to control and read data with any compatible microcontroller. \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_seesaw\" target=\"_blank\" data-mce-href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_seesaw\"\u003eThere is also CircuitPython\/Python code\u003c\/a\u003e for use with computers or single-board Linux boards.\u003c\/p\u003e\n\u003cp\u003eIt's also easy to add this breakout to a breadboard - with six 0.1\"-spaced breakout pads. Power with 3 to 5V DC and then use 3 or 5V logic I2C data. The INT pin can be configured to pulse low whenever rotation or push-buttoning is detected so you do not have to spam-read the I2C port to detect motion.\u003c\/p\u003e\n\u003cp\u003eThere's a NeoPixel onboard, that can display any color you like. It's also controlled over I2C for additional visual feedback or keep it off if you like. On the back there's a green power LED as well as a red INT LED that, if the interrupt is configured, will blink when the interrupt fires.\u003c\/p\u003e\n\u003cp\u003eUsing the three onboard address jumpers, you can connect up to 8 of these rotary encoders on a single I2C port. The first one will be at address 0x36, the last one at 0x3D when all three jumpers are soldered closed.\u003c\/p\u003e\n\u003cp\u003eTo keep the board nice and compact, only 1\" x 1\" Adafruit made the footprint for the rotary encoder at a 45-degree angle. Since it rotates around freely there's no need for it to be at a 90-degree angle to the PCB. Each order comes with one assembled and tested PCB breakout and a small piece of header.\u003c\/p\u003e\n\u003cp\u003eTo get you going fast, Adafruit spun up a custom made PCB with the seesaw chip and all supporting circuitry, in the \u003ca href=\"\/en-eu\/collections\/stemma-qt\" target=\"_blank\" data-mce-href=\"\/en-eu\/collections\/stemma-qt\"\u003eSTEMMA QT form factor\u003c\/a\u003e, making them easy to interface with. The \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\/what-is-stemma-qt\" target=\"_blank\" data-mce-href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\/what-is-stemma-qt\"\u003eSTEMMA QT connectors\u003c\/a\u003e on either side are compatible with the SparkFun Qwiic I2C connectors. This allows you to make solderless connections between your development board and the rotary encoder or to chain them with a wide range of other sensors and accessories using a compatible cable. \u003ca href=\"\/en-eu\/products\/jst-sh-cable-qwiic-stemma-qt-compatible\" target=\"_blank\" data-mce-href=\"\/en-eu\/products\/jst-sh-cable-qwiic-stemma-qt-compatible\"\u003eQT Cable is not included, but we have a variety in the shop.\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eYou can pick up this breakout fitted \u003cstrong\u003ewith a pre-soldered encoder\u003c\/strong\u003e or \u003cstrong\u003eon its own \u003c\/strong\u003eso you can pick whatever encoder you like. You can use encoders without detents or with a different number of detents per rotation, of course! You'll need to solder the encoder and optional header onto the PCB to use with a solderless breadboard. but it's fairly easy and takes only a few minutes even for a beginner.\u003c\/p\u003e\n\u003cp\u003eNote that the pre-soldered encoder doesn't include a knob - \u003cspan\u003eyou'll need a D-shaft, or set-screw type one, not T18.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eTECHNICAL DETAILS\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDefault I2C address is 0x36\u003c\/li\u003e\n\u003cli\u003eProduct Dimensions: 25.6mm x 25.3mm x 4.6mm \/ 1.0\" x 1.0\" x 0.2\"\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 2.4g \/ 0.1oz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eRevision History:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eAs of June 15, 2022 - \u003c\/strong\u003eThis board may come with a different regulator than AP2112K due to parts shortages. The regulator can provide at least 250mA.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eLEARN\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-i2c-qt-rotary-encoder\" target=\"_blank\" data-mce-href=\"https:\/\/learn.adafruit.com\/adafruit-i2c-qt-rotary-encoder\"\u003ePrimary Guide: Adafruit I2C QT Rotary Encoder\u003c\/a\u003e - A rotary encoder with STEMMA QT!\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"No Encoder","offer_id":53510839828859,"sku":"ADA4991","price":5.95,"currency_code":"EUR","in_stock":true},{"title":"Soldered Encoder","offer_id":53510839861627,"sku":"ADA5880","price":7.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/4991-09.jpg?v=1655892831","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-i2c-qt-rotary-encoder-with-neopixel-stemma-qt-qwiic","provider":"Pimoroni Ltd","version":"1.0","type":"link"}