pdf-icon

Unit ByteSwitch

SKU:U191

Description

Unit ByteSwitch is an 8-channel toggle switch input unit, equipped with 8 toggle switches and 9 WS2812C RGB LEDs. It adopts STM32 as the main controller, supports I2C communication, and has two onboard Port A I2C interfaces. Multiple Unit ByteSwitch units can be cascaded to meet the needs of complex systems. It can detect toggle switch inputs and provide dynamic light status feedback, suitable for smart home control, gaming entertainment devices, educational development platforms, industrial status displays, and interactive exhibitions.

Features

  • 8-channel toggle switch inputs
  • 9 WS2812C RGB LEDs
  • STM32 main controller
  • I2C communication interface
  • Development Platform
    • UiFlow1
    • UiFlow2
    • Arduino IDE

Includes

  • 1 x Unit ByteSwitch
  • 1 x HY2.0-4P Grove Cable (20cm)
  • 1 x DIY Sticker

Applications

  • Smart home control panel
  • Game or entertainment device controller
  • Educational and laboratory development platform
  • Status control and feedback devices
  • Portable device debugging tools
  • Interactive exhibitions or scene control
  • User interface for small instruments

Specifications

Specification Parameter
MCU STM32G031G8U6, 32-bit ARM Cortex-M0+ core, 64 MHz
Toggle Switch 8 independent toggle switches (DPDT)
RGB LED WS2812C-2020 (9 pcs)
Interface I2C @0x46
Grove Port 2 (I2C bus cascading expansion)
Standby Power DC 5V@9.03mA
Operating Temp 0 ~ 40°C
Product Size 88.0 x 24.0 x 19.6mm
Product Weight 22.6g
Package Size 170.0 x 120.0 x 20.6mm
Gross Weight 29.3g

Schematics

schematics

PinMap

Unit ByteSwitch

HY2.0-4P Black Red Yellow White
PORT.A GND 5V SDA SCL

STM32

STM32 PA0 PA1 PA5 PA6 PA7 PA15 PB3 PA8 PB5
KEY SW_K0 SW_K1 SW_K2 SW_K3 SW_K4 SW_K5 SW_K6 SW_K7 RGB

Model Size

module size

Softwares

Arduino

UiFlow2

Internal Firmware

Protocol

protocol

Video

  • Unit ByteSwtich product introduction and case demonstration