pdf-icon

MiniEncoderC Hat

SKU:U157

Description

MiniEncoderC HAT is a rotary encoder extension base for M5StickC/C-CPlus, which integrates a rotary AB encoder, with button function, and comes with standard Lego hole to facilitate the expansion of structural parts; It contains a 200mAh polymer lithium battery and an SK6812 RGB LED. This product can be used to remotely adjust RGB lighting and remotely control robot joints.

Features

  • 30-bit pulse coding knob (30 pulses per revolution)
  • SK6812 programmable RGB LED
  • Press the key input
  • HY2.0-4P interface
  • 4x LEGO connectors

Includes

  • 1x MiniEncoderC HAT
  • 1x lanyard

Applications

  • Adjust the lights remotely
  • Remote control of robot joints

Specification

Resources Parameters
MCU STM32F030F4P6
support voltage 3.3V
RGB SK6812-3535
Battery level 200mAh
Product Size 81.05mm × 29mm × 24mm
Package Size 101mm × 27mm × 22mm
Product Weight 19.3g
Package Weight 24.5g

Schematic

schematics

Module Size

module size

Protocol

Examples

Arduino

UIFlow

How to use Hat mini encoderc and related API instructions in the UIFlow1.0

UIFlow

UIFlow Blocks

  • Init I2C address
image
  • Get counter value
image
  • Get increment value
image
  • Get button status
image
  • Get device status (FW version / I2C address)
image
  • Set counter value
image
  • Reset counter value
image
  • Set RGB LED color
image
  • Set device I2C address
image