background image

 

 

 
 

 3 

 

What is Arduino® 

 

 

Arduino

®

 is an open-source prototyping platform based on easy-to-use hardware and 

software. Arduino

®

 boards are able to read inputs 

 light-on sensor, a finger on a button or a 

Twitter message 

 and turn it into an output 

 activating of a motor, turning on an LED, 

publishing something online. You can tell your board what to do by sending a set of 
instructions to the microcontroller on the board. To do so, you use the Arduino 
programming language (based on Wiring) and the Arduino

®

 software IDE (based on 

Processing). Additional shields/modules/components are required for reading a twitter 
message or publishing online. Surf to 

www.arduino.cc

 for more information. 

Product Overview 

 

 

This module allows full control of two DC motors or one stepper motor. 

Specifications 

 

 

 

driver: L298N 

 

 

driver power supply: 5-35 V 

 

 

driver output current (max.): 2 A 

 

 

logic power output Vss: 5-7 V (internal 5 V) 

 

 

logic current: 0-36 mA 

 

 

controlling level: low -0.3 V to 1.5 V, high: 2.3 V-Vss 

 

 

enable signal level: low -0.3 V to 1.5 V, high: 2.3 V-Vss 

 

 

max. power: 25 W 

 

 

working temperature: -25 to +130 °C (-13 to 266 °F) 

 

 

dimensions: 69 x 56 x 36 mm (2.71 x 2.2 x 1.41") 

Pin Layout 

 

 

pin name 

description 

 

MOTORA

 

motor 1

 

 

MOTORB

 

motor 2

 

 

VMS

 

5 VDC to 35 VDC

 

 

GND

 

ground

 

 

5V

 

power input for the logic circuit on the board

 

 

ENA

 

enable pin for motor 1

 

 

IN1

 

control pin motor 1

 

 

IN2

 

control pin motor 1

 

 

IN3

 

control pin motor 1

 

 

IN4

 

control pin motor 1

 

 

ENB

 

enable pin for motor 2

 

 

5V

 

5 V output

 

 

GND

 

ground

 

Summary of Contents for L298N

Page 1: ...USER MANUAL EN L298N dual bridge DC and stepper motor controller board WPI409 whadda com ...

Page 2: ...sons with reduced physical sensory or mental capabilities or lack of experience and knowledge if they have been given supervision or instruction concerning the use of the device in a safe way and understand the hazards involved Children shall not play with the device Cleaning and user maintenance shall not be made by children without supervision General Guidelines Refer to the Velleman Service and...

Page 3: ...ine Surf to www arduino cc for more information Product Overview This module allows full control of two DC motors or one stepper motor Specifications driver L298N driver power supply 5 35 V driver output current max 2 A logic power output Vss 5 7 V internal supply 5 V logic current 0 36 mA controlling level low 0 3 V to 1 5 V high 2 3 V Vss enable signal level low 0 3 V to 1 5 V high 2 3 V Vss max...

Page 4: ...d the power is supplied by the 5 V port when the jumper is disabled Example 2 Stepper DC Motor This demo will test the motor controller board by running two connected DC motors in each direction for 2 seconds See whadda com for the manual which includes a wiring diagram int in1 13 IN1 connected to digital pin 13 int in2 12 IN2 connected to digital pin 12 int in3 11 IN3 connected to digital pin 11 ...

Page 5: ...off motor A in direction 2 digitalWrite in3 LOW Turn on motor B in direction 1 delay 2000 digitalWrite in3 HIGH Turn off motor B in direction 1 digitalWrite in4 LOW Turn on motor B in direction 2 delay 2000 digitalWrite in4 HIGH Turn off motor B in direction 2 2 Phase Stepper Motor This demo will test the motor controller board by running a connected stepper motor in each direction for a full revo...

Page 6: ...p set the speed at 60 rpm myStepper setSpeed 60 initialize the serial port Serial begin 9600 void loop step one revolution in one direction Serial println clockwise myStepper step stepsPerRevolution delay 500 step one revolution in the other direction Serial println counterclockwise myStepper step stepsPerRevolution delay 500 ...

Page 7: ...7 whadda com Modifications and typographical errors reserved Velleman Group nv WPI409_v01 Velleman Group nv Legen Heirweg 33 9890 Gavere ...

Reviews: