{"product_id":"8-channel-servo2-i2c-unit-stm32g031","title":"8-Channel Servo2 I2C Unit (STM32G031)","description":"\u003cvideo id=\"video\" playsinline muted controls class=\"video-container\" width=\"100%\" style=\"border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\"\u003e\n  \u003csource type=\"video\/mp4\" src=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1281\/U222_U223_video_EN.mp4\"\u003e\u003c\/video\u003e\n\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\"\u003eDescription\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eUnit 8Servos2-I2C\u003c\/strong\u003e is an 8-channel servo cascade control unit featuring the \u003cstrong\u003eSTM32G031G8U6\u003c\/strong\u003e as its core controller. It adopts an I2C communication interface and provides 8x configurable IO channels that support configuring multiple operating modes: servo control, digital input \/ output, ADC input, RGB LED control, and PWM mode.\u003c\/p\u003e\n\u003cp\u003eTwo onboard HY2.0-4P interfaces are connected internally and share the same I2C bus, and a 16-position rotary encoder switch is provided for flexible configuration of the device I2C address, making it convenient to expand and connect other I2C devices. This unit supports DC 9 ~ 24V input and integrates an SY8303AIC step-down circuit to provide a 5V supply, with a maximum total output current of 3A. An onboard INA199A1DCKR current detection circuit can sample the total servo current, and input voltage and 5V supply voltage sampling circuits as well as power status indicators are also provided, making it suitable for application scenarios such as multi-servo control, robot joint drive, and smart toys.\u003c\/p\u003e\n\u003ch2 id=\"features\"\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSTM32G031G8U6 core controller\u003c\/li\u003e\n\u003cli\u003e8x configurable IO channels supporting multiple operating modes:\n\u003cul\u003e\n\u003cli\u003eServo control\u003c\/li\u003e\n\u003cli\u003eDigital input \/ output\u003c\/li\u003e\n\u003cli\u003eADC input\u003c\/li\u003e\n\u003cli\u003eRGB LED control\u003c\/li\u003e\n\u003cli\u003ePWM mode\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eCommunication interface and address configuration\n\u003cul\u003e\n\u003cli\u003eI2C communication interface\u003c\/li\u003e\n\u003cli\u003e2x HY2.0-4P interfaces for multi-I2C device expansion\u003c\/li\u003e\n\u003cli\u003e16-position rotary encoder switch for I2C address configuration\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003ePower and detection\n\u003cul\u003e\n\u003cli\u003eDC 9 ~ 24V power input, with an integrated 5V@3A step-down circuit (peripheral drive + HY2.0-4P output to power the controller)\u003c\/li\u003e\n\u003cli\u003eIntegrated total servo current monitoring\u003c\/li\u003e\n\u003cli\u003eDC input voltage detection\u003c\/li\u003e\n\u003cli\u003e5V supply voltage detection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eStatus indication\n\u003cul\u003e\n\u003cli\u003eRed indicator: DC power interface status indicator (lights up when the interface voltage is higher than 8.5V)\u003c\/li\u003e\n\u003cli\u003eGreen indicator: HY2.0-4P interface undervoltage status indicator (lights up when the interface voltage is lower than 4.5V)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"includes\"\u003eIncludes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1 x Unit 8Servos2-I2C\u003c\/li\u003e\n\u003cli\u003e1 x HY2.0-4P Grove Cable (20cm)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"applications\"\u003eApplications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMulti-servo control\u003c\/li\u003e\n\u003cli\u003eRobot joint drive\u003c\/li\u003e\n\u003cli\u003eSmart toys\u003c\/li\u003e\n\u003cli\u003eSTEAM education\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 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\u003eConfigurable IO Channels\u003c\/td\u003e\n\u003ctd\u003e8, supports operating modes: servo control, digital input \/ output, ADC input, RGB LED, PWM mode\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eIO Channel Interface\u003c\/td\u003e\n\u003ctd\u003e8 x 2.54-3P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCommunication Interface\u003c\/td\u003e\n\u003ctd\u003eI2C @ 0x25 ~ 0x34\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDC Power Input Interface\u003c\/td\u003e\n\u003ctd\u003eInput voltage: DC 9 ~ 24V, spec: 5.5 x 2.1mm, polarity: center positive, outer negative\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eStep-Down Chip\u003c\/td\u003e\n\u003ctd\u003eSY8303AIC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower Output\u003c\/td\u003e\n\u003ctd\u003eDC 5V, max 3A (shared by all onboard loads)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCurrent Detection Circuit\u003c\/td\u003e\n\u003ctd\u003eINA199A1DCKR, paired with a 10mΩ sampling resistor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eIndicator\u003c\/td\u003e\n\u003ctd\u003eRed DC input monitoring indicator, green undervoltage monitoring indicator\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eStandby Power Consumption\u003c\/td\u003e\n\u003ctd\u003eDC 12V@4.56mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOperating Power Consumption\u003c\/td\u003e\n\u003ctd\u003eDC 12V@1.6A (8 servo loads)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eProduct Size\u003c\/td\u003e\n\u003ctd\u003e56.0 x 24.0 x 11.5mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eProduct Weight\u003c\/td\u003e\n\u003ctd\u003e11.6g\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 13.0mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGross Weight\u003c\/td\u003e\n\u003ctd\u003e17.2g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2 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 8Servos2-I2C \u003cimg src=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1281\/U222_Unit_8Servos2-I2C_main_pictures_02.jpg\" alt=\"Unit 8Servos2-I2C\" width=\"100\" height=\"100\"\u003e\n\u003c\/th\u003e\n\u003cth\u003eUnit 8Servos2-Chain \u003cimg src=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1280\/U223_Unit_8Servos2-Chain_main_pictures_02.jpg\" alt=\"Unit 8Servos2-Chain\" width=\"100\" height=\"100\"\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\u003eUART (Chain Protocol)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eNode Expansion\u003c\/td\u003e\n\u003ctd\u003eI2C address: 0x25 ~ 0x34\u003c\/td\u003e\n\u003ctd\u003eChain cascade\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eChannel Count\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOperating Modes\u003c\/td\u003e\n\u003ctd\u003eDigital input\/output \/ Servo \/ ADC \/ RGB \/ PWM\u003c\/td\u003e\n\u003ctd\u003eDigital input\/output \/ Servo \/ ADC \/ RGB \/ PWM\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower Input\u003c\/td\u003e\n\u003ctd\u003eDC 9 ~ 24V\u003c\/td\u003e\n\u003ctd\u003eDC 9 ~ 24V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eServo Power Supply\u003c\/td\u003e\n\u003ctd\u003eDC 5V\u003c\/td\u003e\n\u003ctd\u003eDC 5V\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\u003eCore Chip\u003c\/td\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003ctd\u003eSTM32G031G8U6\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\/U222\" 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":50379686215937,"sku":"U222","price":12.95,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0056\/7689\/2250\/files\/U222_8-Channel_Servo2_I2C_Unit_STM32G031_1.webp?v=1790220820","url":"https:\/\/shop.m5stack.com\/products\/8-channel-servo2-i2c-unit-stm32g031","provider":"M5Stack-Store","version":"1.0","type":"link"}