{"product_id":"m5stack-encoder-motor-driver-unit-drv8837dsgr","title":"M5Stack Encoder Motor Driver Unit, DRV8837DSGR, I2C, Single Channel","description":"\u003ch2\u003eDescription\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003eM5Stack Unit EncoderMotor Driver\u003c\/strong\u003e is a compact single-channel controller for a brushed motor with encoder feedback. It combines an onboard microcontroller, an H-bridge and acquisition of both encoder signals in a low-profile Unit housing. A host controller can manage one drive axis without directly implementing every power-stage and feedback connection itself.\u003c\/p\u003e\u003cp\u003eThe module suits compatible six-wire geared motors and TT geared motors with the correct pin assignment. It supports direction and duty-cycle adjustment alongside regulated motion using measured feedback. Integrated current sensing and operating-voltage detection provide additional information about the drive state. \u003cstrong\u003eA motor, mechanical axis and host controller are not included.\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eAn onboard converter reduces the external input to the required motor supply. Grove-powered operation is also available, but has a different current limit. Check nominal motor voltage, startup current and stall current before connecting a load, as well as connector compatibility. A matching connector shape alone does not establish the correct electrical assignment or sufficient power capacity.\u003c\/p\u003e\u003ch2\u003eFeatures\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eIntegrated controller:\u003c\/strong\u003e The STM32G031G8U6 processes motor commands and feedback locally. The host uses a serial two-wire interface instead of directly handling the individual power-stage connections.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSingle-channel H-bridge:\u003c\/strong\u003e The DRV8837DSGR enables forward, reverse and stop operation. With external power, the maximum motor load is 1.2 A at five volts; this rating is not blanket approval for any motor with a matching connector.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFeedback and regulation:\u003c\/strong\u003e An AB encoder with 3–15 PPR can be read. The unit supports speed control and position control, while mechanical backlash, gear ratio and encoder configuration affect the complete mechanism.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSelectable operation:\u003c\/strong\u003e Duty-cycle commands, soft start, soft stop and sleep support different motion sequences. Regulated operation requires correctly connected feedback and appropriate encoder configuration.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDrive-state measurement:\u003c\/strong\u003e An INA199A sensing circuit measures current, complemented by motor operating-voltage detection. These readings can support diagnosis and monitoring in the surrounding control application.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eProgrammable status indication:\u003c\/strong\u003e One WS2812C-2020 RGB LED provides application-defined signaling. Software can use color to indicate an operating state, but the indicator does not replace an independent safety mechanism.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eSpecifications\u003c\/h2\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eModel \/ SKU\u003c\/th\u003e\n\u003ctd\u003eU232 \/ M5-U232\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMCU\u003c\/th\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCommunication\u003c\/th\u003e\n\u003ctd\u003eI2C @ 0x2F; 0x08–0x77\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMotor Driver\u003c\/th\u003e\n\u003ctd\u003e1 × DRV8837DSGR\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMotor Load with External Power\u003c\/th\u003e\n\u003ctd\u003eDC 5V, maximum 1.2 A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eOperating Modes\u003c\/th\u003e\n\u003ctd\u003ePWM, forward\/reverse, soft start\/stop, speed\/position loops, sleep\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eEncoder\u003c\/th\u003e\n\u003ctd\u003e1 × AB, 3–15 PPR\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMotor Connector\u003c\/th\u003e\n\u003ctd\u003e1 × PH2.0-6P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eExternal Power Input\u003c\/th\u003e\n\u003ctd\u003eDC 6–12V; 1 × PH2.0-2P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGrove Connector\u003c\/th\u003e\n\u003ctd\u003e1 × HY2.0-4P; DC 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGrove Current Limit\u003c\/th\u003e\n\u003ctd\u003eTotal load ≤1 A at five volts\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCurrent Sensing\u003c\/th\u003e\n\u003ctd\u003eINA199A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eStatus Indicator\u003c\/th\u003e\n\u003ctd\u003e1 × WS2812C-2020\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Dimensions\u003c\/th\u003e\n\u003ctd\u003e32.1 × 24.0 × 8.0 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Weight\u003c\/th\u003e\n\u003ctd\u003e4.8 g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePackage Dimensions\u003c\/th\u003e\n\u003ctd\u003e138.0 × 93.0 × 11.0 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGross Weight\u003c\/th\u003e\n\u003ctd\u003e13.4 g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch2\u003eApplications\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmall mobile platform:\u003c\/strong\u003e Drive one compatible wheel motor with feedback and test defined movement segments. Additional independently driven wheels need additional control channels.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSingle articulated joint:\u003c\/strong\u003e Move a lightweight joint axis using feedback for positioning. End stops, overload handling and a suitable reference procedure remain part of the mechanical safety design.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTeaching experiments:\u003c\/strong\u003e Compare open duty-cycle operation with feedback-regulated movement. Investigate load changes, measured current and differences between requested and actual motion.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompact feed mechanism:\u003c\/strong\u003e Operate a small electrically compatible geared actuator in a prototype. Assess temperature, friction, current surges and supply capacity before extended operation.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAutomated test fixture:\u003c\/strong\u003e Repeat short movement sequences while logging electrical operating values. The host application supplies the broader sequence timing, data recording and evaluation.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eProduct List\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e1 × Unit EncoderMotor Driver\u003c\/li\u003e\n\u003cli\u003e1 × HY2.0-4P Grove cable, 20 cm\u003c\/li\u003e\n\u003cli\u003e1 × PH2.0-2P cable, 100 mm\u003c\/li\u003e\n\u003cli\u003e1 × PH2.0-6P cable, 100 mm\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eOther Content\u003c\/h2\u003e\u003ch3\u003eModel Comparison\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eFeature\u003c\/th\u003e\n\u003ctd\u003eU232 – this product\u003c\/td\u003e\n\u003ctd\u003eU233\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCommunication Interface\u003c\/th\u003e\n\u003ctd\u003eI2C\u003c\/td\u003e\n\u003ctd\u003eI2C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eChannel Count\u003c\/th\u003e\n\u003ctd\u003e1-channel encoder motor\u003c\/td\u003e\n\u003ctd\u003e4-channel encoder motor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMotor Driver\u003c\/th\u003e\n\u003ctd\u003eDRV8837DSGR\u003c\/td\u003e\n\u003ctd\u003e4x DRV8837DSGR\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMain Controller\u003c\/th\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003ctd\u003eSTM32F030C8T6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eEncoder Motor Interface\u003c\/th\u003e\n\u003ctd\u003e1x PH2.0-6P\u003c\/td\u003e\n\u003ctd\u003e4x PH2.0-6P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePower Input\u003c\/th\u003e\n\u003ctd\u003eDC 6–12V (1x PH2.0-2P)\u003c\/td\u003e\n\u003ctd\u003eDC 6–12V (2x PH2.0-2P)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eLoad Capacity\u003c\/th\u003e\n\u003ctd\u003eDC 5V@1.2A\u003c\/td\u003e\n\u003ctd\u003eSingle-channel DC 5V@1.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCurrent Detection\u003c\/th\u003e\n\u003ctd\u003eINA199\u003c\/td\u003e\n\u003ctd\u003eINA199\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGrove Interface\u003c\/th\u003e\n\u003ctd\u003e1x HY2.0-4P\u003c\/td\u003e\n\u003ctd\u003e2x HY2.0-4P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Positioning\u003c\/th\u003e\n\u003ctd\u003eSingle-motor control\u003c\/td\u003e\n\u003ctd\u003eMulti-motor control\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch3\u003eConnection and First Commissioning\u003c\/h3\u003e\u003cp\u003e\u003cstrong\u003eDisconnect all power sources before changing wiring.\u003c\/strong\u003e The six-contact connection carries motor terminals, ground, encoder supply and both feedback signals. Follow the printed pin assignment; do not confuse the motor wires with the encoder signals. Reversing motor or encoder direction can make a feedback loop drive away from its target instead of producing stable motion.\u003c\/p\u003e\u003cp\u003eAt the Grove port, match ground, supply and both bus wires to the host. First check communication with the unit, then connect an unloaded motor with the mechanism secured. Configure distinct addresses before using several devices on the same bus. Host pin assignments depend on the selected controller model.\u003c\/p\u003e\u003ch3\u003ePower and Motion Limits\u003c\/h3\u003e\u003cp\u003e\u003cstrong\u003eThe external input voltage is not the motor voltage.\u003c\/strong\u003e The internal converter provides five volts. Its converter capacity must not be interpreted as permissible motor current; the output is subject to the substantially lower driver limit. With Grove power, consider total load and the host device's own supply capability as well.\u003c\/p\u003e\u003cp\u003eBegin testing at a low target speed with clear movement space. For positioning tests, verify counting direction, pulse count, gearbox ratio and reference point before applying a movement command. Current readings and software commands do not replace an emergency stop or mechanical protection. Do not continuously energize a stalled motor.\u003c\/p\u003e\u003ch3\u003eSchematic\u003c\/h3\u003e\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u232-global-detail-01.webp?v=1794555675\" alt=\"M5Stack U232 Schematic\" loading=\"lazy\"\u003e\u003c\/p\u003e\u003ch3\u003eDimension Drawing\u003c\/h3\u003e\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u232-global-detail-02.webp?v=1794556027\" alt=\"M5Stack U232 Dimension Drawing\" loading=\"lazy\"\u003e\u003c\/p\u003e\u003ch3\u003eFeature Diagram and Included Cables\u003c\/h3\u003e\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u232-global-detail-03.webp?v=1794556074\" alt=\"M5Stack U232 Feature Diagram and Included Cables\" loading=\"lazy\"\u003e\u003c\/p\u003e\u003ch3\u003ePin Assignment\u003c\/h3\u003e\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u232-global-detail-04.webp?v=1794556115\" alt=\"M5Stack U232 Pin Assignment\" loading=\"lazy\"\u003e\u003c\/p\u003e\u003ch2\u003eResources\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/docs.m5stack.com\/en\/unit\/Unit_EncoderMotor_Driver\" target=\"_blank\" rel=\"nofollow noopener\"\u003eProduct Documentation\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/docs.m5stack.com\/en\/protocol\/U232\/I2C\" target=\"_blank\" rel=\"nofollow noopener\"\u003eCommunication Protocol\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5Unit-EncoderMotor-Driver\" target=\"_blank\" rel=\"nofollow noopener\"\u003eArduino Driver Library\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1300\/UNIT_EncoderMotor_Driver_SCH_V0.3_20260606_2026_06_23_10_19_51.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eSchematic PDF\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1300\/Unit_EncoderMotor_Driver_model_size.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eDimension Drawing PDF\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5_Hardware\/tree\/master\/Products\/U232_Unit_EncoderMotor_Driver\/Structures\" target=\"_blank\" rel=\"nofollow noopener\"\u003eMechanical Design Files\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1300\/drv8837.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eDriver Datasheet\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eFAQ\u003c\/h2\u003e\u003ch3\u003eHow many motors can it control independently?\u003c\/h3\u003e\u003cp\u003eThis product has exactly one motor channel with its corresponding encoder input. The four-channel model shown in the comparison is not included.\u003c\/p\u003e\u003ch3\u003eIs a motor included?\u003c\/h3\u003e\u003cp\u003eNo. The package contains the driver unit and the three listed connection cables. Choose an electrically and mechanically suitable motor separately.\u003c\/p\u003e\u003ch3\u003eDoes external input voltage reach the motor directly?\u003c\/h3\u003e\u003cp\u003eThe intended motor output is supplied at five volts by the onboard converter. Do not treat the higher external input as the required motor voltage.\u003c\/p\u003e\u003ch3\u003eWhat feedback is required?\u003c\/h3\u003e\u003cp\u003eA compatible two-phase encoder provides feedback. Pulse count, direction and electrical assignments must match the configuration for regulated operation.\u003c\/p\u003e\u003ch3\u003eDoes the unit work without a host?\u003c\/h3\u003e\u003cp\u003eA compatible host sends commands. Local regulation simplifies the control task but does not replace the surrounding application.\u003c\/p\u003e","brand":"M5Stack","offers":[{"title":"Default Title","offer_id":48746567336134,"sku":"M5-U232","price":19.49,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u232-global-media-01.webp?v=1794556145","url":"https:\/\/upenelab.com\/products\/m5stack-encoder-motor-driver-unit-drv8837dsgr","provider":"OpenELAB Technology Ltd.","version":"1.0","type":"link"}