You will need todetermine the A, A-, B and B- wires. This connection can drive two 5V DC motors simultaneously.Sketch Listing:Copy and paste the sketch below to Arduino IDE and upload to Arduino Uno/Mega board./* // Author: Handson Technology// Project: Arduino Uno// Description : L298N Motor Driver// Source-Code : L298N Motor.ino// Program: Control 2 DC motors using L298N H Bridge Driver// */// Definitions Arduino pins connected to input H Bridgeint IN1 4 int IN2 5 int IN3 6 int IN4 7 void setup()5Controlling Stepper MotorIn this example we have a typical NEMA-17 stepper motor with four wires:The key to successful stepper motor control is identifying the wires - that is which one is which. Arduino).Size: 3.4cm x 4.3cm x 2.7cm1Schematic Diagram:2Board Dimension & Pins Function:Web Resources: 3Connection Examples:Controlling 2-DC Motor with 5V Arduino onboard Power Supply:Below is the circuit connection use the on-board 5V power supply from Arduino board, and should be donewithout the 5V Enable Jumper on (Active 5V).
This board equipped with power LED indicators, on-board 5V regulator andprotection diodes.SKU: DRV-1006Brief Data: Input Voltage: 3.2V 40Vdc.Driver: L298N Dual H Bridge DC Motor Driver.Power Supply: 5 35 Vdc.Peak current: 2 Amp.Operating current range: 0 36mA.Control signal input voltage range :o Low: -0.3V Vin 1.5V.o High: 2.3V Vin Vss.Enable signal input voltage range :oLow: -0.3 Vin 1.5V (control signal is invalid).oHigh: 2.3V Vin Vss (control signal active).Maximum power consumption: 20W (when the temperature T 75 ).On-board 5V regulated Output supply (supply to controller board i.e.
L298N MOTOR DRIVER MODULE DATASHEET MANUAL
It can also be interfaced with simple manual switches,TTL logic gates, relays, etc. The circuit will allow you to easily and independently control two motors of up to 2Aeach in both directions.It is ideal for robotic applications and well suited for connection to a microcontrollerrequiring just a couple of control lines per motor. Handson TechnologyUser GuideL298N Dual H-Bridge Motor DriverThis dual bidirectional motor driver, is based on the very popular L298 Dual H-Bridge Motor DriverIntegrated Circuit.