USER MANUAL EN L298N dual bridge DC and stepper motor controller board WPI409 whadda.
Introduction To all residents of the European Union Important environmental information about this product This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.
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.
CSB CSA UR1 UR2 UR3 UR4 5V_EN current test pin for motor 1; can be wired to a resistor for current testing or tied to a jumper to disable it current test pin for motor 2; can be wired to a resistor for current testing or tied to a jumper to disable it pull-up resistor pull-up resistor pull-up resistor pull-up resistor 5 V source jumper; supplies power from the VMS port when the jumper is enabled; the power is supplied by the 5 V port when the jumper is disabled Example 2-Stepper DC Motor This demo will t
// disable motor output by setting all INx pins high digitalWrite(in1, HIGH); digitalWrite(in2, HIGH); digitalWrite(in3, HIGH); digitalWrite(in4, HIGH); } void loop() { digitalWrite(in1, LOW); // Turn on motor A in direction 1 delay(2000); digitalWrite(in1, HIGH); // Turn off motor A in direction 1 digitalWrite(in2, LOW); // Turn on motor A in direction 2 delay(2000); digitalWrite(in2, HIGH); // Turn off motor A in direction 2 digitalWrite(in3, LOW); // Turn on motor B in direction 1 delay(2000); digitalWri
const int stepsPerRevolution = 200; // Create Instance of Stepper library Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11); void setup() { // 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.
whadda.com Modifications and typographical errors reserved - © Velleman Group nv. WPI409_v01 Velleman Group nv, Legen Heirweg 33 - 9890 Gavere.