I2C QT 로터리 인코더 -네오픽셀 LED
(Adafruit I2C QT Rotary Encoder with NeoPixel - STEMMA QT / Qwiic)
개요
- 본 제품은 I2C QT 로터리 인코더 -네오픽셀 LED입니다.
- 표준 PEC11 핀아웃 로터리 인코더(with or without a push-switch)를 납땜하여 사용이 가능한 제품입니다.
- 보드상의 마이크로컨트롤러는 프로그래밍되어 모든 펄스와 핀을 트레킹하며, I2C 인터페이스를 통해 값을 제공합니다.
- 아두이노 라이브러리를 이용하여 데이터를 제어하고 읽는 것이 가능합니다.
- RGB LED를 장착하고 있어 비주얼 피드백을 설정할 수 있습니다.
특징
- Default I2C address is 0x36
- Product Dimensions: 25.6mm x 25.3mm x 4.6mm / 1.0" x 1.0" x 0.2"
- Product Weight: 2.4g / 0.1oz
문서
- Primary Guide: Adafruit I2C QT Rotary Encoder
-
You can use our Arduino library to control and read data with any compatible microcontroller. We also have CircuitPython/Python code for use with computers or single-board Linux boards.
It'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.
There's a NeoPixel on board, 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.
Using 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.
To keep the board nice and compact, only 1" x 1" we 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.
To 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 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. QT Cable is not included, but we have a variety in the shop.
This breakout does not come with an encoder soldered on, so you can pick whatever encoder you like. We sell a common 24-detent-with-switch encoder here 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 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.