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


How can I confirm product compatibility?

Check the product specifications, operating voltage, communication interface, dimensions, connector type, and software requirements before ordering. Compatibility may also depend on your controller, operating system, development framework, library version, and project wiring.

If you are unsure, contact us before purchasing and include your controller model, intended application, power source, and any other hardware you plan to use. We will help you identify the most suitable option, but we cannot guarantee that every product will work with every platform or project.

Does the product come with a warranty?

Warranty coverage may vary by product and manufacturer. If your order arrives damaged, incomplete, or appears to have a manufacturing defect, contact us as soon as possible with your order number, product model, and clear photos or videos of the issue.

Our team will review the information and provide the appropriate next step according to the applicable product and after-sales policy. Damage caused by incorrect wiring, unsuitable voltage, unauthorized modification, soldering, misuse, or operation outside the documented specifications may not be covered.

How long does shipping take?

LogicBoundless provides worldwide shipping, with primary service coverage across the United States, Europe, and Asia. Orders are generally fulfilled from Shenzhen, China, and tracking information is provided after dispatch.

Processing and delivery times depend on product availability, destination, customs clearance, and the selected shipping service. Please review the Shipping Information page for the latest estimated delivery times and shipping conditions.

What is your return policy?

Eligible products may be returned within 30 days of delivery. Returned items must be unused, unsoldered, unmodified, and kept in their original condition with all packaging, cables, accessories, manuals, and included components.

Please contact support@logicboundless.com before sending anything back. Returns made without prior approval may not be accepted. Original shipping charges are generally non-refundable unless the return is caused by a verified product defect or fulfillment error.

Can you help if I have a technical problem?

Yes. LogicBoundless provides practical technical guidance for product setup, wiring, power, communication, code, and configuration issues.

To help us understand the problem efficiently, please provide your controller model, wiring photos, power source, code, library or firmware versions, expected behavior, and complete error messages. We cannot promise that every component will work in every system, but we will help you identify the likely cause and the next practical troubleshooting step.

Can I change or cancel my order?

Contact us as soon as possible if you need to change or cancel an order. We will try to assist before the order enters processing or is handed to the shipping carrier.

Once an order has been packed or dispatched, it may no longer be possible to change the products, delivery address, or shipping method. In that case, the standard return process may apply after delivery.

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