{"product_id":"encoder-motor-driver-unit-drv8837dsgr","title":"Encoder Motor Driver Unit (DRV8837DSGR)","description":"\u003cstyle\u003e\n\/* ===== Scoped Description Style ===== *\/\n.product-description.rte {\n  font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;\n  color: #2c2c2c;\n  line-height: 1.65;\n  font-size: 16px;\n}\n\n\/* ===== Headings ===== *\/\n.product-description.rte h2 {\n  font-size: 1.8em;\n  color: #0D47A1;\n  border-left: 4px solid #1f6fe5;\n  padding-left: 12px;\n  margin-top: 32px;\n  margin-bottom: 16px;\n}\n\n\/* ===== H3 Titles Optimization ===== *\/\n.product-description.rte h3 {\n  font-size: 1.4em;\n  color: #0D47A1;\n  margin-top: 24px;\n  margin-bottom: 12px;\n  font-weight: 500;\n  padding-bottom: 6px;\n  border-bottom: 2px solid #e6e6e6;\n}\n\n\/* ===== Paragraphs ===== *\/\n.product-description.rte p {\n  margin-bottom: 20px;\n  line-height: 1.8;\n  color: #4a4f57;\n  font-size: 16px;\n}\n\n\/* ===== Paragraph Images (only in description) ===== *\/\n.product-description.rte img {\n  display: block;\n  max-width: 100%;\n  height: auto;\n  margin: 24px auto;\n  border-radius: 12px;\n  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);\n}\n\n\/* ===== Lists ===== *\/\n.product-description.rte ul {\n  padding-left: 20px;\n  margin-bottom: 16px;\n  list-style-type: disc;\n}\n.product-description.rte li {\n  margin-bottom: 6px;\n}\n\n\/* ===== Links ===== *\/\n.product-description.rte a {\n  color: #0288D1;\n  text-decoration: none;\n  transition: color 0.3s ease;\n}\n.product-description.rte a:hover {\n  color: #01579B;\n}\n\n\/* ===== M5Stack-style Spec Table ===== *\/\n.product-description.rte .table-container {\n  width: 100%;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.product-description.rte .table-container table {\n  width: 100%;\n  border-collapse: collapse;\n  font-family: inherit;\n  font-size: 14px;\n  color: #2c2f36;\n  background-color: #ffffff;\n  border-radius: 10px;\n  overflow: hidden;\n  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);\n}\n.product-description.rte .table-container thead th {\n  background: #1f6fe5;\n  color: #ffffff;\n  padding: 14px 16px;\n  text-align: left;\n  font-weight: 600;\n  border: none;\n  vertical-align: middle;\n}\n.product-description.rte .table-container td {\n  padding: 14px 16px;\n  border-bottom: 1px solid #e6ebf2;\n  vertical-align: middle;\n  text-align: left;\n}\n.product-description.rte .table-container tbody td:first-child {\n  width: 36%;\n  text-align: left;\n  font-weight: 500;\n  color: #4a4f57;\n  background-color: rgba(31, 111, 229, 0.02);\n}\n.product-description.rte .table-container tbody tr:nth-child(even) {\n  background-color: #f7f9fc;\n}\n@media (hover: hover) {\n  .product-description.rte .table-container tbody tr:hover {\n    background-color: #eef3ff;\n  }\n}\n\n\/* ===== Learn \u0026 Documents Button ===== *\/\n.product-description.rte #learn-and-documents-btn {\n  display: inline-flex;\n  align-items: center;\n  padding: 6px 14px;\n  background-color: #1f6fe5;\n  color: #ffffff;\n  font-weight: 600;\n  border-radius: 6px;\n  margin-top: 8px;\n  text-decoration: none;\n  transition: background 0.3s ease;\n}\n.product-description.rte #learn-and-documents-btn:hover {\n  background-color: #1661c1;\n}\n\n\/* ===== Responsive Design for Smaller Screens (with table adjustments) ===== *\/\n@media screen and (max-width: 768px) {\n  .product-description.rte .table-container table,\n  .product-description.rte .table-container thead,\n  .product-description.rte .table-container tbody,\n  .product-description.rte .table-container th,\n  .product-description.rte .table-container td,\n  .product-description.rte .table-container tr {\n    display: block;\n    width: 100%;\n  }\n  .product-description.rte .table-container thead {\n    display: none;\n  }\n  .product-description.rte .table-container tbody tr {\n    padding: 12px 0;\n    border-bottom: 1px solid #e6ebf2;\n  }\n  .product-description.rte .table-container tbody td {\n    padding: 8px 16px;\n    border: none;\n    text-align: left;\n  }\n  .product-description.rte .table-container tbody td:first-child {\n    width: 100%;\n    background: none;\n    color: #1f6fe5;\n    font-weight: 600;\n    padding-top: 16px;\n  }\n  .product-description.rte .table-container tbody td:last-child {\n    padding-bottom: 16px;\n    color: #2c2f36;\n    line-height: 1.6;\n  }\n\n  \/* Ensure button appears correctly on mobile *\/\n  .product-description.rte #learn-and-documents-btn {\n    font-size: 14px;\n    padding: 8px 16px;\n  }\n}\n\u003c\/style\u003e\n\u003ch2 id=\"description\" data-id=\"Description\"\u003eDescription\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eUnit EncoderMotor Driver\u003c\/strong\u003e is a single-channel encoder DC motor driver unit featuring an \u003cstrong\u003eSTM32G031G8U6\u003c\/strong\u003e main controller. It uses an I2C communication interface and provides one DC 5V motor output with a corresponding A\/B encoder input, making it suitable for 6-wire encoder geared motors and TT geared motors. The driver supports PWM speed control, forward\/reverse control, and closed-loop speed and position control. It integrates an INA199A current-sensing circuit and motor operating voltage detection, enabling real-time monitoring of motor current and voltage.\u003c\/p\u003e\n\u003cp\u003eAn onboard programmable RGB LED indicates the device operating status. The unit accepts an external DC 6 ~ 12V input and provides a DC 5V motor output through an onboard DC-DC buck converter. It is suitable for robot drive mechanisms, joint modules, smart cars, and similar applications.\u003c\/p\u003e\n\u003ch2 id=\"features\" data-id=\"Features\"\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSTM32F030C8T6 main controller\u003c\/li\u003e\n\u003cli\u003eSingle-channel encoder motor drive\n\u003cul\u003e\n\u003cli\u003eCompatible with 6-wire encoder geared motors \/ TT geared motors (M+ \/ M- \/ GND \/ 5V \/ EN_B \/ EN_A)\u003c\/li\u003e\n\u003cli\u003eSupports 3 ~ 15 PPR encoders\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eMotor control\n\u003cul\u003e\n\u003cli\u003ePWM speed control\u003c\/li\u003e\n\u003cli\u003eForward\/reverse \/ stop\u003c\/li\u003e\n\u003cli\u003eA\/B phase counting\u003c\/li\u003e\n\u003cli\u003eSpeed loop \/ position loop closed-loop control\u003c\/li\u003e\n\u003cli\u003eSoft start \/ soft stop\u003c\/li\u003e\n\u003cli\u003eSleep\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eI2C communication interface\n\u003cul\u003e\n\u003cli\u003eDefault address 0x2F, software-configurable (0x08 ~ 0x77)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eFlexible power supply\n\u003cul\u003e\n\u003cli\u003eExternal power input: DC 6 ~ 12V\u003c\/li\u003e\n\u003cli\u003eGrove interface power input: DC 5V\u003c\/li\u003e\n\u003cli\u003eIntegrated DC-DC buck converter for motor power and Grove interface output, with a maximum load of DC 5V@8A\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eMotor load\n\u003cul\u003e\n\u003cli\u003eExternal power supply: maximum motor load DC 5V@1.2A\u003c\/li\u003e\n\u003cli\u003eGrove interface power supply: total load ≤ DC 5V@1A\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003ePower monitoring\n\u003cul\u003e\n\u003cli\u003eINA199A motor current detection\u003c\/li\u003e\n\u003cli\u003eMotor DC 5V operating voltage detection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eProgrammable RGB indicator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"includes\" data-id=\"Includes\"\u003eIncludes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1 x Unit EncoderMotor Driver\u003c\/li\u003e\n\u003cli\u003e1 x HY2.0-4P Grove cable (20cm)\u003c\/li\u003e\n\u003cli\u003e1 x PH2.0-2P cable (100mm)\u003c\/li\u003e\n\u003cli\u003e1 x PH2.0-6P cable (100mm)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"applications\" data-id=\"Applications\"\u003eApplications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eClosed-loop control of encoder motors\u003c\/li\u003e\n\u003cli\u003eRobot drive mechanisms \/ joint drives\u003c\/li\u003e\n\u003cli\u003eSmart cars\u003c\/li\u003e\n\u003cli\u003eSpeed \/ position control for conveyors, turntables, and similar equipment\u003c\/li\u003e\n\u003cli\u003eSTEAM education and motor control instruction\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"specifications\" data-id=\"Specifications\"\u003eSpecifications\u003c\/h2\u003e\n\u003cdiv class=\"table-container\"\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eMCU\u003c\/td\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCommunication Interface\u003c\/td\u003e\n\u003ctd\u003eI2C @ 0x2F, software-configurable (0x08 ~ 0x77)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMotor Driver\u003c\/td\u003e\n\u003ctd\u003eSingle-channel DRV8837DSGR H-bridge motor driver\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMotor Load\u003c\/td\u003e\n\u003ctd\u003eMaximum load: DC 5V@1.2A (external input supply DC 6 ~ 12V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMotor Operating Modes\u003c\/td\u003e\n\u003ctd\u003ePWM speed control, forward\/reverse, soft start \/ soft stop, speed loop, position loop, sleep\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eEncoder\u003c\/td\u003e\n\u003ctd\u003eSingle-channel AB encoder input, supports 3 ~ 15 PPR\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eEncoder Motor Interface\u003c\/td\u003e\n\u003ctd\u003ePH2.0-6P, compatible with 6-wire encoder geared motors \/ TT geared motors (M+ \/ M- \/ GND \/ 5V \/ EN_B \/ EN_A)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower Supply\u003c\/td\u003e\n\u003ctd\u003ePH2.0-2P external DC power input: DC 6 ~ 12V \u003cbr\u003eHY2.0-4P Grove power input: DC 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCurrent Detection\u003c\/td\u003e\n\u003ctd\u003eINA199A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRGB LED\u003c\/td\u003e\n\u003ctd\u003e1x WS2812C-2020\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eProduct Size\u003c\/td\u003e\n\u003ctd\u003e32.1 x 24.0 x 8.0mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eProduct Weight\u003c\/td\u003e\n\u003ctd\u003e4.8g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePackage Size\u003c\/td\u003e\n\u003ctd\u003e138.0 x 93.0 x 11.0mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGross Weight\u003c\/td\u003e\n\u003ctd\u003e13.4g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2 id=\"product-comparison\" data-id=\"Product Comparison\"\u003eProduct Comparison\u003c\/h2\u003e\n\u003cdiv class=\"compare-table-container\"\u003e\n\u003cdiv class=\"table-container\"\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Compare\u003c\/th\u003e\n\u003cth\u003eUnit EncoderMotor Driver \u003cimg src=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1300\/U232_Unit_EncoderMotor_Driver_main_pictures_02.jpg\" alt=\"Unit EncoderMotor Driver\" width=\"80\" height=\"80\"\u003e\n\u003c\/th\u003e\n\u003cth\u003eUnit 4EncoderMotor Driver \u003cimg src=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1301\/U233_Unit_4EncoderMotor_Driver_main_pictures_02.jpg\" alt=\"Unit 4EncoderMotor Driver\" width=\"80\" height=\"80\"\u003e\n\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eCommunication Interface\u003c\/td\u003e\n\u003ctd\u003eI2C\u003c\/td\u003e\n\u003ctd\u003eI2C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eChannel Count\u003c\/td\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\u003ctd\u003eMotor Driver\u003c\/td\u003e\n\u003ctd\u003eDRV8837DSGR\u003c\/td\u003e\n\u003ctd\u003e4x DRV8837DSGR\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMain Controller\u003c\/td\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003ctd\u003eSTM32F030C8T6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eEncoder Motor Interface\u003c\/td\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\u003ctd\u003ePower Input\u003c\/td\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\u003ctd\u003eLoad Capacity\u003c\/td\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\u003ctd\u003eCurrent Detection\u003c\/td\u003e\n\u003ctd\u003eINA199\u003c\/td\u003e\n\u003ctd\u003eINA199\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGrove Interface\u003c\/td\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\u003ctd\u003eProduct Positioning\u003c\/td\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\n\u003c\/table\u003e\n\u003ch2\u003eLearn and Documents\u003c\/h2\u003e\n\u003ca href=\"https:\/\/docs.m5stack.com\/en\/products\/sku\/U232\" id=\"learn-and-documents-btn\" target=\"_blank\"\u003e → DOCUMENTS \u003c\/a\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"M5Stack-Store","offers":[{"title":"Default Title","offer_id":51144210874625,"sku":"U232","price":9.5,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0056\/7689\/2250\/files\/U232_Encoder_Motor_Driver_Unit_DRV8837DSGR_1.webp?v=1794541806","url":"https:\/\/shop.m5stack.com\/products\/encoder-motor-driver-unit-drv8837dsgr","provider":"M5Stack-Store","version":"1.0","type":"link"}