Page 1
USER MANUAL TB6500 3 A stepper motor driver board WPM333 whadda.com...
Page 2
If in doubt, contact your local waste disposal authorities. Thank you for choosing Whadda! Please read the manual thoroughly before bringing this device into service. If the device was damaged in transit, do not install or use it and contact your dealer.
Page 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.
Page 4
TB6560 MCU, PLC, digital circuits driver board Note: Resistors on data lines are optional. Example Connection to Arduino® UNO Arduino® WPM333 CLK+ CLK-...
Page 5
Whadda WPM333 Stepper Motor Driver Arduino example This example shows how the Whadda WPM333 Stepper Motor Driver board can be used with Arduino. The following connections are required: 2 <==> CW+ GND <==> CW- 3 <==>...
Page 6
#define CLK_Pin 3 #define stepsPerRevolution 200 void setup() { // Declare pins as output: pinMode(CW_Pin, OUTPUT); pinMode(CLK_Pin, OUTPUT); void loop() { // Set the spinning direction clockwise: digitalWrite(CW_Pin, HIGH); // Spin the stepper motor 1 revolution slowly: for (int i = 0; i < stepsPerRevolution; i++) { // These four lines result in 1 step: digitalWrite(CLK_Pin, HIGH);...
Page 7
// Set the spinning direction counterclockwise: digitalWrite(CW_Pin, LOW); // Spin the stepper motor 5 revolutions fast: for (int i = 0; i < 5 * stepsPerRevolution; i++) { // These four lines result in 1 step: digitalWrite(CLK_Pin, HIGH); delayMicroseconds(2000); digitalWrite(CLK_Pin, LOW); delayMicroseconds(2000);...
Need help?
Do you have a question about the WPM333 and is the answer not in the manual?
Questions and answers