[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720766-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-720766-en":130,"doc-similar-720766":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","keyes-l298n-motor-shield-introduction-features-and-usage-guide","Keyes L298N Motor Shield - Introduction - Features and Usage Guide","","Keyes L298N Motor Shield is a robotics motor-control platform for Arduino, enabling control of two brushed DC motors or a 4-wire two-phase stepper motor through an integrated H-bridge driver (L298N). The board supports standard Arduino compatibility, PWM speed control, direction indicator LEDs, and Grove sensor expansion via on-board 2.00mm Grove connectors. It includes a 5V regulator option, lists electrical specifications, provides hardware installation steps, and supplies example Arduino demo code using analogWrite() and digitalWrite() for motor direction and speed.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/keyes-l298n-motor-shield-introduction-features-and-usage-guide/720766/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/keyes-l298n-motor-shield-introduction-features-and-usage-guide/720766.png","ImageObject",300,407,{"name":42,"@type":43},"dawugda","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What motors can the Keyes L298N Motor Shield control?","Question",{"text":63,"@type":64},"It can drive two brushed DC motors or one 4-wire two-phase stepper motor.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How is motor speed controlled on this shield?",{"text":68,"@type":64},"Speed control is achieved using conventional PWM from the Arduino PWM outputs (EA on D9 and EB on D10) with analogWrite().",{"name":70,"@type":61,"acceptedAnswer":71},"What safety caution should be followed during operation?",{"text":72,"@type":64},"The driver IC and heat sink may become very hot when working with current more than 1000mA.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},720766,1795039207,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":55,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":143,"preview_page_count":33,"preview_urls":144},3985747870947,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Keyes L298N Motor Shield  \nIntroduction  \nThe Motor Shield is a perfect platform for robotics and mechanical applications. It enables the Arduino to drive two brushed DC motors or one 4-wire two-phase stepper motor. Based on the H-bridge driver Chip L298N motor driver integrated circuit, it requires a 6V to 15V power supply to power the motor and also includes an on-board 5V voltage regulator for powering the main Arduino board. Additional plug and play 2.00mm spacing Grove sensors can be connected to the 13 on-board Grove connectors.  \nFeatures  \nStandard Arduino compatible  \nPulse-width modulated speed control mode  \n4 direction indicator lights  \nCompatible with 2.00mm spacing Grove plug and play sensors Extra large heat sink helps handle big loads  \nSupports up to 14 servos  \nCAUTION:  \nThe Driver IC and Heat sink may become very hot when working with current more than 1000mA.  \nSpecifications  \n\n| Item | Min | Typical | Max | Unit |\n| --- | --- | --- | --- | --- |\n| Logic Control Voltage | 4.5 | 5 | 5.5 | V |\n| Motor Supply Voltage | 6 | / | 15 | V |\n| Output Voltage | 0 | / | Vinput-1 | V |\n| Output Current( For Each Channel) | / | / | 2000 * | mA |\n| Output Duty range | 0%~100% |  |  | / |\n| Dimension | 68.5x54.5x29.5 |  |  | mm |\n| Net Weight | 37 |  |  | g |\n\n* Recommend maximum duty \u003C50% at full load Interface Function  \n\n| Pin Name | Direction | Connection to Arduino | Description |\n| --- | --- | --- | --- |\n| VCC | / | VCC | Power supply selector |\n| VS, GND | / | / | Power Supply for Motor, 6V-15V |\n| EA | Input | D9 | TTL Compatible Enable Input of Bridge A |\n| EB | Input | D10 | TTL Compatible Enable Input of Bridge B |\n| IN1 | Input | D8 | TTL Compatible Inputs of the Bridge A |\n| IN2 | Input | D11 | TTL Compatible Inputs of the Bridge A |\n| IN3 | Input | D12 | TTL Compatible Inputs of the Bridge B |\n| IN4 | Input | D13 | TTL Compatible Inputs of the Bridge B |\n| M1-, M1+ | Output | / | Outputs of the Bridge A |\n| M2-, M2+ | Output | / | Outputs of the Bridge B |\n\nUsage  \nEnable Motor B jumper: Connect above two interfaces with a jumper cap when driving the DC motor A.  \nEnable Motor A jumper: Connect below two interfaces with a jumper cap when driving the DC motor B.  \nPower supply select jumper: Connect with a jumper cap, Arduino can be powered by the drive voltage via a on-board voltage regulator, which regulate the drive voltage to 5v.  \nHardware Installation  \nConnect DC motor to the motor shield Output Pins M1+& M1-(M2+& M2-), if using a 4-wire stepper motor, make sure the 4 Pins are correctly connected. And connect the drive voltage (The voltage needed is upon the motor used, Refer to the motor datasheet) to the Power supply terminals.  \nAs the jumper J4 inserted, Arduino can be powered by the drive voltage via a on-board voltage regulator, which regulate the drive voltage to 5v.  \nSoftware:  \nSelect the corresponding Arduino board in tools-boards and serial port in tools-serial port.  \nUpload the sketch to your Arduino board, then you would find the 2 motors begin to work. If you power the motor shield via the power terminal and the power jumper J4 was inserted, you can remove the USB cable now. Speed control is achieved through conventional PWM which can  \nbe obtained from Arduino's PWM output D9(EA) and D10(EB) . Using the function analogWrite() to generate the drive PWM:  \nint speedpinA=9;//enable motor A  \nint speedpinB=10;//enable motor B  \nint spead =127;//define the spead of motor  \n......  \nanalogWrite(speedpinA,spead);//AnalogWrite to Generate PWM to control the motor speed analogWrite(speedpinB,spead);  \nAnd Set the Digital D8(IN1) and D11(IN2) to control the motor attached to OUT1/2, while digital D12(IN3) and D13(IN4) to control motor attached to OUT3/4 .  \nint pinI1=8;//define I1 interface  \nint pinI2=11;//define I2 interface  \n......  \ndigitalWrite(pinI2, HIGH);//turn DC Motor A move clockwise  \ndigitalWrite(pinI1, LOW);  \n\n| EA(B) | IN1(IN3) | IN2(IN4) | Motion of MotorA(B) |\n| --- | --- ","cbCaikGPTUSrsHpD","https://ap.wps.com/l/cbCaikGPTUSrsHpD","pdf",773901,"English","# Introduction\n# Features\n# Caution\n# Specifications\n# Interface Function\n# Usage\n# Hardware Installation\n# Software and Demo Code","[{\"question\":\"What motors can the Keyes L298N Motor Shield control?\",\"answer\":\"It can drive two brushed DC motors or one 4-wire two-phase stepper motor.\"},{\"question\":\"How is motor speed controlled on this shield?\",\"answer\":\"Speed control is achieved using conventional PWM from the Arduino PWM outputs (EA on D9 and EB on D10) with analogWrite().\"},{\"question\":\"What safety caution should be followed during operation?\",\"answer\":\"The driver IC and heat sink may become very hot when working with current more than 1000mA.\"}]","Keyes L298N Motor Shield - Introduction - Features and Usage Guide | PDF",15,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b90ebdd1d39bf6df96832efdc50a6b33.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ca97f6d3a490ddff716682c63db8deae.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8086b26f333815143ad8aa6e7a48ddcc.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/dbba7a450b97a3d9804debd6be33d130.webp",980,1385,{"list":162,"token":11},[163,169,175,181,187,193,199,204,210,216],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":105,"category_name":29,"create_tm":168},720843,"Stepper Motor 5V 4-Phase 5-Wire & ULN2003 Driver Board for Arduino","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024411117/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=7NK7bAxuXjxD1oSVGItmtUw2Y%2FQ%3D","stepper-motor-5v-4-phase-5-wire-uln2003-driver-board-for-arduino",1795040290,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":97,"category_name":29,"create_tm":174},720759,"L298N Dual H-Bridge Motor Driver - Handson Technology User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023678297/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=CKRMQkGOU1%2F%2FZLl9dBy9HooMrfE%3D","l298n-dual-h-bridge-motor-driver-handson-technology-user-guide",1795039193,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":55,"category_name":29,"create_tm":180},721673,"Control 28BYJ-48 Stepper Motor with ULN2003 Driver & Arduino","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024790204/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=pEkJDpOrVdQUSsaZ3bXKcNSCyK8%3D","control-28byj-48-stepper-motor-with-uln2003-driver-arduino",1795068021,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":97,"category_name":29,"create_tm":186},690351,"Grove - I2C Motor Driver (L298P) - Features and Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002628021/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=%2FZtLG7KV5olvEbhRgOHQcPc7DeY%3D","grove-i2c-motor-driver-l298p-features-and-setup-guide",1794163804,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":115,"category_name":29,"create_tm":192},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=1796110739&Signature=4Qo8iT6RXXycExn0T9Z4tsQSqFU%3D","adafruit-drv8833-dcstepper-motor-driver-breakout-board-overview-wiring-software-python-circuitpython",1794139880,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":105,"category_name":29,"create_tm":198},720849,"Adafruit TMC2209 Stepper Motor Driver Breakout Board","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023681026/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=J%2FZC2wDi1V31YyeSxJjnG1NJ9bg%3D","adafruit-tmc2209-stepper-motor-driver-breakout-board",1795040383,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":97,"category_name":29,"create_tm":174},720760,"L298N Motor Driver Board (ST1112) User Manual - Pin Instruction - Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024404696/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=5fsZN5k38RAiSf4BqaMuX9w0PXU%3D","l298n-motor-driver-board-st1112-user-manual-pin-instruction-example",{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":55,"category_name":29,"create_tm":209},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=1796110739&Signature=tQT73VFPh7HdQXBbfpVFR%2Fx5xcY%3D","l293d-motor-shield-module-motor-controller-datasheet",1795039271,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":105,"category_name":29,"create_tm":215},720788,"A4988 Stepper Motor Driver Module - User Manual - Simple Stepper Motor Control Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023678689/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=6X2EiEc9kQVtY4KjwlkwRKUP93s%3D","a4988-stepper-motor-driver-module-user-manual-simple-stepper-motor-control-example",1795039335,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":115,"category_name":29,"create_tm":221},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=1796110739&Signature=HKUaVI21%2FJI3weg0EJm4jYGEXyo%3D","pca9685-16-channel-12-bit-pwm-servo-motor-driver-i2c-module",1794133095]