pdf-icon

Unit ByteSwitch

SKU:U191

Description

Unit ByteSwitch is an 8-way toggle switch input unit equipped with 8 toggle switches and 9 WS2812C RGB LEDs. It uses STM32 as the main controller, supports I2C communication, and features two Port A I2C interfaces, allowing multiple Unit ByteSwitch units to be cascaded to meet the needs of complex systems. It enables toggle switch input detection and dynamic light status feedback, making it suitable for smart home control, gaming and entertainment devices, educational development platforms, industrial status displays, and interactive exhibitions.

Features

  • 8-way toggle switch input
  • 9 WS2812C RGB LEDs
  • STM32 main controller
  • I2C communication interface
  • Development platforms:
    • 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 panels
  • Gaming or entertainment device controllers
  • Educational and laboratory development platforms
  • Status control and feedback devices
  • Portable device debugging tools
  • Interactive exhibitions or scene control
  • User interfaces for small instruments

Specifications

Specification Parameter
MCU STM32G031G8U6, 32-bit ARM Cortex-M0+ core, 64 MHz clock
Toggle Switches 8 independent toggle switches (double-pole double-throw)
RGB LEDs WS2812C-2020 (9 units)
Communication Interface I2C communication @0x46
Grove Interface 2 (I2C bus cascade expansion)
Standby Power Consumption DC 5V@9.03mA
Operating Temperature 0 ~ 40°C
Product Dimensions 88.0 x 24 x 19.6mm
Package Dimensions 169.0 x 119.0 x 21.0mm
Product Weight 22.5g
Gross Weight 29.1g

Schematics

schematics

PinMap

Unit ByteSwitch

HY2.0-4P Black Red Yellow White
Define 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

UiFlow1

  • Coming soon...

UiFlow2

  • Coming soon...

Internal Firmware

Protocol

protocol

Video

  • Unit ByteSwitch Product Introduction and Case Demonstration