{"product_id":"m5stack-external-rotary-encoder-i2c-unit","title":"M5Stack Ext Encoder Unit (STM32F030)","description":"\u003ch2\u003eM5Stack External Rotary Encoder I2C Unit\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003eM5Stack ExtEncoder\u003c\/strong\u003e Unit connects external incremental rotary encoders to an embedded host without dedicating multiple host GPIO pins to real-time quadrature decoding. It supports AB and ABZ signal input and uses an STM32F030F4P6 controller for local signal acquisition and decoding.\u003c\/p\u003e\u003cp\u003eThe host reads encoder data through I2C at address 0x59. This architecture is useful for measuring wheels, robotic joints, automated cutting equipment, conveyor position tracking, and other systems that need external encoder feedback.\u003c\/p\u003e\u003ch2\u003eAcquire AB or ABZ Encoder Signals\u003c\/h2\u003e\u003cp\u003eAB input provides quadrature direction and count information. ABZ input adds an index channel for applications that need a reference position. Confirm the external encoder output type, voltage levels, wiring, pulses per revolution, and mechanical coupling before integration.\u003c\/p\u003e\u003ch3\u003eLocal STM32 Decoding\u003c\/h3\u003e\u003cp\u003eThe onboard controller handles encoder signal processing and exposes values over I2C. This simplifies the host firmware and can reduce timing sensitivity compared with direct software decoding, but final measurement quality still depends on encoder quality, signal integrity, wiring, speed, and mechanical installation.\u003c\/p\u003e\u003ch3\u003e12-Bit Sampling and I2C Integration\u003c\/h3\u003e\u003cp\u003eThe product specification lists 12-bit sampling accuracy and I2C address 0x59. Before adding the unit to a shared bus, check address conflicts, pull-up resistance, cable length, bus capacitance, and grounding.\u003c\/p\u003e\u003ch2\u003eBuild Reliable Position Feedback\u003c\/h2\u003e\u003cp\u003eUse rigid mechanical coupling where required, avoid shaft misalignment, define index behavior explicitly, and verify count direction during commissioning. For safety-critical motion systems, a general-purpose encoder acquisition unit should not replace certified safety feedback or protective controls.\u003c\/p\u003e\u003cp\u003eTechnical setup details are available in the \u003ca href=\"https:\/\/docs.m5stack.com\/en\/products\/sku\/U161\" target=\"_blank\" rel=\"noopener\"\u003eM5Stack ExtEncoder documentation\u003c\/a\u003e.\u003c\/p\u003e","brand":"LogicBoundless","offers":[{"title":"Default Title","offer_id":49240545722583,"sku":"LB-M5-U161","price":8.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0801\/8952\/2135\/files\/1_20c8ea56-b2bf-479d-9a43-4ca2f0211f92.webp?v=1783243366","url":"https:\/\/logicboundless.com\/products\/m5stack-external-rotary-encoder-i2c-unit","provider":"LogicBoundless","version":"1.0","type":"link"}