L298N Motor Controller To Arduiono Uno: Difference between revisions

From AgileMe
Jump to navigation Jump to search
 
Line 6: Line 6:
Connecting the Arduino Uno with the L298N motor control bridge:
Connecting the Arduino Uno with the L298N motor control bridge:


[[File:L298N DC Motor Control bb.png|500px|Connecting L298N DC Motor Control Bridge To The Arduino Uno]]
[[File:L298N DC Motor Control bb.png|700px|Connecting L298N DC Motor Control Bridge To The Arduino Uno]]


===Pin Connection Table===
===Pin Connection Table===
Line 37: Line 37:
|<code>Digital pin D2</code>
|<code>Digital pin D2</code>
|}
|}


==References==
==References==

Latest revision as of 05:56, 7 March 2020


This page refers to using an Arduino Uno and a L298N DC motor control bridge to control two motors.

Connection

Connecting the Arduino Uno with the L298N motor control bridge:

Connecting L298N DC Motor Control Bridge To The Arduino Uno

Pin Connection Table

L298N Arduino Uno
VCC 12V
GND GND
ENA (motor A speed) Digital pin D6
IN1 (motor A direction) Digital pin D5
IN2 (motor A direction) Digital pin D4
ENB (motor B speed) Digital pin D10
IN3 (motor B direction) Digital pin D3
IN4 (motor B direction) Digital pin D2

References

  1. Arduino DC Motor Control Tutorial – L298N | PWM | H-Bridge, access 7 Mar 2020

See Also