background image

 

Ausgabe 19.05.2017  

Copyright by Joy-IT 

 
 

3

 

MotoDriver2 

Содержание MotoDriver2

Страница 1: ...Ausgabe 19 05 2017 Copyright by Joy IT 1 3 MotoDriver2 ...

Страница 2: ...Ausgabe 19 05 2017 Copyright by Joy IT 2 3 MotoDriver2 Index 1 Introduction 2 PIN Assignment 3 Connecting to an Arduino Uno 4 Usage ...

Страница 3: ...sion board which allows you to cotnrol and use up to two direct current motors at once The motors can be controlled with a constant voltage from 5V to 35V Model SBC MotoDriver2 Driver L298N Logical voltage 5V Drive Voltage 5V 35V Drive Current 2A Power Max 25W Dimensions L x B x H 43mm x 43mm x 27mm Scope of delivery MotoDriver2 EAN 425023681513 Technical Specification ...

Страница 4: ...t is perfect for supplying power to an Arduino This output is only active if the jumper on position 3 is set PIN Belegung 1 DC Motor 1 Stepper Motor 2 DC Motor 1 Stepper Motor GND 3 12V Jumper 4 Power Supply 5 Power Supply GND 6 5V Output if Jumper 3 is in place 7 DC Motor 1 Jumper 8 Input 1 9 Input 2 10 Input 3 11 Input 4 12 DC Motor 2 Jumper 13 DC Motor 2 Stepper Motor 14 DC Motor 2 Stepper Moto...

Страница 5: ...2017 Copyright by Joy IT 5 3 Anschluss an einen Arduino Uno MotoDriver 2 Arduino Input 1 9 Input 2 8 Input 3 7 Input 4 6 The power supply for the MotoDriver2 PIN 4 needs to between 5V and 35V depending on your setup ...

Страница 6: ...Pin3 7 const int motorPin4 6 int speed 180 void setup Set pins as outputs pinMode motorPin1 OUTPUT pinMode motorPin2 OUTPUT pinMode motorPin3 OUTPUT pinMode motorPin4 OUTPUT Motor Control A in both directions analogWrite motorPin1 speed delay 2000 analogWrite motorPin1 0 delay 200 analogWrite motorPin2 speed delay 2000 analogWrite motorPin2 0 Motor Control B in both directions analogWrite motorPin...

Отзывы: