Tags:
view all tags
---+ Controlling the DC motors The motors cannot be driven by the Arduino PWM outputs directly but they must pass through a motor driver boosting the signal power In our case an [[http://www.st.com/content/ccc/resource/technical/document/datasheet/82/cc/3f/39/0a/29/4d/f0/CD00000240.pdf/files/CD00000240.pdf/jcr:content/translations/en.CD00000240.pdf][ L298N ]]bridge is used, which is well described on [[http://www.instructables.com/id/Arduino-Modules-L298N-Dualhttp://www.instructables.com/id/Arduino-Modules-L298N-Dual-H-Bridge-Motor-Controll/-H-Bridge-Motor-Controll/][this page]]. This table shows how the driver module is connected to the Arduino Uno: <table cellpadding="4" cellspacing="0" style="width: 510px; height: 68px;"><col width="43*"></col> <col width="43*"></col> <col width="43*"></col> <col width="43*"></col> <col width="43*"></col> <col width="43*"></col> <tbody> <tr valign="top"> <td width="17%"> <p align="center">EN A</p> </td> <td width="17%"> <p align="center">IN 1</p> </td> <td width="17%"> <p align="center">IN 2</p> </td> <td width="17%"> <p align="center">IN 3</p> </td> <td width="17%"> <p align="center">IN 4</p> </td> <td width="17%"> <p align="center">EN B</p> </td> </tr> <tr valign="top"> <td height="19" width="17%"> <p align="center">11</p> </td> <td width="17%"> <p align="center">10</p> </td> <td width="17%"> <p align="center">9</p> </td> <td width="17%"> <p align="center">7</p> </td> <td width="17%"> <p align="center">6</p> </td> <td width="17%"> <p align="center">5</p> </td> </tr> </tbody> </table> The following pins on the Arduino Uno are PWM pins: The IN pins define the direction of the movement and the EN 3,5,6,9,11 -- %USERSIG{UliRaich - 2017-11-21}% ---++ Comments %COMMENT%
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2017-11-24
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback