M5Stack Chain Encoder (STM32G031)

Regular price
€8,95
Sale price
€8,95
Regular price
€8,95
Sold out
Unit price
Quantity must be 1 or more

The M5Stack Chain Angle is a 🎚️ potentiometer‑based input module in the M5Stack Chain series. As you rotate the knob, the sampling‑terminal voltage changes within a fixed range. After the built‑in MCU performs ADC conversion, it outputs a signal with up to 12‑bit resolution.

It also includes a 🌈 programmable RGB LED for status indication and interactive feedback. This makes it ideal for HMI interfaces, 🏠 smart home controls, and ⚙️ motor speed adjustment.

Chain Angle integrates an STM32G031G8U6 MCU and communicates using a UART serial cascade protocol. With two HY2.0‑4P expansion ports, you can easily connect additional Chain‑series modules to build richer and more interactive applications 🔗✨

Features

  • 🎚️ Potentiometer knob input for smooth, precise analog control

  • 🧠 STM32G031G8U6 core MCU for stable, low‑power processing

  • 🌈 1× RGB LED for status indication and interactive feedback

  • 🔌 UART serial cascade communication protocol for easy multi‑device chaining

  • 🔄 2× HY2.0‑4P expansion interfaces to extend additional Chain‑series modules

Includes

  • 1 x Chain Angle
  • 1 x Chain Bridge

Applications

  • 🏠 Smart home control — intuitive knob input for lighting, blinds, HVAC, and scene switching

  • 🤝 Human‑machine interface (HMI) — smooth analog interaction for UI navigation and parameter tuning

  • 🔊 Volume control — precise adjustment for speakers, audio panels, and multimedia devices

  • ⚙️ Motor speed control — stable analog input for fans, pumps, and small motor systems

Specifications

Specification Parameter
MCU STM32G031G8U6
Input Power DC 5V
Communication UART 115200bps@8N1
Interface 2x HY2.0-4P
RGB LED 1x WS2812C
RGB Power On Consumption 21.13mA
Rotation Angle 280° ±10°
Operating Temperature 0 ~ 40°C
Product Size 23.9 x 23.9 x 28.2mm
Product Weight 8.4g
Package Size 138.0 x 93.0 x 26.0mm
Gross Weight 11.7g

Learn

Use the Chain Bridge connector to link the main controller Chain DualKey with other Chain‑series input modules. When making the connection, be sure to check the direction:

➡️ The triangular arrow must point outward from the main controller (Chain DualKey), exactly as shown in the illustration below.

Schematics

PinMap

RGB LED

STM32G031 PA8
WS2812C RGB

Angle

STM32G031 PB0
Angle ADC_Input

UART

STM32G031 PB6 PB7 PA2 PA3
UART1 TXD1 RXD1
UART2 TXD2 RXD2

Model Size

Softwares

Arduino

Chain Angle Arduino Getting Started Guide

Go to full site