zillahwa.blogg.se

L298n h bridge fritzing
L298n h bridge fritzing







l298n h bridge fritzing

Don’t forget to connect Arduino GND to pin 5 on the module as well to complete the circuit. This can be fed to your Arduino’s 5V pin to power it from the motors’ power supply.

l298n h bridge fritzing

If you supply is up to 12V you can leave in the 12V jumper (point 3 in the image above) and 5V will be available from pin 6 on the module. Next, connect your power supply – the positive to pin 4 on the module and negative/GND to pin 5. Otherwise you may need to swap them over when you set both motors to forward and one goes backwards! If you’re using two motors for a robot (etc) ensure that the polarity of the motors is the same on both inputs. First connect each motor to the A and B connections on the L298N module. To control one or two DC motors is quite easy with the L298N H-bridge module.









L298n h bridge fritzing