Skip to product information
1 of 11

M5Stack Byte Switch Unit with 8x Switches (STM32G031)

M5Stack Byte Switch Unit with 8x Switches (STM32G031)

LB-M5-U191

20 in stock
Regular price $29.90 USD
Sale price $29.90 USD Regular price $21.50 USD

M5Stack Byte Switch Unit for 8-Channel Physical Input

The M5Stack Byte Switch Unit combines eight independent DPDT toggle switches, nine addressable RGB LEDs, and an STM32G031G8U6 controller in one compact input panel. It is designed for applications that need persistent physical switch states with immediate visual feedback.

The unit communicates through I2C at address 0x46 and provides two Grove I2C ports for bus expansion. This reduces host GPIO usage and makes it easier to add a bank of physical controls to an M5Stack controller or another compatible embedded host.

Read 8 Toggle States Through One I2C Device

Each switch can represent an enable flag, mode selection, channel state, scene selection, test condition, or other binary control. Because a mechanical toggle retains its position, the physical panel can show the commanded state even before a display is read. Design the firmware so startup behavior clearly defines whether hardware position overrides stored software state.

Use RGB LEDs for Status Feedback

Nine WS2812C-2020 RGB LEDs can indicate channel state, warnings, active modes, or interaction feedback. Keep color meanings consistent across the interface and include a non-color cue when the state is critical, since color alone may not be sufficient for every operator.

Cascade I2C Devices Carefully

The two Grove ports support I2C bus expansion. Before combining multiple units or sensors, check address conflicts, total pull-up resistance, cable length, bus capacitance, and power distribution. I2C is best suited to local embedded connections rather than long industrial cable runs.

Build Clear Control Panels

The Byte Switch Unit fits smart-home panels, game controllers, education platforms, laboratory fixtures, interactive exhibits, instrument interfaces, and portable debugging tools. Label each switch according to the real function and avoid assigning safety-critical emergency functions to a general-purpose I2C input device.

Technical setup details are available in the M5Stack ByteSwitch documentation.

M5Stack Byte Switch Unit with 8x Switches (STM32G031)

$29.90 USD


Does it come with a warranty?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What happens if I don't like it?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

How fast is shipping?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What's the returns policy?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

Don’t Just Take Our Word for It

  • A Clearer Way to Get Started

    LogicBoundless made it much easier to understand which components worked together. The product information was clear, and I could move from an idea to a working prototype without wasting time on incompatible hardware.


    Verified Maker
    First-Time IoT Builder
  • Practical Support Beyond the Product

    What stood out was the practical guidance. The specifications, compatibility notes, and troubleshooting resources helped us choose the right hardware and solve development issues more efficiently.


    Verified Customer
    Embedded Systems Engineer
  • Making Hardware Easier to Learn

    The clear explanations and project-focused resources made complex hardware easier to understand. Instead of simply following instructions, learners could see how each component contributed to the complete system.


    Education Partner
    STEM Instructor
1 of 3