{"publisher":"Xirkit — the structured parts marketplace","canonical":"https://www.xirkit.io/products/m5stack-unit-encoder-u135-e63f","markdown":"https://www.xirkit.io/products/m5stack-unit-encoder-u135-e63f/data.md","mcp":"https://www.xirkit.io/mcp","note":"Every value is traced to a cited source (see sources and per-value src). Null means unknown, never zero.","record":{"id":"e63f3a12-5ea5-50d9-a2a6-f04c801069e4","mpn":"U135","name":"M5Stack Unit Encoder (U135)","manufacturer":"M5Stack","family":"encoder","summary":"M5Stack U135 Unit Encoder: an I2C rotary encoder unit — 30-position pulse knob (30 pulses per turn) with push button and 2× SK6812 RGB LEDs, read by an on-board STM32F030 that reports the accumulated count over I2C (0x40) on an HY2.0-4P Grove port; 5 V at 17 mA, 32 × 24 × 25.4 mm, 7.4 g.","schema_version":"3.0","revision":null,"tags":["encoder","rotary encoder","i2c rotary encoder","m5stack unit","m5stack encoder","grove encoder","rgb encoder","m5stack","mechanical encoder","incremental encoder","i2c encoder","robotics"],"sources":[{"other":{},"id":"datasheet","url":"https://shop.m5stack.com/products/encoder-unit","title":"M5Stack Unit Encoder (U135) datasheet","publisher":"M5Stack","kind":"datasheet","retrieved_at":"2026-10-01T12:29:18+00:00","field_paths":["spec.constraints.electrical.supply_voltage_max_v","spec.constraints.electrical.supply_voltage_min_v","spec.geometry.cad.bbox.height_mm","spec.geometry.cad.bbox.length_mm","spec.geometry.cad.bbox.width_mm","spec.geometry.cad.envelope_complete","spec.geometry.cad.mesh_path","spec.geometry.cad.step_path","spec.geometry.cad.verification","spec.geometry.dimensions.height_mm","spec.geometry.dimensions.length_mm","spec.geometry.dimensions.width_mm","spec.geometry.other.weight_g","spec.provides.channels","spec.provides.encoder_type","spec.provides.features","spec.provides.index_channel","spec.provides.interface","spec.provides.output_type","spec.provides.resolution_ppr","spec.provides.sensing","spec.usage.connectors","spec.usage.pinout","spec.usage.pinout_complete","spec.usage.requirements.other.supply_current_ma"],"notes":"sha256 20c47fc12f52692ace3329fd4a9e17eb48b96bc152bca7ec842a43ad26bdb9ef"},{"other":{},"id":"offer0","url":"https://shop.m5stack.com/products/encoder-unit","title":"shop.m5stack.com listing","publisher":null,"kind":"distributor","retrieved_at":"2026-10-01T12:32:56+00:00","field_paths":["offers"],"notes":null}],"assets":[{"other":{},"kind":"datasheet","url":"https://shop.m5stack.com/products/encoder-unit","label":"Datasheet","verification":"manufacturer","notes":null},{"other":{},"kind":"image","url":"https://shop.m5stack.com/cdn/shop/products/1_96df0d7b-e936-44e3-b9c8-a98efe7d26ea_1200x1200.jpg?v=1640940117","label":"M5Stack Unit Encoder (U135) — product photo","verification":"manufacturer","notes":"store og:image"},{"other":{},"kind":"cad","url":"m5stack-encoder-unit-u135.step","label":"STEP (generated from datasheet drawing)","verification":"generated","notes":"cad_check passed"}],"offers":[{"other":{"sku":"U135","price_breaks":[]},"supplier":"shop.m5stack.com","url":"https://shop.m5stack.com/products/encoder-unit","currency":"USD","unit_price":7.95,"stock_status":"in_stock","region":"US","minimum_quantity":null,"checked_at":"2026-10-01T12:32:56+00:00","lead_time_days_min":null,"lead_time_days_max":null,"destination":"US","destination_postal_code":null,"notes":null}],"best_for":[{"other":{},"label":"Learning and fast prototyping","reason":"I2C knob with button and RGB LEDs on a Grove cable — a plug-in setpoint / menu input for M5Stack-based robot controllers.","basis":"engineering_inference"}],"children":[],"spec":{"other":{},"usage":{"other":{},"pinout":[{"id":"GND","kind":"ground","label":"GND","other":{},"position":"PORT.A-1","connector":"HY2.0-4P (Grove)","functions":["ground"],"voltage_v":0,"electrical":{}},{"id":"5V","kind":"power_in","label":"5V","notes":"5 V supply","other":{},"position":"PORT.A-2","connector":"HY2.0-4P (Grove)","functions":["power_in"],"electrical":{}},{"id":"SDA","kind":"data","label":"SDA","notes":"I2C data","other":{},"position":"PORT.A-3","connector":"HY2.0-4P (Grove)","functions":["sda"],"electrical":{}},{"id":"SCL","kind":"clock","label":"SCL","notes":"I2C clock","other":{},"position":"PORT.A-4","connector":"HY2.0-4P (Grove)","functions":["scl"],"electrical":{}}],"derived":{},"connectors":[{"id":"porta","kind":"HY2.0-4P Grove (PORT.A, I2C)","other":{},"pin_count":4}],"pin_mappings":[],"requirements":{"other":{"supply_current_ma":17},"data_inputs":[],"power_inputs":[]},"pinout_complete":true},"geometry":{"cad":{"bbox":{"width_mm":24,"height_mm":25.4,"length_mm":32},"features":[],"mesh_path":"m5stack-encoder-unit-u135.stl","step_path":"m5stack-encoder-unit-u135.step","assumptions":[],"verification":"generated","envelope_complete":true},"other":{"weight_g":7.4},"derived":{},"dimensions":{"other":{},"width_mm":24,"height_mm":25.4,"length_mm":32},"feature_boxes":[],"mounting_holes":[]},"provides":{"other":{},"derived":{},"sensing":"mechanical","channels":"decoded on board (count over I2C)","features":["Push button built into the knob","2× SK6812 programmable RGB LEDs","On-board STM32F030F4P6 counts the pulses; host reads a total over I2C"],"interface":"i2c","output_type":"I2C count + button state (address 0x40)","capabilities":[],"encoder_type":"incremental","index_channel":false,"resolution_ppr":30},"compliance":{"other":{},"derived":{},"certifications":[]},"constraints":{"other":{},"derived":{},"thermal":{"other":{}},"electrical":{"other":{},"supply_voltage_max_v":5,"supply_voltage_min_v":5}}},"other":null,"source_type":"pdf","source_ref":"https://shop.m5stack.com/products/encoder-unit","datasheet":{"cad":{"bbox":{"max":[32,24,25.4],"min":[0,0,0],"width_mm":24,"height_mm":25.4,"length_mm":32},"check":{"failed":[],"passed":true},"expected":[{"x":32,"y":24,"name":"envelope","what":"box_xy"},{"what":"envelope_z","value":25.4}],"archetype":"envelope_box","mesh_path":"/Users/sumeet/Documents/Xirkit Parent/XirkitOnboard/work/m5stack-encoder-unit-u135/07_cad/part.stl","step_path":"/Users/sumeet/Documents/Xirkit Parent/XirkitOnboard/work/m5stack-encoder-unit-u135/07_cad/part.step","views_png":"/Users/sumeet/Documents/Xirkit Parent/XirkitOnboard/work/m5stack-encoder-unit-u135/07_cad/views.png","export_stl":"m5stack-encoder-unit-u135.stl","assumptions":[],"export_step":"m5stack-encoder-unit-u135.step","envelope_complete":true},"chips":[],"fields":{"weight":{"src":{"page":7,"quote":"| Product Weight | 7.4g |","method":"table","table_id":"7_1"},"unit":"g","value":7.4},"sensing":{"src":{"page":4,"quote":"- 30-position pulse encoding knob (produces 30 pulses per full rotation)","method":"text"},"unit":null,"value":"mechanical"},"channels":{"src":{"page":3,"quote":"Unit Encoder is an I2C communication interface rotary encoder expansion unit.","method":"text"},"unit":null,"value":"decoded on board (count over I2C)"},"connector":{"src":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","table_id":"18_1"},"unit":null,"value":"HY2.0-4P Grove (GND, 5V, SDA, SCL), 20 cm cable included"},"interface":{"src":{"page":7,"quote":"| Communication Interface | I2C @0x40 |","method":"table","table_id":"7_1"},"unit":null,"value":"i2c"},"output_type":{"src":{"page":7,"quote":"| Communication Interface | I2C @0x40 |","method":"table","table_id":"7_1"},"unit":null,"value":"I2C count + button state (address 0x40)"},"encoder_type":{"src":{"page":4,"quote":"- 30-position pulse encoding knob (produces 30 pulses per full rotation)","method":"text"},"unit":null,"value":"incremental"},"index_channel":{"src":{"page":4,"quote":"- 30-position pulse encoding knob (produces 30 pulses per full rotation)","method":"text"},"unit":null,"value":false},"resolution_ppr":{"src":{"page":4,"quote":"- 30-position pulse encoding knob (produces 30 pulses per full rotation)","method":"text"},"unit":null,"value":30},"supply_current":{"src":{"page":7,"quote":"| Operating Current | Encoder operation (DC 5V@17mA) |","method":"table","table_id":"7_1"},"orig":{"unit":"mA","value":17},"unit":"A","value":0.017},"supply_voltage":{"src":{"page":7,"quote":"| Operating Current | Encoder operation (DC 5V@17mA) |","method":"table","table_id":"7_1"},"unit":"V","value":5}},"groups":{"all":["GND","5V","SDA","SCL"]},"source":{"url":"https://shop.m5stack.com/products/encoder-unit","pages":22,"sha256":"20c47fc12f52692ace3329fd4a9e17eb48b96bc152bca7ec842a43ad26bdb9ef","onboarded_at":"2026-10-01T12:33:41+00:00"},"coverage":{"pct":92.6,"score":"25/27","passed":true,"explained_nulls":["resolution_cpr","max_speed","mounting","shaft_diameter","operating_temperature","thickness"]},"entities":[{"id":"GND","attrs":{"kind":"ground","label":"GND","colour":"black","position":"PORT.A-1","connector":"HY2.0-4P (Grove)","designator":"GND"},"sources":[{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}],"attr_src":{"kind":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"label":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"colour":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"position":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"connector":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"designator":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}},"functions":[],"electrical":{},"entity_type":"pin"},{"id":"5V","attrs":{"kind":"power_in","label":"5V","colour":"red","position":"PORT.A-2","connector":"HY2.0-4P (Grove)","designator":"5V","description":"5 V supply"},"sources":[{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}],"attr_src":{"kind":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"label":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"colour":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"position":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"connector":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"designator":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"description":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}},"functions":[],"electrical":{},"entity_type":"pin"},{"id":"SDA","attrs":{"kind":"data","label":"SDA","colour":"yellow","position":"PORT.A-3","connector":"HY2.0-4P (Grove)","designator":"SDA","description":"I2C data"},"sources":[{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}],"attr_src":{"kind":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"label":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"colour":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"position":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"connector":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"designator":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"description":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}},"functions":[],"electrical":{},"entity_type":"pin"},{"id":"SCL","attrs":{"kind":"clock","label":"SCL","colour":"white","position":"PORT.A-4","connector":"HY2.0-4P (Grove)","designator":"SCL","description":"I2C clock"},"sources":[{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}],"attr_src":{"kind":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"label":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"colour":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"position":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"connector":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"designator":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"},"description":{"page":18,"quote":"| PORT.A | GND | 5V | SDA | SCL |","method":"table","fragment":"entities_pins.json","table_id":"18_1"}},"functions":[],"electrical":{},"entity_type":"pin"}],"taxonomy":{"dimensions":{"role":"mechanical_dimensions","definition":"Dimension drawing or text giving board / housing size, hole, bore or envelope beyond the motor"},"site_chrome":{"role":"other","definition":"Website navigation, related products and categories, distributor lists, footers"},"installation":{"role":"software_usage","definition":"Mounting and installation instructions, alignment, magnet disc placement, compatible motors"},"pinout_wiring":{"role":"pins_or_terminals","definition":"Pinout / wiring text or schematic naming each pad, pin or wire (VCC, GND, A, B, Z, motor terminals) and what it does"},"output_signals":{"role":"performance","definition":"Output waveform / quadrature timing, pull-ups, hysteresis, counting method"},"specifications":{"role":"electrical_ratings","definition":"Specification list or table: size, weight, supply voltage range, resolution (CPR/PPR), connector, output type, speed, temperature"},"pricing_ordering":{"role":"ordering_commercial","definition":"Price breaks, item number, status, brand, stock"},"product_overview":{"role":"identity_overview","definition":"Overview of the encoder or kit: sensing principle, what it mounts on, resolution statement, what is included"}},"variants":{},"commercial":{"other":{},"checked_at":"2026-10-01T12:32:56+00:00","compliance":[],"ordering_codes":[{"code":"U135","description":"M5Stack SKU"}]},"mechanical":{"dims":{"width":{"src":{"page":7,"quote":"| Product Size | 32.0 x 24.0 x 25.4mm |","method":"table","table_id":"7_1"},"unit":"mm","value":24},"height":{"src":{"page":7,"quote":"| Product Size | 32.0 x 24.0 x 25.4mm |","method":"table","table_id":"7_1"},"unit":"mm","value":25.4},"length":{"src":{"page":7,"quote":"| Product Size | 32.0 x 24.0 x 25.4mm |","method":"table","table_id":"7_1"},"unit":"mm","value":32}},"kind":"mechanical","holes":[],"units":"mm","origin":"unit case envelope incl. knob","features":[],"archetype":"envelope_box","assumptions":{}},"page_index":[{"page":1,"tags":[],"primary":"none_of_these"},{"page":2,"tags":["pricing_ordering"],"primary":"pricing_ordering"},{"page":3,"tags":["product_overview"],"primary":"product_overview"},{"page":4,"tags":["product_overview"],"primary":"product_overview"},{"page":5,"tags":["product_overview"],"primary":"product_overview"},{"page":6,"tags":[],"primary":"none_of_these"},{"page":7,"tags":["dimensions","specifications"],"primary":"specifications"},{"page":8,"tags":[],"primary":"none_of_these"},{"page":9,"tags":[],"primary":"none_of_these"},{"page":10,"tags":["site_chrome"],"primary":"site_chrome"},{"page":11,"tags":[],"primary":"none_of_these"},{"page":12,"tags":["product_overview"],"primary":"product_overview"},{"page":13,"tags":["product_overview"],"primary":"product_overview"},{"page":14,"tags":["product_overview"],"primary":"product_overview"},{"page":15,"tags":[],"primary":"none_of_these"},{"page":16,"tags":["dimensions","specifications"],"primary":"specifications"},{"page":17,"tags":["pinout_wiring"],"primary":"pinout_wiring"},{"page":18,"tags":["pinout_wiring"],"primary":"pinout_wiring"},{"page":19,"tags":[],"primary":"specifications"},{"page":20,"tags":[],"primary":"none_of_these"},{"page":21,"tags":[],"primary":"none_of_these"},{"page":22,"tags":[],"primary":"none_of_these"}],"performance":[],"schema_name":"datasheet-1","part_ratings":{}},"use_cases":["learning-prototyping"],"commercial":{"other":{},"checked_at":"2026-10-01T12:32:56+00:00","compliance":[],"ordering_codes":[{"code":"U135","description":"M5Stack SKU"}]},"assembly_label":"Module","assembly_level":2,"search_aliases":["U135","M5Stack U135","Unit Encoder","M5Stack Encoder Unit","M5Stack Unit Encoder"],"design":{"assets":[{"other":{},"kind":"datasheet","url":"https://shop.m5stack.com/products/encoder-unit","label":"Datasheet","verification":"manufacturer","notes":null,"resolved_url":"https://shop.m5stack.com/products/encoder-unit"},{"other":{},"kind":"image","url":"https://shop.m5stack.com/cdn/shop/products/1_96df0d7b-e936-44e3-b9c8-a98efe7d26ea_1200x1200.jpg?v=1640940117","label":"M5Stack Unit Encoder (U135) — product photo","verification":"manufacturer","notes":"store og:image","resolved_url":"https://shop.m5stack.com/cdn/shop/products/1_96df0d7b-e936-44e3-b9c8-a98efe7d26ea_1200x1200.jpg?v=1640940117"},{"other":{},"kind":"cad","url":"m5stack-encoder-unit-u135.step","label":"STEP (generated from datasheet drawing)","verification":"generated","notes":"cad_check passed","resolved_url":"https://wlrumvsjnliyuuvzwnrt.supabase.co/storage/v1/object/public/geometry/m5stack-encoder-unit-u135.step"}],"cad":{"verification":"generated","envelope_complete":true,"assumptions":[],"step_path":"m5stack-encoder-unit-u135.step","mesh_path":"m5stack-encoder-unit-u135.stl","footprint_svg_path":null,"bbox":{"length_mm":32,"width_mm":24,"height_mm":25.4},"features":[],"step_url":"https://wlrumvsjnliyuuvzwnrt.supabase.co/storage/v1/object/public/geometry/m5stack-encoder-unit-u135.step","mesh_url":"https://wlrumvsjnliyuuvzwnrt.supabase.co/storage/v1/object/public/geometry/m5stack-encoder-unit-u135.stl","footprint_svg_url":null},"limitations":["Generated geometry is an approximate mechanical envelope; inspect original manufacturer CAD when available.","Generated footprint_svg_path is an outline, not a verified electrical land pattern.","Xirkit does not run fit checks; download step_url and test fit against your own enclosure."]}}}