{"product_id":"l298n-2a-based-motor-driver-module-grade-a-good-quality","title":"L298N 2A Based Motor Driver Module Grade A Good Quality","description":"\u003ch4\u003eDescription\u003c\/h4\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003cstrong\u003eL298N 2A Based Motor Driver\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis a high-power motor driver perfect for driving DC Motors and Stepper Motors. It uses the popular L298 motor driver IC and has an onboard 5V regulator which it can supply to an external circuit. It can control up to 4 DC motors, or 2 DC motors with directional and speed control.\u003cbr\u003e\u003cbr\u003eThis \u003cstrong\u003eMotor Driver Module \u003c\/strong\u003eis perfect for robotics and mechatronics projects and perfect for controlling motors from microcontrollers, switches, relays, etc. Perfect for driving DC and Stepper motors for micro mouse, line-following robots, robot arms, etc.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eH-bridges are typically used in controlling motors\u003c\/strong\u003e' speed and direction but can be used for other projects such as driving the brightness of certain lighting projects such as high-powered LED arrays. This\u003cstrong\u003e\u003cspan\u003e \u003c\/span\u003eDual-channel H-bridge driver\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eworking mode creates higher working efficiency, with L298N as the main chip. It can drive a 2-phase stepper motor, a 4-phase stepper motor, or two DC motors.\u003c\/div\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cspan\u003eThis module has a built-in 5V power supply when the driving voltage is 7V to 35V.\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan\u003eThis supply is suitable for the power supply\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003e\u003cspan\u003eLarge capacity filter, backflow protection diode, more stable and reliable.\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan\u003eIt can drive a 2-phase stepper motor, a 4-phase stepper motor, or two DC motors.\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch2 class=\"sing--sub-heading\"\u003e\u003cspan\u003eHow it works:\u003c\/span\u003e\u003c\/h2\u003e\nAn H-Bridge is a circuit that can drive a current in either polarity and be controlled by *Pulse Width Modulation (PWM).\u003cbr\u003e\u003cbr\u003ePulse Width Modulation is a means of controlling the duration of an electronic pulse. In motors try to imagine the brush as a water wheel and electrons as the flowing droplets of water. The voltage would be the water flowing over the wheel at a constant rate, the more water flowing the higher the voltage. Motors are rated at certain voltages and can be damaged if the voltage is applied too heavily or if it is dropped quickly to slow the motor down. Thus PWM. Take the water wheel analogy and think of the water hitting it in pulses but at a constant flow. The longer the pulses the faster the wheel will turn, the shorter the pulses, the slower the water wheel will turn. Motors will last much longer and be more reliable if controlled through PWM.\n\u003cdiv\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch2 class=\"sing--sub-heading\"\u003e\u003cspan\u003e ARDUINO SKETCH CONSIDERATIONS:\u003c\/span\u003e\u003c\/h2\u003e\nThe Arduino code sketch is pretty straightforward. Since there isn’t a library for the L298N Dual H-Bridge Motor Controller you just have to declare which pins the controller is hooked to.\u003cbr\u003e\u003cbr\u003eThe “int dir(number)Pin(letter)”‘ pins can be connected to any available digital pin you have available, as long as you declare the correct pin in your sketch. This makes the L298N Dual H-Bridge Motor Controller very versatile if your project is using a lot of Arduino pins.\u003cbr\u003e\u003cbr\u003eThe int“speeding (letter)” pins need to be connected to a PWM pin on the Arduino if you want to enable speed control through PWM.\u003cbr\u003e\u003cbr\u003eAs a quick cheat I have included a list of PWM pins for the main two types of Arduino’s I use:\u003cbr\u003e\u003cbr\u003eAT MEGA – PWM: 2 to 13 and 44 to 46. Provide 8-bit PWM output with the analogWrite() function.\u003cbr\u003e\u003cbr\u003eUNO – PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.\n\u003cdiv\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003ePins Details\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eOut 1: Motor A lead out\u003c\/li\u003e\n\u003cli\u003eOut 2: Motor A lead out\u003c\/li\u003e\n\u003cli\u003eOut 3: Motor B lead out\u003c\/li\u003e\n\u003cli\u003eOut 4: Mo (Can actually be from 5v-35v, just marked as 12v)\u003c\/li\u003e\n\u003cli\u003eGND: Ground\u003c\/li\u003e\n\u003cli\u003e5v: 5v input (unnecessary if your power source is 7v-35v, if the power source is 7v-35v then it can act as a 5v out)\u003c\/li\u003e\n\u003cli\u003eEnA: Enables PWM signal for Motor A (Please see the “Arduino Sketch Considerations” section)\u003c\/li\u003e\n\u003cli\u003eIn1: Enable Motor A\u003c\/li\u003e\n\u003cli\u003eIn2: Enable Motor A\u003c\/li\u003e\n\u003cli\u003eIn3: Enable Motor B\u003c\/li\u003e\n\u003cli\u003eIn4: Enable Motor B\u003c\/li\u003e\n\u003cli\u003eMB: Enables PWM signal for Motor B (Please see the “Arduino Sketch\u003c\/li\u003e\n\u003cli\u003eConsiderations” section)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cbr\u003eTwo things to mention\u003cbr\u003e\u003cbr\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eMake sure you have all of your grounds tied together; Arduino, Power source, and the Motor Controller.\u003c\/li\u003e\n\u003cli\u003eThe PWM Pins are unnecessary if you do not want to control PWM features.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eTechnical Details\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eOperating Voltage (VDC) : 5 ~ 35\u003c\/li\u003e\n\u003cli\u003eDriver Model : L298N 2A\u003c\/li\u003e\n\u003cli\u003ePeak Current (A) : 2\u003c\/li\u003e\n\u003cli\u003eContinuous Current (A) : 0-36mA\u003c\/li\u003e\n\u003cli\u003eNo. of Channels : 2\u003c\/li\u003e\n\u003cli\u003eArduino Sheild : No- can be used with Wire connection\u003c\/li\u003e\n\u003cli\u003eMax power : Â 25W.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003ePhysical Attributes\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eLength × Width × Height(mm) : 44 x 44 x 28\u003c\/li\u003e\n\u003cli\u003eWeight (gm) : 26\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eIntegration with Arduino\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0587\/2130\/4757\/files\/L298N_DC_Motor-1024x697-768x523.jpg?v=1639117766\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eAdditional Details\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eMaximum motor supply current: 2A per motor.\u003c\/li\u003e\n\u003cli\u003eCurrent Sense for each motor.\u003c\/li\u003e\n\u003cli\u003eHeatsink for better performance.\u003c\/li\u003e\n\u003cli\u003ePower-On LED indicator.\u003c\/li\u003e\n\u003cli\u003eDouble H bridge Drive Chip: L298N.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"SIPRO ELECTRONICS","offers":[{"title":"Default Title","offer_id":53020433482050,"sku":null,"price":130.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1008\/3808\/0834\/files\/L298N-2A-Based-Motor-Driver-Module-1_720x_282ef949-50be-4eb8-979e-818622369050.webp?v=1778058506","url":"https:\/\/siproelectronic.com\/products\/l298n-2a-based-motor-driver-module-grade-a-good-quality","provider":"SIPRO ELECTRONICS","version":"1.0","type":"link"}