pdf-icon

Unit 8EnCoder

SKU:U153

Description

UNIT 8EnCoder is a set of 8 rotary encoders as one of the input unit, the internal use of STM32 single-chip microcomputer as the acquisition and communication processor, and the host computer using I2C communication interface, each rotary encoder corresponds to 1 RGB LED light, encoder in addition to left and right rotation, but also radially pressed, in addition to a physical toggle switch and its corresponding RGB LED light, including 5V->3V3 DCDC circuit. The unit can be used for the input of multi-channel relative control values, the corresponding RGB lamp can display different statuses, and the toggle switch can be used for the input of multi-channel switching quantities. It can be used as a multi-degree-of-freedom robot or music equalization application.

Features

  • 8-channel Rotary encoder
  • 8 channels correspond to RGB lights
  • I2C communication
  • Toggle switches can be used for multi-channel switching inputs
  • Radial press function
  • HY2.0-4P interface
  • 2x LEGO compatible holes

Includes

  • 1x 8Encoder Unit
  • 1x HY2.0-4P Cable(20cm)

Applications

  • Multi-degree-of-freedom robot joint control
  • Music equalization control aspects
  • Multi-channel light control

Specification

Resources Parameters
MCU STM32F030C8T6
RGB WS2812C-2020
Input voltage 5v
I2C communication address 0x41
Product Size 128mm × 24mm ×22.7mm
Package Size 130mm × 27.7mm ×27.7mm
Product Weight 42.8g
Package Weight 52.4g

Schematic

schematics

Module Size

module size

Examples

Arduino

UIFlow

UIFlow Blocks

  • Init I2C address
image
  • Get counter value
image
  • Get increment value
image
  • Get button status
image
  • Get switch status
image
  • Get device FW version or I2C address
image
  • Set counter value
image
  • Reset counter value
image
  • Set single RGB LED color
image
  • Set multiple RBG LED color
image
  • Set I2C address
image