{"id":25004,"date":"2019-10-08T16:19:27","date_gmt":"2019-10-08T08:19:27","guid":{"rendered":"\/blog\/?p=25004"},"modified":"2020-10-30T09:47:02","modified_gmt":"2020-10-30T01:47:02","slug":"l298-all-about-l298-motor-driver","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/","title":{"rendered":"L298, a Dual H-Bridge Motor Driver module"},"content":{"rendered":"\n<p>Ever wondered how do DC motors, relays and stepper motors operate? It&#8217;s all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-11.jpg\" alt=\"\" width=\"490\" height=\"214\"\/><\/figure><\/div>\n\n\n\n<p>Through this article, you will learn all about L298 Dual H-Bridge Driver. In this blog, we will be covering:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is DC Motor?<\/li><li>What is L298 Dual H-Bridge Driver?<\/li><li>Characteristics of L298<\/li><li>L298 Pin-out<\/li><li>L298n Motor Driver<\/li><li>How does L298n motor driver work?<\/li><li>Application of L298n Motor Driver<\/li><li>Control DC motor with L298n motor driver and Arduino<\/li><li>Comparison with other Motor Drivers<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What is DC Motor?<\/h2>\n\n\n\n<p>DC motors are motors that operate on Direct Current(DC). DC motors are available in several different configurations from tiny little motors to absolute huge ones. DC motors can be used in robot basics, quadcopters, model planes and boats.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How does a DC motor work?<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/72-6ymX2PvHbRpFOSnaW6EEu0IXuU8LjsDbF3V_A0tUM2lzsvsMruq7bNJQfylQ4e-0hOWeSETEw-cEpuN41VZxL99FUGCNvGWkKKDW8vtGYF5Q-95KUZZmeHtaxdXuzS9TT8v-x\" alt=\"\"\/><figcaption>An operating Brushed DC motor <br>(Source: Renesas)<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>DC motors consist of coils of wire<\/li><li>Coils connected to the commutator<\/li><li>Coils are surrounded by a pair of magnets or a stator<\/li><li>DC current applied to the Commutator<\/li><li>The magnetic field is formed in coils<\/li><li>Coil magnetic interact with magnets(&#8220;stator&#8221;)<\/li><li>The direction of rotation can be reversed by reversing the polarity on the motor\u2019s contacts<\/li><\/ul>\n\n\n\n<p>For more information, please refer to Helen&#8217;s blog,<a href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/04\/01\/choosing-the-right-motor-for-your-project-dc-vs-stepper-vs-servo-motors\/\"> Choosing the Right Motor for Your Project \u2013 DC vs Stepper vs Servo Motors<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What is L298 Dual H-Bridge Driver?<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture.jpg\" alt=\"\" class=\"wp-image-25005\" width=\"322\" height=\"196\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture.jpg 540w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-300x183.jpg 300w\" sizes=\"(max-width: 322px) 100vw, 322px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/L298-Dual-H-Bridge-Motor-Driver-p-284.html?utm_source=blog&amp;utm_medium=blog\">L298 Dual H-Bridge Motor Driver<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>L298 is a high voltage and high current motor drive chip which receives TTL logic signals. <\/li><li>They are mostly used when<ul><li>It is needed to operate different loads like motors and solenoid etc where an H-Bridge is required. <\/li><li>High power motor driver is required.<\/li><li>Control unit can only provide TTL outputs.<\/li><li>Current control and PWM operable single-chip device are needed.<\/li><\/ul><\/li><li>It has two enable inputs to enable or disable the particular device attached at its output independently. <\/li><\/ul>\n\n\n\n<p>Thus, H-Bridge is basically used to control the rotating direction in DC motors.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Characteristics of L298<\/h2>\n\n\n\n<p>The main features of the L298n Module are: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>High working voltage &#8211; can reach up to 46v<\/li><li>Large output current<ul><li>Instantaneous peak current can reach 3A<\/li><li>Continuous working current can reach 2A <\/li><\/ul><\/li><li>25W Rated Power <\/li><li>High-Voltage and Current full-bridge driver with 2 H-bridges used to drive inductive loads like DC and Stepper Motors. <\/li><li>Controlled with standard logic level signals<\/li><li>2 enable control terminals to enable or device without inputting signals.<\/li><li>Able to drive a two-phase stepper motor, four-phase stepper motor or two DC motors <\/li><li>Has a high-capacity filter capacitor and freewheeling diode to protect devices from the reverse current of an inductive load. <\/li><li>Built-in stabilivolt tube 78M05 can be used to obtain 5v from the power supply. (Must be used with an external 5v logic supply when the drive voltage is greater than 12v to protect the chip)<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">L298 Pin-out<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"504\" height=\"313\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-1.jpg\" alt=\"\" class=\"wp-image-25006\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-1.jpg 504w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-1-300x186.jpg 300w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><figcaption>Ref: <a href=\"https:\/\/www.theengineeringprojects.com\/2017\/07\/introduction-to-l298.html\">TheEngineeringProjects<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>The pin functions are: <\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><td>Pin-Number<\/td><td>Name of Pin<\/td><td>Description<\/td><\/tr><tr><td>1<br>15<\/td><td>Sense A<br>Sense B<\/td><td>Used to connect the sense resistor through<br>this pin to the ground to control the current<br>of the load.<\/td><\/tr><tr><td>2<br>3<\/td><td>Out 1<br>Out 2<\/td><td>Output of bridge A, which is the current that flows                       <br> through between these two pins which is<br> monitored at pin 1<\/td><\/tr><tr><td>4<\/td><td>Vs<\/td><td>Supply voltage during power output stages<br> (non-inductive 100nF capacitor must be connected                          <br> between pin and ground)<\/td><\/tr><tr><td>5<br>7<\/td><td>Input 1<br>Input 2<\/td><td>TTL compatible inputs of Bridge A<\/td><\/tr><tr><td>6<br>11<\/td><td>Enable A<br>Enable B<\/td><td>TTL Compatible Enable Input<\/td><\/tr><tr><td>8<\/td><td>GND<\/td><td>GND (Point where all voltages can be measured<br> from)<\/td><\/tr><tr><td>9<\/td><td>Vss<\/td><td>Supply Voltage for Logic Blocks  <br> (non-inductive 100nF capacitor must be connected                          <br> between pin and ground) <\/td><\/tr><tr><td>10<br>12<\/td><td>Input 3<br>Input 4<\/td><td>TTL Compatible Inputs of Bridge B<\/td><\/tr><tr><td>13<br>14<\/td><td>Out 3 <br>Out 4<\/td><td>Outputs of the Bridge B. Current that flows through                           <br> here are monitored at pin 15<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">L298n Motor Driver <\/h2>\n\n\n\n<p>The L298 module is mostly used to design motor drivers.  Here at Seeed, we do offer various L298n Motor Drivers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/L298-Dual-H-Bridge-Motor-Driver-p-284.html?utm_source=blog&amp;utm_medium=blog\">L298 Dual H-Bridge Motor Driver<\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/www.seeedstudio.com\/L298-Dual-H-Bridge-Motor-Driver-p-284.html\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-3.jpg\" alt=\"\" class=\"wp-image-25008\" width=\"194\" height=\"213\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-3.jpg 356w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-3-272x300.jpg 272w\" sizes=\"(max-width: 194px) 100vw, 194px\" \/><\/a><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Double H driver module uses ST L298N dual full-bridge driver, an integrated monolithic circuit in a 15- lead Multiwatt and PowerSO20 packages. <\/li><li>It is a high voltage, high current dual full-bridge driver designed to accept standard TTL logic levels and drive inductive loads such as relays, solenoids, DC and stepping motors. <\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Motor-Driver-L298-Module-NET-Gadgeteer-Compatible-p-1056.html?utm_source=blog&amp;utm_medium=blog\">Motor Driver L298 Module &#8211; .NET Gadgeteer Compatible <\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/www.seeedstudio.com\/Motor-Driver-L298-Module-NET-Gadgeteer-Compatible-p-1056.html\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-4.jpg\" alt=\"\" class=\"wp-image-25009\" width=\"248\" height=\"202\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-4.jpg 471w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-4-300x244.jpg 300w\" sizes=\"(max-width: 248px) 100vw, 248px\" \/><\/a><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>This motor driver module controls the speed and direction on 2 DC motors, up to 40V 3A. <\/li><li>The module itself is powered and controlled from a gadgeteer mainboard but the motors are powered from a separate power source.<\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-I2C-Motor-Driver.html?utm_source=blog&amp;utm_medium=blog\"> Grove &#8211; I2C Motor Driver <\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-I2C-Motor-Driver.html\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-5.jpg\" alt=\"\" class=\"wp-image-25010\" width=\"286\" height=\"208\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-5.jpg 868w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-5-300x218.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-5-768x559.jpg 768w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><\/a><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>It directly controls Stepper Motor or DC Motor. Its heart is a dual channel H-bridge driver chip\uff08L298N\uff09that can handle current up to 2A per channel, controlled by an Atmel ATmega8L which handles the I2C communication with platforms such as Arduino. <\/li><li>Both motors can be driven simultaneously while set to a different speed and direction. It can power two brushed DC motors or one 4-wire two-phase stepper motor.&nbsp; <\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How does l298n motor driver work?<\/strong><\/h2>\n\n\n\n<p>The schematic diagram below shows L298n Motor Driver internal structure and working flow:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-6.jpg\" alt=\"\" class=\"wp-image-25011\" width=\"452\" height=\"353\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-6.jpg 684w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-6-300x235.jpg 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><figcaption>Ref: <a href=\"https:\/\/www.theengineeringprojects.com\/2017\/07\/introduction-to-l298.html\">TheEngineeringProjects<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>The control mode and state of motor A is shown in the table below:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><td>Motor 1 (IN1), Motor 2 (IN3)<\/td><td>Motor 1(IN2), Motor 2 (IN4)<\/td><td> Motor <br>Rotation<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>Stop Rotation<\/td><\/tr><tr><td>0<\/td><td>1<\/td><td>Clockwise<\/td><\/tr><tr><td>1<\/td><td>0<\/td><td>Anticlockwise<\/td><\/tr><tr><td>1<\/td><td>1<\/td><td>Stop Rotation<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>As seen from the table, the rotation direction is controlled by the control pin IN1 and IN2 for motor 1 while control pin IN3 and IN4 for motor 2.<\/li><li>When enabled signal = 1 <ul><li>IN1 and IN2 are 00 or 11 it means the motor is in brake state<\/li><li>IN1 is 0 and IN2 is 1 it means motor A will rotate clockwise<\/li><li>IN1 is 1 and IN2  is 0 it means motor A  will rotate anticlockwise<\/li><li>Motor B control method is the same as motor A <\/li><\/ul><\/li><li>Motor speed can also be controlled by the module PWM control pin (ENA for Motor 1, ENB  for motor 2)<ul><li>When regulating speed, IN1 and IN2  rotational direction must be first confirmed and output PWM pulses for enabled terminals.<\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How does l298n motor driver work with DC motor?<\/strong><\/h3>\n\n\n\n<p>Let&#8217;s take a look at how the l298n H-bridge motor driver works with DC motor.&nbsp;<\/p>\n\n\n\n<p>In order to simplify things, I have drawn one set of the H-bridge driver with 4 switches. Why is it called H-bridge? As you can see there is a letter H in the configuration with the motor sitting in the bridge part of the letter H. How does it work?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/042y3gpJ9ltfMzjlcYWJ_Zaf-KUCr3KlvY5JmNIcXfBM7NPMyVPfBTtyxBtP5u7aqWiTh0aE4B_wTuNnloMnrdDghceFn6Eq3RDgvcWUJjkAEB0MJR3QTyQ7k9y2IPqsSfjPHjy9\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>Let&#8217;s apply a positive voltage to the top of the H-bridge and apply a negative voltage to the bottom.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Now, what happens when we close these two switches?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-08-at-6.24.58-pm.png\" alt=\"\" class=\"wp-image-32409\" width=\"284\" height=\"444\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-08-at-6.24.58-pm.png 568w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-08-at-6.24.58-pm-192x300.png 192w\" sizes=\"(max-width: 284px) 100vw, 284px\" \/><\/figure><\/div>\n\n\n\n<p>The positive is applied to the left side of the motor and the negative is applied to the right side. In this case, the motor will rotate <strong>clockwise<\/strong>.&nbsp;<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Vice versa, if you close the other two switches and leave these two open.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/1eQz-uS71PEvuXgEnXohraRKakIzKtyl73IL01hZ0FifGoZLuAQ1bAi8qVt2VcW8OipHiRnTUqi6KdwynBBGUuQ1jNuvPsKhAGL9_BKshTxsFCdGq_mK97YXSFMb6VJy_Gw5y2Q7\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>Now, the positive is applied to the right side of the motor and the negative is applied to the other side. In this case, the motor will rotate <strong>anti-clockwise<\/strong>.&nbsp;<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Pulse Width Modulation(PWM)<\/strong><\/h3>\n\n\n\n<p>The speed of the motor is determined by the width of the PWM pulse sent to the \u201cEnable\u201d input of the L298N motor driver. The wider the pulses, the faster the motor will spin.&nbsp;Thus, PWM allows you to control the speed.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/E5vyeKr73f6WmBcPbN_JqBDsKSYph8v1_Nt55hAi2plBOSZIkdl0kl_CAP1zzAzibjf-iGW1WQi2CHzxJBqeQRplsc1NmfHN7S4i5RPQ7UQrpoPmXc6C40g8k-497gNdN4Y4989L\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Application of L298n<\/h2>\n\n\n\n<p>L298n Motor Drivers are used everywhere in our everyday life ranging from vending machines to robots. You can also play around with the L298n to control DC motors right at home with the tutorial below<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Controlling DC Motors with Arduino <\/h3>\n\n\n\n<p>With the L298n dual H-bridge, it allows you to switch the direction of the current which means with a motor, you can make it spin in both directions. In addition, with PWM input, you can use an Arduino to make it spin at any speed.  <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What will you need?<ul><li><a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-V4-2-p-2517.html?utm_source=blog&amp;utm_medium=blog\">Seeeduino V4.2 <\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-I2C-Motor-Driver.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; I2C Motor Driver <\/a><\/li><li>2 x  <a href=\"https:\/\/www.seeedstudio.com\/130-DC-Motor-p-2023.html?utm_source=blog&amp;utm_medium=blog\">130 DC Motor<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2.html?utm_source=blog&amp;utm_medium=blog\">Base Shield V2 <\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Step 1- Set the address by dial switch which is a new function added to our new I2C motor driver <\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-9.jpg\" alt=\"\" class=\"wp-image-25015\" width=\"255\" height=\"195\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-9.jpg 845w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-9-300x230.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-9-768x589.jpg 768w\" sizes=\"(max-width: 255px) 100vw, 255px\" \/><figcaption>Setting address using the dial switch<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Step 2 &#8211; Connect Grove &#8211; I2C Motor Driver V1.3 to port I2C of Grove-Base Shield.<\/li><li>Step 3 &#8211; Plug Grove &#8211; Base Shield into Seeeduino.<\/li><li>Step 4 &#8211; Connect Seeeduino to PC via a USB cable<\/li><li>Step 5 &#8211; Download <a href=\"https:\/\/github.com\/Seeed-Studio\/Grove_I2C_Motor_Driver_v1_3\/archive\/master.zip\">Grove_I2C_Motor_Driver_v1_3 Library&nbsp;<\/a>from Github.<\/li><li>Step 6 &#8211; Refer&nbsp;<a href=\"http:\/\/wiki.seeedstudio.com\/How_to_install_Arduino_Library\">How to install library<\/a>&nbsp;to install library for Arduino<\/li><li>Step 7 &#8211; Copy the code into Arduino IDE and upload. If you are unsure how to upload the code, please check&nbsp;<a href=\"http:\/\/wiki.seeedstudio.com\/Upload_Code\/\">how to upload code<\/a>. <\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Code<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"166\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-8.jpg\" alt=\"\" class=\"wp-image-25016\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-8.jpg 577w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-8-300x86.jpg 300w\" sizes=\"(max-width: 577px) 100vw, 577px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Functions to control DC motors <\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"121\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-9.jpg\" alt=\"\" class=\"wp-image-25017\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-9.jpg 801w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-9-300x45.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-9-768x116.jpg 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>With the speed function &#8211; you can drive one motor at the speed you want <ul><li><strong>motor_id<\/strong> represents which motor to use (MOTOR1\/2)<\/li><li><strong>_speed<\/strong> represents the speed you can set. It can be -100 to 100, when speed is &gt;0 DC motor will run clockwise while if speed &lt;0, DC motor will run anticlockwise. The bigger the value, the faster it is. <\/li><\/ul><\/li><li>With stop function &#8211; you can choose to stop running a DC motor <ul><li><strong>motor_id<\/strong> represents which motor to use (MOTOR1\/2)<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>There you go! You now have your very own DC motor controlled using the Seeeduino with an I2C motor driver!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-4-1030x748.jpg\" alt=\"\" class=\"wp-image-25014\" width=\"414\" height=\"300\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-4-1030x748.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-4-300x218.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/I2CMotorDriver-4-768x557.jpg 768w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><figcaption>Sample Hardware Installation<\/figcaption><\/figure><\/div>\n\n\n\n<p>Interested in doing more with your L298 motor driver? You can click here to learn how to drive a stepper motor and play with Codecraft using the L298n Motor Driver: <a href=\"http:\/\/wiki.seeedstudio.com\/Grove-I2C_Motor_Driver_V1.3\/\">Seeedstudio Wiki &#8211; Grove &#8211; I2C Motor Driver V1.3<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Comparison with other Motor Drivers<\/h2>\n\n\n\n<p>With so many motor drivers currently such as Servo Motors and stepper motors, what really are the differences between the motor drivers and which one to choose? No worries, as we have crafted a table just for you to compare the various motor drivers so you know which motor driver fits the best for your project.<\/p>\n\n\n\n<table>\n  <tbody><tr>\n    <th>Type<\/th>\n    <th>Motor Drivers<\/th>\n    <th>Chip<\/th>\n    <th>Actuator<\/th>\n    <th>Working Voltage<\/th>\n    <th>Working Current<\/th>\n  <\/tr>\n  <tr>\n    <td rowspan=\"3\">Grove<\/td>\n    <td><a href=\"http:\/\/bit.ly\/2SJKuJI\">Grove \u2013 I2C Motor Driver<\/a><\/td>\n    <td>L298n<\/td>\n    <td>2 DC motor or 1 Stepper<\/td>\n    <td>6v to 15v<\/td>\n    <td>2.0A each (Max) <\/td>\n  <\/tr>\n  <tr>\n    <td><a href=\"http:\/\/bit.ly\/2OqRAEt\">Grove \u2013 I2C Motor Driver (TB6612FNG)<\/a><\/td>\n    <td>TB6612FNG<\/td>\n    <td>2 DC Motor or 1 Stepper<\/td>\n    <td>2.5v to 13.5v (5 Avg, 15v Max)<\/td>\n    <td>1.2A (Avg) to 3.2A (Max)<\/td>\n  <\/tr>\n  <tr>\n    <td><a href=\"https:\/\/www.seeedstudio.com\/Grove-I2C-Mini-Motor-Driver-p-2508.html\">Grove &#8211; I2C Mini Motor Driver<\/a><\/td>\n    <td>DRV8830<\/td>\n    <td>2 DC Motor<\/td>\n    <td>2.75v to 6.8v<\/td>\n    <td>0.2A to 1A each<\/td>\n  <\/tr>\n  <tr>\n    <td rowspan=\"3\">Shield<\/td>\n    <td><a href=\"http:\/\/bit.ly\/2OqRAEt\">Motor Shield V2.0<\/a><\/td>\n    <td>L298n<\/td>\n    <td>2 DC motor or 1 Stepper<\/td>\n    <td>6v to 15v<\/td>\n    <td>2.0A each (Max)<\/td>\n  <\/tr>\n  <tr>\n    <td><a href=\"http:\/\/bit.ly\/2SMFDHz\">4A Motor Shield<\/a><\/td>\n    <td>MC33932<\/td>\n    <td>2 DC Motor<\/td>\n    <td>6v to 28v <\/td>\n    <td>5.0A each (Max)<\/td>\n  <\/tr>\n  <tr>\n    <td><a href=\"http:\/\/bit.ly\/2K8ka8g\">Brushless Motor Shield (TB6605FTG)<\/a><\/td>\n    <td>TB6605FTG<\/td>\n    <td>1 DC Brushless Motor<\/td>\n    <td>9v to 24v <\/td>\n    <td>&#8211;<\/td>\n  <\/tr>\n<\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>With all the knowledge of L298n motor driver in your hands, you can now start building your very own robotic projects! You can check out the L298n data sheet for more detailed information on the L298 over here:               <a href=\"https:\/\/www.st.com\/resource\/en\/datasheet\/l298.pdf\">L298 Datasheet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever wondered how do DC motors, relays and stepper motors operate? It&#8217;s all the works<\/p>\n","protected":false},"author":2781,"featured_media":25025,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[1666,1671,1667,1672],"class_list":["post-25004","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-l298-motor-driver","tag-l298n-driver","tag-l298n-motor-driver","tag-l298n-motor-driver-arduino"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"Ever wondered how do DC motors, relays and stepper motors operate? It&#039;s all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"Ever wondered how do DC motors, relays and stepper motors operate? It&#039;s all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-08T08:19:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-30T01:47:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"890\" \/>\n\t<meta property=\"og:image:height\" content=\"389\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"yida\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yida\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/\",\"name\":\"L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg\",\"datePublished\":\"2019-10-08T08:19:27+00:00\",\"dateModified\":\"2020-10-30T01:47:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e\"},\"description\":\"Ever wondered how do DC motors, relays and stepper motors operate? It's all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg\",\"width\":890,\"height\":389,\"caption\":\"L298 - All about L298 Motor Driver\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"L298, a Dual H-Bridge Motor Driver module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e\",\"name\":\"yida\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g\",\"caption\":\"yida\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio","description":"Ever wondered how do DC motors, relays and stepper motors operate? It's all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/","og_locale":"en_US","og_type":"article","og_title":"L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio","og_description":"Ever wondered how do DC motors, relays and stepper motors operate? It's all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.","og_url":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2019-10-08T08:19:27+00:00","article_modified_time":"2020-10-30T01:47:02+00:00","og_image":[{"width":890,"height":389,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg","type":"image\/jpeg"}],"author":"yida","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yida","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/","url":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/","name":"L298, a Dual H-Bridge Motor Driver module - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg","datePublished":"2019-10-08T08:19:27+00:00","dateModified":"2020-10-30T01:47:02+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e"},"description":"Ever wondered how do DC motors, relays and stepper motors operate? It's all the works of L298! Learning how to control your DC motors would be so easier after you learn how to use L298.","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg","width":890,"height":389,"caption":"L298 - All about L298 Motor Driver"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/10\/08\/l298-all-about-l298-motor-driver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"L298, a Dual H-Bridge Motor Driver module"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e","name":"yida","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g","caption":"yida"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/"}]}},"modified_by":"Gigi","views":69376,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11-80x80.jpg",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11-300x131.jpg",300,131,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11-768x336.jpg",640,280,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",640,280,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",32,14,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",890,389,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",720,315,false],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-11.jpg",675,295,false]},"author_info":{"display_name":"yida","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2781"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=25004"}],"version-history":[{"count":15,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25004\/revisions"}],"predecessor-version":[{"id":37826,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25004\/revisions\/37826"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/25025"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=25004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=25004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=25004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}