Arduino - DC Motor Control and PWM Signal With L298N H-bridge

by MertArduino in Circuits > Arduino

18469 Views, 13 Favorites, 0 Comments

Arduino - DC Motor Control and PWM Signal With L298N H-bridge

Arduino Tutorial 37: DC motor control and PWM signal with L298N H-bridge
l298n_cover.jpg

In this tutorial we will learn how to use the L298N H-Bridge Motor Controller.

We will control the dual DC motor with using the PWM Signals via L298N.

Required Hardware

vlcsnap-2017-07-16-15h57m15s126.png

Arduino Board - https://goo.gl/Rqc5w2

L298N H-Bridge - https://goo.gl/Ucvx6J

DC Motor Wheel - https://goo.gl/iDy7ep

F to F Jumper - https://goo.gl/iDy7ep

M to M Jumper - https://goo.gl/iDy7ep

Battery - https://goo.gl/iDy7ep

Battery Clip - https://goo.gl/iDy7ep

Some Promotion Links

Flash Deals -- https://goo.gl/CVqg7P

Mega Stock Clearance -- https://goo.gl/eCbuiP

Arduino Kits -- https://goo.gl/uwr19e

More Budget 3D Printers -- https://goo.gl/uwr19e

Anet A8 3D Printer Promotion -- https://goo.gl/uwr19e

L298N H-Bridge

vlcsnap-2017-07-16-15h57m29s781.png
vlcsnap-2017-07-16-15h57m42s149.png

This allows you to control the speed and direction of two DC motors, or control one bipolar stepper motor with ease.

Connections

vlcsnap-2017-07-16-15h58m26s500.png
vlcsnap-2017-07-16-15h57m51s383.png
vlcsnap-2017-07-16-15h58m06s943.png

You can control the speed of the DC motors if the enable jumpers are removed.

Source Code

vlcsnap-2017-07-16-15h59m48s302.png
vlcsnap-2017-07-16-16h00m05s273.png

You can just copy and paste the code into empty page of the Arduino IDE.

Get the Code - https://goo.gl/8PphQF

You Can Subscribe to My YouTube Channel

mertarduin2.png

You can subscribe to the my YouTube channel for more tutorials and projects. Subscribe for support. Thank you.

Go to my YouTube Channel - https://goo.gl/f0RHmR