The board sports the folowing connectors:<\/span><\/p>\nTerminal Strip<\/b><\/p>\n
This 6-screw connector terminal strip has the following connections:<\/span><\/p>\n\n- GND<\/b> – The Ground connection<\/span><\/li>\n
- VIN<\/b> – Positive DC voltage input, 85 volts maximum<\/span><\/li>\n
- A-<\/b> – Stepper Motor Coil A.<\/span><\/li>\n
- A+<\/b> – Stepper Motor Coil A<\/span><\/li>\n
- B+<\/b> – Stepper Motor Coil B<\/span><\/li>\n
- B-<\/b> – Stepper Motor Coil B<\/span><\/li>\n<\/ul>\n
Power Jack<\/b><\/p>\n
The WiFi Stepper has a 2.1mm barrel connector. This can be used to supply power at up to 50 volts DC.<\/span><\/p>\npowerSTEP01 Breakouts<\/b><\/p>\n
There is a 6-pin male header at the top of the board that can be used to make direct connections to the powerSTEP01 stepper motor driver.<\/span><\/p>\n\n- 3V3<\/b> – A 3.3-Volt output for driving external logic circuitry<\/span><\/li>\n
- GND<\/b> – A Ground connection.<\/span><\/li>\n
- SW<\/b> – An input for an external switch. This accepts a 3.3-volt logic-level signal and has an internal pull-up resistor.<\/span><\/li>\n
- STEP<\/b> – An input for an external stepper clock signal. It is a 3.3-volt logic signal.<\/span><\/li>\n
- FLAG<\/b> – An active-low error signal. It is also connected to the internal red FLAG LED.<\/span><\/li>\n
- BUSY<\/b> – An active-low busy signal. It’s low when the stepper motor driver is executing a command.<\/span><\/li>\n<\/ul>\n
ESP8266 Breakouts<\/b><\/p>\n
The 9-pin male header at the bottom of the board provides connections to the ESP8266 WiFi controller module.<\/span><\/p>\n\n- 3V3<\/b> – A 3.3-volt power output for powering external logic circuitry.<\/span><\/li>\n
- GND<\/b> – A Ground connection.<\/span><\/li>\n
- SCK<\/b> – The I2C clock connection.<\/span><\/li>\n
- SDA<\/b> – Th eI2C Data connection.<\/span><\/li>\n
- RST<\/b> – The ESP8266 Reset pin. Sending this low will disable the ESP8266.<\/span><\/li>\n
- ADC<\/b> – The 10-bit analog to digital converter input.<\/span><\/li>\n
- BOOT<\/b> – The ESP8266 BOOT pin. Ground this to enter the ESP8266 bootloader.<\/span><\/li>\n
- RX<\/b> – The ESP8266 UART receive.<\/span><\/li>\n
- TX<\/b> – The ESP8266 UART transmit.<\/span><\/li>\n<\/ul>\n
<\/p>\n
Status LEDs<\/b><\/p>\n
The board also has three status LEDs.<\/span><\/p>\n\n- POWER – Indicates power on.<\/span><\/li>\n
- FLAG – Indicates that an error flag has been raised.<\/span><\/li>\n
- WIFI – A WiFi activity LED<\/span><\/li>\n<\/ul>\n
In addition, the WiFi Stepper board has a Reset switch. Pressing and holding this button will reset the device to its initial factory configuration.<\/span><\/p>\nSolder Pads<\/b><\/p>\n
On the bottom of the WiFi Stepper board there are two long pads.<\/span><\/p>\n<\/p>\n
These pads are across some low-value power resistors on the top of the board. The power resistors are used to measure the amount of current delivered to the motor coils when The WiFi Stepper is in Current Control Mode.<\/span><\/p>\nWhen the WiFi Stepper is used in Voltage Control Mode the resistors are not necessary and, as they are in series with the motor coils. They slightly reduce the amount of current delivered to the stepper motor.<\/span><\/p>\nIf you only plan to run the unit in Voltage Control Mode then you can use these pads to solder a jumper or bridge and effectively short out the power resistors. This will slightly increase the available torque in Voltage Control Mode.<\/span><\/p>\nIn my tests I did not bridge these pads as I wanted to experiment with both modes.<\/span><\/p>\nGetting Started<\/span><\/h2>\nNow that we have gone over the components and connections on the WiFi Stepper controller board it\u2019s time to hook it up!<\/span><\/p>\nMotor Connections<\/span><\/h3>\nThe first step is to connect a bipolar stepper motor to the controller. This is done using the terminal strip A and B connections.<\/span><\/p>\nIf you are not sure about your stepper motors connections the best bet is to try and find a spec sheet that details them. But if that isn\u2019t possible you can figure it out using a multimeter. <\/span><\/p>\nMeasure the resistance across different combinations of the four wires from your stepper motor. Two pairs of wires should show a very low resistance, the other combinations should show infinite resistance.<\/span><\/p>\nThe two wire pairs with the low resistance are the two motor coils. Connect them to the A and B connections on the terminal strip.<\/span><\/p>\nOf course, this method does not give you the coil polarity or phase, however, in the web-based user interface you can reverse the polarity of one of the coils. \u00a0This eliminates the need to manually reverse the wires.<\/span><\/p>\nPower Supply<\/span><\/h3>\nNext is the power supply. You will want to use a power supply with the same voltage rating as your stepper motor coils, and with enough current capacity as well. \u00a0The faceplate on your motor may have all the details you need.<\/span><\/p>\nIf your power supply is less than 50 volts you have two choices for connecting it.<\/span><\/p>\nYou can use the 2.1mm barrel power connector with a mating plug, the center wire is the positive connection. \u00a0Or you can use the remaining two terminals on the terminal strip, paying close attention to polarity.<\/span><\/p>\nIf your power supply is between 50 and 85 volts then you\u2019ll need to use the terminal strip connectors instead of the barrel connector.<\/span><\/p>\nWiFi Setup<\/span><\/h3>\nOnce you apply power to the WiFi Stepper controller it will power up the ESP8266 and start the wifi. \u00a0The next step is to set up the wifi connection on the device you intend to use to control the stepper motor.<\/span><\/p>\nYou can use a computer, tablet or phone to control the stepper motor, the web-based interface is responsive so it supports all three platforms.<\/span><\/p>\nOn your device open your wifi connections and scan for a source with an SSID of <\/span>wsx100-ap<\/span><\/i>. This is the connection to the WiFi Stepper.<\/span><\/p>\nInitially, the wifi connection <\/span>wsx100-ap<\/span><\/i> is open, it has no passkey. So it should be very easy to connect to. Once you are in the web-based interface you may set up a passkey and change the SSID if you wish to.<\/span><\/p>\nAfter you have established a wifi connection to the board you can start using the web-based user interface to control your stepper motor.<\/span><\/p>\nWeb-Based User Interface<\/span><\/h2>\nThe WiFi Stepper controller supports a full-featured web-based user interface that allows you to control virtually every aspect of your stepper motor operation.<\/span><\/p>\nOnce you have connected to the WiFi Stepper controller via wifi you can access the user interface using your web browser. <\/span><\/p>\nOpen your browser and type <\/span>http:\/\/192.168.4.1<\/span><\/i> into the address bar. Alternatively, you may type <\/span>