Motor Driver L298n Pin Diagram. The pin diagram in top view for l298n is given below. Then connect digital 10 to module pin pwm 1 you need to remove the jumper fist plug digital 5 to module pwm 2.
So this quick how to guide will help you get going quickly with the l298n dual h bridge dc motor driver module. The driver module can drive two motors. L298 ic pin diagram click the image to enlarge it l298 is a high power version of l293 motor driver ic.
To drive a motor to a direction say clockwise the pin input 1 must be high while the pin input 2 must be low.
The enabled terminals ena and enb are effective at high level. Connect the arduino digital pins to the l298n module see our example diagram below in the diagram we have 4 and 2 dc motors so digital pins d9 d8 d7 and d6 will be connected to in1 in2 in3 and in4. The enabled terminals ena and enb are effective at high level. The pin diagram in top view for l298n is given below.