{"product_id":"adafruit-i2c-quad-rotary-encoder-breakout-with-neopixel-stemma-qt-qwiic","title":"Adafruit I2C Quad Rotary Encoder Breakout with NeoPixel - STEMMA QT \/ Qwiic","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. But, 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 \u003cp\u003eThis Stemma QT breakout makes all that frustration go away - and allows you to read up to 4 encoders for big builds with lots of twisty interfaces. You can solder in any four 'standard' PEC11-pinout rotary encoders with or without a push switch. The onboard microcontroller is programmed with our 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 \u003ca href=\"\/zh\/search?q=stemma+qt+cable\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003eStemma QT cable\u003c\/a\u003e for instant rotary goodness, with any kind of microcontroller from an \u003ca href=\"\/zh\/search?q=arduino+uno\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003eArduino UNO\u003c\/a\u003e up to a \u003ca href=\"\/zh\/collections\/raspberry-pi-store\"\u003eRaspberry Pi\u003c\/a\u003e.\u003c\/p\u003e \u003cp\u003eYou can use our \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Seesaw\"\u003eArduino library\u003c\/a\u003e to control and read data with any compatible microcontroller. We also have \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_seesaw\"\u003eCircuitPython\/Python code\u003c\/a\u003e for use with computers or single-board Linux boards.\u003c\/p\u003e \u003cp\u003eIt's also easy to add this breakout to a \u003ca href=\"\/zh\/collections\/solderless-breadboards\"\u003ebreadboard\u003c\/a\u003e - 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 \u003cp\u003eIf you happen to be using clear\/translucent shaft encoders, there are reverse-mount NeoPixels on board, that can display any color you like, they are controlled over I2C for additional visual feedback or keep them off if you like. Note that for metal-shaft encoders, the LEDs are not visible. 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 \u003cp\u003eUsing the three onboard address jumpers, you can connect up to 8 of these encoders on a single I2C port. The first one will be at address 0x49, the last one at 0x51 when all three jumpers are cut open.\u003c\/p\u003e \u003cp\u003eTo get you going fast, we spun up a custom-made PCB with the seesaw chip and all supporting circuitry, in the STEMMA QT form factor, making them easy to interface with. The STEMMA QT connectors on either side are compatible with the \u003ca href=\"\/zh\/search?q=sparkfun+qwiic+connectors\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003eSparkFun Qwiic I2C connectors\u003c\/a\u003e. 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. QT Cable is not included, but we have a variety in the \u003ca href=\"\/zh\/search?q=qt+cable\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003eshop\u003c\/a\u003e.\u003c\/p\u003e \u003cp\u003e\u003cstrong\u003eThis breakout does NOT come with any encoders soldered on\u003c\/strong\u003e, so you can pick whatever encoder you like. We sell a common \u003ca href=\"\/zh\/products\/rotary-encoder-extras\"\u003e24-detent-with-switch encoder here\u003c\/a\u003e and it works wonderfully. You can also use encoders without detents or with a different number of detents per rotation, of course! You'll need to solder the encoders and optional header onto the PCB to use with a \u003ca href=\"\/zh\/collections\/solderless-breadboards\"\u003esolderless breadboard\u003c\/a\u003e. but it's fairly easy and takes only a few minutes even for a beginner.\u003c\/p\u003e \u003cp\u003e\u003ciframe width=\"560\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/arpl-qVEmCw?si=T2b0SZdwop9tQaiT\u0026amp;start=338\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"allowfullscreen\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e \u003ch2\u003eResources\u003c\/h2\u003e \u003cul\u003e \u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-i2c-quad-rotary-encoder-breakout\"\u003eProduct Wiki\u003c\/a\u003e\u003c\/li\u003e \u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":50847588942097,"sku":"ADA5752","price":7.2,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0901\/6285\/6209\/files\/adafruit-i2c-quad-rotary-encoder-breakout-with-neopixel-stemma-qt-qwiic-adafruit-ada5752-40911909585091.jpg?v=1735216003","url":"https:\/\/abcd3032.myshopify.com\/zh\/products\/adafruit-i2c-quad-rotary-encoder-breakout-with-neopixel-stemma-qt-qwiic","provider":"Tayyab Zak","version":"1.0","type":"link"}