[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-690351-105":59,"doc-detail-690351-en":130,"doc-similar-690351":149},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","grove-i2c-motor-driver-l298p-features-and-setup-guide","Grove - I2C Motor Driver (L298P) - Features and Setup Guide","","Grove I2C Motor Driver (L298P) is a 2-channel motor driver for DC, stepping, and servo motor control using an embedded STM32 MCU to burn control code. Each channel supports up to 1A (max 2A total) with a 6V–12V DC input. It communicates via the Grove I2C interface with selectable address from 0x00 to 0x0f (default 0x0f). The guide covers MCU/driver features, item specifications, supported platforms, wiring, and Arduino code examples for DC motor speed/direction, stop(), and stepper stepping with step ranges -1024 to 1024.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/grove-i2c-motor-driver-l298p-features-and-setup-guide/690351/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/grove-i2c-motor-driver-l298p-features-and-setup-guide/690351.png","ImageObject",300,407,{"name":92,"@type":93},"I feel Different","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the default I2C address for the Grove I2C Motor Driver (L298P)?","Question",{"text":112,"@type":113},"The default I2C address is 0x0f. It can be changed to values from 0x00 to 0x0f by connecting the wire hat.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What power supply and current limits are supported?",{"text":117,"@type":113},"The driver needs 6V–12V DC input. Each channel can support up to 1A, and the maximum total output current is 2A.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the DC motor speed and direction work in the provided Arduino example?",{"text":121,"@type":113},"Use speed(MOTOR1, _speed) or speed(MOTOR2, _speed) with _speed in -100~100. When _speed > 0 the motor runs clockwise, when _speed \u003C 0 it runs anticlockwise, and larger absolute values produce faster motion.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},690351,1794163804,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":8,"preview_urls":144},962093541761,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","# Grove - I2C Motor Driver ( L298P)\n\nGrove - I2C Motor Driver(L298P) is a common-use motor driver forstepping motor and servo motor. It embeds an STM32 chip for  \nburning the code to control the motor driver. This is a 2-channel  \nmotor driver, each channel can support up to 1A current. You can  \nalso use the I2C interface to transmit data from the peripheralmicrocontroller. The default I2C address is 0x0f and you are able to  \nhttps://wiki.seeedstudio.com/Grove-I2C-Motor-Driver-L298P/\\#software-code-1-dc-motor 1/ 10  \nchange the address of Motor driver by connecting the I2C wire hat.The I2C address is selectable from 0x00 to 0X0f.  \n [ https://www.seeedstudio.com/Grove-I2C-Motor-Driver-L298P-p-4534.html]  \n## Features\n\n MCU: STM32f030f4P6 microcontroller for burning the code andcontrol the Motor Driver.  \n L298P Motor driver chip: common use for a motor driver andcan drive stepping motor and servo motor.  \n Selectable I2C address: change the connection of wire hat toget the I2C address from 0x00 to 0x0f, the default I2C addressis 0x0f.  \n 2-channel output: able to support 1A current on each channel,max 2A current; Need 6V-12V DC voltage input.  \n User LED: green LED on forthe clockwise direction and red LEDon forthe anti-clockwise direction for each channel.  \n## Speci¦ cation\n\nhttps://wiki.seeedstudio.com/Grove-I2C-Motor-Driver-L298P/\\#software-code-1-dc-motor 2/ 10  \n## Item Value\n\nMCU STM32f030f4P6  \n\n| Power Supply   | 6-12V DC   |\n| --- | --- |\n| Interface   | Grove I2C   |\n| I2C address   | Default 0x0f, can be changed by connecting the wire hat   |\n| Channel   | 2   |\n| Output current   | MAX 2A, 1A for each channel   |\n\nOutput voltage 5V  \n## Platform Supported\n\n\n| Arduino   |  | RaspberryPi   |  |  |  |\n| --- | --- | --- | --- | --- | --- |\n| |  | |  |  |  |\n| |  |  | |  | |\n\n## Getting Started\n\nUse Ard uino platform  \nhttps://wiki.seeedstudio.com/Grove-I2C-Motor-Driver-L298P/\\#software-code-1-dc-motor 3/ 10  \n## Materials Requied\n\n| Seeeduino V4.2   | Base Shield   |\n| --- | --- |\n| | |\n\nGet One Now  \n[ https://www.seeedstudio.com/Seeeduino-V4.2-p-2517.html]  \nGet One Now  \n[ https://www.seeedstudio.com/BaseShield-V2-p-1378 . html]  \n## Hardware connection\n\nhttps://wiki.seeedstudio.com/Grove-I2C-Motor-Driver-L298P/\\#software-code-1-dc-motor 4/ 10  \nStep 1 Connect Grove - I2C Motor Driver (L298P) to port I2C ofGrove-Base Shield.  \n Step 2 Plug Grove - Base Shield into Seeeduino.  \n Step 3 Connect Seeeduino to PC via a USB cable.  \n### Software Code 1 - DC Motor\n\n1 \\# include \"Grove_I2C_Motor_Driver . h \"2  \n3 // default I2C address is 0x0f  \n4 \\#define I2C_ADDRESS 0x0f5  \n6 void setup() {  \n7 Serial. begin (9600) ;  \n8 Motor . begin ( I2C_ADDRESS) ;  \n9 }  \n10  \n11 void loop() {  \n􀃅  \nhttps://wiki.seeedstudio.com/Grove-I2C-Motor-Driver-L298P/\\#software-code-1-dc-motor 5/ 10  \n12 // Set speed of MOTOR1, Clockwise, speed: -100~100  \n13 Motor . speed(MOTOR1 , 50) ;  \n14 // Set speed of MOTOR2, Anticlockwise  \n15 Motor . speed(MOTOR2 , -70) ;  \n16 delay( 2000) ;  \n17 // Change speed and direction of MOTOR1  \n18 Motor . speed(MOTOR1 , -100) ;  \n19 // Change speed and direction of MOTOR2  \n20 Motor . speed(MOTOR2 , 100) ;  \n21 delay( 2000) ;  \n22 // Stop MOTOR1 and MOTOR2  \n23 Motor . stop(MOTOR1) ;  \n24 Motor . stop(MOTOR2) ;  \n25 delay( 2000) ;  \n26 }  \n Step 1 Download the Grove_I2C_Motor_Driver_v1_ 3 Library[ https://github.com/Seeed-  \nStudio/Grove_I2C_Motor_Driver_v1_ 3/archive/master.zip] fromGithub.  \n Step 2 Refer How to install library  \n[ https://wiki.seeedstudio.com/How_to_install_Arduino_Library]to install library for Arduino.  \n Step 3 Copy the code into Arduino IDE and upload. If you do notknowhow to upload the code, please check how to uploadcode [https://wiki.seeedstudio.com/Upload_Code/].  \nWith speed() function, you are able to drive one motor at the speedyou want.  \n motor_id represents which motor to use. You can ¦ll MOTOR1or MOTOR2 .  \n _speed represents the speedyou set to the motor. You can ¦ll-100~","cbCaik7ayFtRReoJ","https://ap.wps.com/l/cbCaik7ayFtRReoJ","pdf",2441506,"English","# Features\n# Specification\n# Platform Supported\n# Getting Started\n# Materials Required\n# Hardware Connection\n# Software Code 1 - DC Motor\n# Software Code 2 - Stepper Motor\n# Take 24BYJ48 Stepper Motor as an Example\n# Resources","[{\"question\":\"What is the default I2C address for the Grove I2C Motor Driver (L298P)?\",\"answer\":\"The default I2C address is 0x0f. It can be changed to values from 0x00 to 0x0f by connecting the wire hat.\"},{\"question\":\"What power supply and current limits are supported?\",\"answer\":\"The driver needs 6V–12V DC input. Each channel can support up to 1A, and the maximum total output current is 2A.\"},{\"question\":\"How does the DC motor speed and direction work in the provided Arduino example?\",\"answer\":\"Use speed(MOTOR1, _speed) or speed(MOTOR2, _speed) with _speed in -100~100. When _speed \\u003e 0 the motor runs clockwise, when _speed \\u003c 0 it runs anticlockwise, and larger absolute values produce faster motion.\"}]","Grove - I2C Motor Driver (L298P) - Features and Setup Guide | PDF",25,[145],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/568d911d6c41c9f73c246bf48f7092e6.webp",983,1390,{"list":150,"token":66},[151,157,163,169,175,181,187,193,199,205],{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":24,"category_name":30,"create_tm":156},699825,"Grove - I2C Motor Driver (TB6612FNG)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011546388/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=emGDBJy5Aa5FwU5EojiwRqenO3Q%3D","grove-i2c-motor-driver-tb6612fng",1794507466,{"doc_id":158,"doc_title":159,"file_type":137,"home_preview_img_url":160,"slug":161,"view_count":29,"category_name":30,"create_tm":162},720770,"L293D Motor Shield - Module - Motor Controller Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024405039/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=Fj1JiT91PVyMOTSnMpK7xlIP6Hg%3D","l293d-motor-shield-module-motor-controller-datasheet",1795039271,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":30,"create_tm":168},690347,"Grove-4-Channel SPDT Relay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002021148/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=Fj1eQW5v6NHC6etmUgrvtvmv9E4%3D","grove-4-channel-spdt-relay",1794163761,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":29,"category_name":30,"create_tm":174},720766,"Keyes L298N Motor Shield - Introduction - Features and Usage Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024404744/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=u2ww2e4NqamMkRG2cGTXBA%2B4Cuc%3D","keyes-l298n-motor-shield-introduction-features-and-usage-guide",1795039207,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":44,"category_name":30,"create_tm":180},689890,"PCA9685 16-Channel 12-bit PWM Servo Motor Driver I2C Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002212463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=2A9Ga9JDac4uIXtouGazbX82oHo%3D","pca9685-16-channel-12-bit-pwm-servo-motor-driver-i2c-module",1794133095,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":186},689889,"Adafruit PCA9685 16-Channel Servo Driver","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002212409/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=Dvsng%2Fb5jmB0A4UiCEY4LGjdaY4%3D","adafruit-pca9685-16-channel-servo-driver",1794133091,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":34,"category_name":30,"create_tm":192},689955,"Adafruit DRV8833 DC/Stepper Motor Driver Breakout Board","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001482225/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=n8D0%2BZCPxSw7dkbozYMd7b7iYWM%3D","adafruit-drv8833-dcstepper-motor-driver-breakout-board",1794139890,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":24,"category_name":30,"create_tm":198},720777,"L293D Quadruple H-Bridge Motor Shield For Arduino - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024405049/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=3UdrMgewjL4cm%2Bulc7n9bSWOxwo%3D","l293d-quadruple-h-bridge-motor-shield-for-arduino-user-guide",1795039288,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":29,"category_name":30,"create_tm":204},689951,"DRV8833 - Dual H-Bridge Motor Driver - TI Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002316632/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=p8DePT%2Bn2IPx00KJrmchOxwfljU%3D","drv8833-dual-h-bridge-motor-driver-ti-datasheet",1794139880,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":44,"category_name":30,"create_tm":204},689952,"Adafruit DRV8833 DC/Stepper Motor Driver Breakout Board - Overview - Wiring - Software - Python & CircuitPython","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002316631/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=roWOypjpfWESAfrCPaS5PLqcwws%3D","adafruit-drv8833-dcstepper-motor-driver-breakout-board-overview-wiring-software-python-circuitpython"]