Rescale Factor
Learn how to use rescale factor for intuitive position units
Note: The 1067_0B is identical to the 1067_0, except that you have the option of whether you want to include the USB cable.
The 1067 – PhidgetStepper Bipolar HC allows you to control the position, velocity, and acceleration of one bipolar stepper motor. The 1067 can be used in applications that require very precise positioning, especially when used with a gearless stepper with a precise step angle. It uses micro-stepping at all times to ensure smooth acceleration.
This board is USB isolated, protecting your system from ground loops, and comes with a built-in replacable ATP Blade Terminal fuse to protect against an over-current scenario.
The 1067 can control both unipolar and bipolar motors, but in almost all cases you're better off with a bipolar motor due to their increased power and more precise step angles. If you care about torque, large motors with high gear ratios are your best bet. If you car about speed, motors with no gearbox and high step angles are better. If you want precision, steppers without gearboxes and low step angles are best because while gearboxes do result in smaller steps, they also introduce a flat 1-3 degrees of positional error due to backlash in the gears.
Product | Motor Properties | Electrical Properties | Physical Properties | Gearbox Properties | ||||
---|---|---|---|---|---|---|---|---|
Part Number | Price | Step Angle | Rated Torque | Maximum Motor Speed | Recommended Voltage | Shaft Diameter | Weight | Gear Ratio |
NEMA11 - 1.8 Degree - 0.67A Stepper - Gearless
|
$16.00 | 1.8° | 520 g·cm | 1300 RPM | 24 V DC | 5 mm | 111.4 g | — |
NEMA11 - 1.8 Degree - 1.5A Stepper - 27:1 Gearbox
|
$38.00 | 0.067° | 14 kg·cm | 50 RPM | 24 V DC | 6 mm | 217.5 g | 26 103⁄121 : 1 |
NEMA11 - 1.8 Degree - 0.67A Stepper - 100:1 Gearbox
|
$38.00 | 0.018° | 32 kg·cm | 13 RPM | 24 V DC | 6 mm | 243.6 g | 99 1044⁄2057 : 1 |
NEMA14 - 1.8 Degree - 1A Stepper - Gearless
|
$16.00 | 1.8° | 1.2 kg·cm | 1000 RPM | 24 V DC | 5 mm | 200 g | — |
NEMA17 - 0.9 Degree - 1.68A Stepper - Gearless
|
$20.00 | 0.9° | 3.3 kg·cm | 400 RPM | 24 V DC | 5 mm | 288 g | — |
NEMA17 - 1.8 Degree - 1.68A Stepper - Gearless
|
$16.00 | 1.8° | 3.3 kg·cm | 1000 RPM | 24 V DC | 5 mm | 289 g | — |
NEMA17 - 1.8 Degree - 1.68A Stepper - 5.18:1 Gearbox
|
$40.00 | 0.35° | 18 kg·cm | 200 RPM | 24 V DC | 8 mm | 457 g | 5 2⁄11 : 1 |
NEMA17 - 1.8 Degree - 1.68A Stepper - 14:1 Gearbox
|
$42.00 | 0.13° | 30 kg·cm | 70 RPM | 24 V DC | 8 mm | 502 g | 13 212⁄289 : 1 |
NEMA17 - 1.8 Degree - 1.68A Stepper - 27:1 Gearbox
|
$44.00 | 0.067° | 30 kg·cm | 40 RPM | 24 V DC | 8 mm | 503 g | 26 103⁄121 : 1 |
NEMA17 - 1.8 Degree - 1.68A Stepper - 51:1 Gearbox
|
$46.00 | 0.035° | 48 kg·cm | 20 RPM | 24 V DC | 8 mm | 564 g | 50 4397⁄4913 : 1 |
NEMA17 - 1.8 Degree - 1.68A Stepper - 100:1 Gearbox
|
$48.00 | 0.018° | 48 kg·cm | 10 RPM | 24 V DC | 8 mm | 564 g | 99 1044⁄2057 : 1 |
NEMA23 - 0.9 Degree - 2.8A Stepper - Gearless
|
$28.00 | 0.9° | 11.2 kg·cm | 500 RPM | 24 V DC | 1⁄4″ | 695 g | — |
NEMA23 - 1.8 Degree - 2.8A Stepper - 4.25:1 Gearbox
|
$70.00 | 0.42° | 46.6 kg·cm | 165 RPM | 24 V DC | 12 mm | 1.2 kg | 4 1⁄4 : 1 |
NEMA23 - 1.8 Degree - 2.8A Stepper - 15:1 Gearbox
|
$72.00 | 0.12° | 150 kg·cm | 50 RPM | 24 V DC | 12 mm | 1.3 kg | 15 3⁄10 : 1 |
NEMA23 - 1.8 Degree - 2.8A Stepper - 77:1 Gearbox
|
$74.00 | 0.023° | 240 kg·cm | 10 RPM | 24 V DC | 12 mm | 1.5 kg | 76 49⁄64 : 1 |
NEMA34 - 1.8 Degree - 4A Stepper - Gearless
|
$60.00 | 1.8° | 30 kg·cm | 200 RPM | 30 V DC | 12 mm | 1.8 kg | — |
This Phidget requires a power supply between 10 and 30V DC. We recommend that you use a 12V DC power supply for small steppers and a 24V DC supply for larger ones. If you're not sure, check the data sheet for your motor for the recommended power supply voltage (not to be confused with the coil voltage, which is usually much lower). For best results, we recommend getting a 5 amp supply. Select the power supply from the list below that matches your region's wall socket type.
Product | Electrical Properties | Physical Properties | ||
---|---|---|---|---|
Part Number | Price | Power Supply Current | Output Voltage | Wall Plug Style |
Power Supply 24VDC 14.6A
|
$40.00 | 14.6 A | 24 V | — |
Power Supply 24VDC 25A Current Limiting
|
$120.00 | 25 A | 24 V | — |
Power Supply DIN Mount 24VDC 1A
|
$20.00 | 1 A | 24 V | — |
Power Supply 12VDC 0.5A - EU
|
$1.50 | 500 mA | 12 V | European |
Power Supply 12VDC 0.5A - US
|
$1.50 | 500 mA | 12 V | North American |
Power Supply 12VDC 2.0A - AU
|
$10.00 | 2 A | 12 V | Australian |
Power Supply 12VDC 2.0A - EU
|
$10.00 | 2 A | 12 V | European |
Power Supply 12VDC 2.0A - UK
|
$10.00 | 2 A | 12 V | British |
Power Supply 12VDC 5A
|
$20.00 | 5 A | 12 V | — |
Power Supply 24VDC 1.0A - US
|
$10.00 | 1 A | 24 V | North American |
Power Supply 24VDC 2.5A
|
$20.00 | 2.5 A | 24 V | — |
Power Supply 24VDC 5A
|
$40.00 | 5 A | 24 V | — |
Power Supply-12VDC 2.0A - US
|
$10.00 | 2 A | 12 V | North American |
The PhidgetStepper Bipolar HC comes with a 5 amp automotive fuse.
Use a USB cable to connect this Phidget to your computer. We have a number of different lengths available, although the maximum length of a USB cable is 5 meters due to limitations in the timing protocol. For longer distances, we recommend that you use a Single Board Computer to control the Phidget remotely.
Product | Physical Properties | |||
---|---|---|---|---|
Part Number | Price | Connector A | Connector B | Cable Length |
USB-A to Mini-B Cable 28cm 24AWG
|
$3.00 | USB Type A | USB Mini-B | 280 mm |
USB-A to Mini-B Cable 28cm Right Angle
|
$3.50 | USB Type A | USB Mini-B (90 degree) | 280 mm |
USB-A to Mini-B Cable 60cm 24AWG
|
$3.50 | USB Type A | USB Mini-B | 600 mm |
USB-C to Mini-B Cable 60cm 28AWG
|
$5.00 | USB Type C | USB Mini-B | 600 mm |
USB-A to Mini-B Cable 83cm Right Angle
|
$4.50 | USB Type A | USB Mini-B (90 degree) | 830 mm |
USB-A to Mini-B Cable 120cm 24AWG
|
$4.00 | USB Type A | USB Mini-B | 1.2 m |
USB-A to Mini-B Cable 180cm 24AWG
|
$4.00 | USB Type A | USB Mini-B | 1.8 m |
USB-C to Mini-B Cable 180cm 28AWG
|
$6.00 | USB Type C | USB Mini-B | 1.8 m |
USB-A to Mini-B Cable 450cm 20AWG
|
$12.00 | USB Type A | USB Mini-B | 4.5 m |
Welcome to the 1066 user guide! In order to get started, make sure you have the following hardware on hand:
Next, you will need to connect the pieces:
Now that you have everything together, let's start using the 1067!
In order to demonstrate the functionality of the 1067, the Phidget Control Panel running on a Windows machine will be used.
The Phidget Control Panel is available for use on both macOS and Windows machines.
To open the Phidget Control Panel on Windows, find the icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel
To open the Phidget Control Panel on macOS, open Finder and navigate to the Phidget Control Panel in the Applications list. Double click on the icon to bring up the Phidget Control Panel.
For more information, take a look at the getting started guide for your operating system:
Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1067.
After plugging the 1067 into your computer and opening the Phidget Control Panel, you will see something like this:
The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:
The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.
Double-click on the Stepper object, labelled PhidgetStepper Bipolar HC, in order to run the example:
General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:
Before you can access the device in your own code, and from our examples, you'll need to take note of the addressing parameters for your Phidget. These will indicate how the Phidget is physically connected to your application. For simplicity, these parameters can be found by clicking the button at the top of the Control Panel example for that Phidget.
In the Addressing Information window, the section above the line displays information you will need to connect to your Phidget from any application. In particular, note the Channel Class field as this will be the API you will need to use with your Phidget, and the type of example you should use to get started with it. The section below the line provides information about the network the Phidget is connected on if it is attached remotely. Keep track of these parameters moving forward, as you will need them once you start running our examples or your own code.
You are now ready to start writing your own code for the device. The best way to do that is to start from our Code Samples.
Select your programming language of choice from the drop-down list to get an example for your device. You can use the options provided to further customize the example to best suit your needs.
Once you have your example, you will need to follow the instructions on the page for your programming language to get it running. To find these instructions, select your programming language from the Programming Languages page.
The 1067 can be used to control a bipolar stepper motor with 4, 6, or 8 wires.
The PhidgetStepper Bipolar is most effective when used with stepper motors designed to be driven with a chopper drive stepper controller. These motors are often large, with a rectangular industrial appearance. The specifications of these motors are often confusing and may seem contradictory. Our users are often confused attempting to relate the specifications of their motor to the capabilities of the 1067. If you are in doubt if your motor will work with the 1067, call us.
When the steppers are first engaged from software, the stepper motor likely will not be at the same state as the default output state of the controller. This will cause the stepper to ‘snap’ to the position asserted by the controller - potentially moving by 2 full steps.
Unlike the 1063, the 1067 will always micro-step, moving 1/16th of a step for each change in the position variable.
To avoid the use of floating point in the APIs, the position, velocity and acceleration parameters are expressed in microsteps (1/16th steps), instead of full steps. If your application wants to move the motor by 1 full step, you change the position by 16.
Because stepper motors do not have the inherent ability to sense their actual shaft position, they are considered open loop systems.
This means that the value contained in the current position property is merely a count of the number of steps that have occurred towards the target value; it can not be relied upon as a measure of the actual shaft angle, as external forces may also be affecting the motor.
There are several ways of overcoming this drawback. The simplest is to allow the motor load to depress a limit switch located at a known position. This can be used to fire an event in software to recalibrate the shaft position values. A more elegant solution might involve the mounting of an optical encoder on the shaft and the development of a control system.
Bipolar Steppers motors are available in 4, 6 or 8 wire configurations. Driving a motor in the Bipolar Configuration produces maximum torque. The word Bipolar means that the controlling electronics have to be able to produce a current flow in either direction in each coil, to produce magnetic fields in opposite directions.
A 4 wire Stepper motor can only be controlled as a bipolar. There are two coils, with the ends of each coil brought out. By applying current to the two coils in sequence, and changing the direction of current flow, the motor can be made to rotate. Determining how to connect a 4 wire stepper to the 1067 can be done by following this procedure. Suppose we have four wires: red, green, yellow and blue. Start by measuring the resistance between all the wires. Below is a sample table of resistance data, in ohms. This table contains example values, your readings may be different but should still produce a similar pattern. |
||
Wire Color | Green | Blue | Yellow | Red |
---|---|---|---|---|
Green | 30 | ∞ | ∞ | |
Blue | ∞ | ∞ | ||
Yellow | 30 | |||
Red |
Looking at the table, you see that there are two pairs of wires (Green-Blue, and Yellow-Red), with roughly the same resistance measured between the wires in each pair. Pick one of the four wires and wire it to the A terminal. The other wire in this pair is connected to the B terminal. At random, wire the other pair to C and D. The motor will turn in clockwise or counter-clockwise rotation. Swapping the A and B wires or the C and D wires will change whether the motor considers “forward” to mean clockwise or counter-clockwise rotation (Remember, steppers can be run in forward or reverse by choosing a target position greater than or less than the current position).
In a 6 – wire bipolar motor, there is two + wires, one for each coil, which are the center taps for each coil. You will need to isolate which are the center tap wires and the corresponding wires for their coil. These center taps are left unconnected to operate as a bipolar. Let’s assume our six wire stepper motor wires are colored as follows: red, green, blue, white, purple, and yellow. We measure the resistance between all wires and are presented with the following values in ohms (these are simply example values):
|
||
Wire Color | Red | White | Yellow | Purple | Green | Blue |
---|---|---|---|---|---|---|
Red | ∞ | ∞ | ∞ | 10 | 10 | |
White | 10 | 10 | ∞ | ∞ | ||
Yellow | 20 | ∞ | ∞ | |||
Purple | ∞ | ∞ | ||||
Green | 20 | |||||
Blue |
Looking at our table, we can see our pattern. The red wire has the same resistance to the green and blue wires. The white wire has the same resistance to the yellow and purple wire. Red, green, and blue are for one pole, and white, yellow, and purple are the other pole. The red and white wires are the center of their coils. Leave the red/white wires unconnected, and follow the instructions for connecting a 4-Wire Bipolar Motor as described earlier in this section.
There are in fact two valid combinations, one that will produce a clockwise rotation in the stepper motor for increasing position and one that will produce counter-clockwise rotation. Swapping the A and B wires or the C and D wires will change whether the motor considers “forward” to mean clockwise or counter-clockwise rotation.
8 Wire Motors are very difficult to wire up if you do not have a schematic showing how the wires are connected to the internal coils. Only follow these instructions if you are really desperate. In an 8 wire motor, the coils are split, and we have to reconnect the coils, to reduce them to a 4 wire. Assume our eight wire stepper motor wires are colored as follows: red, yellow, purple, orange, blue, green, brown, and white. In an 8-wire stepper motor, these wires would be part of 4 coils, 2 wires per coil. We need to determine the cable pairings. We measure the resistance between each wire and are presented with the following values in ohms (these are simply example values):
|
||
Wire Color | Orange | Red | Yellow | Purple | Blue | Green | Brown | White |
---|---|---|---|---|---|---|---|---|
Orange | ∞ | ∞ | ∞ | 1 | ∞ | ∞ | ∞ | |
Red | ∞ | ∞ | ∞ | 1 | ∞ | ∞ | ||
Yellow | ∞ | ∞ | ∞ | 1 | ∞ | |||
Purple | ∞ | ∞ | ∞ | 1 | ||||
Blue | ∞ | ∞ | ∞ | |||||
Green | ∞ | ∞ | ||||||
Brown | ∞ | |||||||
White |
This table tells us which wires are parts of a coil. From the table we can tell that red/green, yellow/brown, purple/white, and orange/blue are the coils.
We are now left with the following situation; we need to determine the proper orientation of the wires to determine our connections. Of each pair, one of the wires will be assigned to A, B, C, or D, and the other wire will be connected to another pair. The number of combinations to be tried to see if they produce rotation is large, but can be reduced to a maximum of 96 possibilities by following these steps:
If you attempt to use this algorithm, build a table of permutations beforehand and proceed in a systematic way.
There are a total of 96 wiring combinations, of which there are 2 valid combinations where one will cause a clockwise motor rotation and the other will cause a counter-clockwise rotation.
If you are not using a Phidget stepper, we suggest consulting any manuals or data sheets that are associated with your particular motor in order to determine the proper wiring for your motor.
The 1067 can operate from 10 to 30 VDC. It is able to reduce the voltage during operation if your motor requires less, but it cannot increase the voltage. First, find the resistance of the coils in your motor. We will assume 4 Ohms. Add 0.5 Ohms to this to account for the electronics on the 1067. Decide the maximum current you want to push through the coils.
This current limit is per coil, and you set this through the software API when you write your application. The maximum current for your stepper is part of the motor specification - you can use the stepper with less current, to reduce power consumption, but you will get reduced torque. We'll assume the limit for this example is 2 Amps. Multiply 4.5 Ohms * 2 Amps = 9 Volts. The minimum voltage you can operate this motor at will be 9 Volts + 0.5 Volts for the controller. If the voltage you provide is less than what is required for the motor (but still more than 9 volts), the motor will still run, but not at full spec, and may not step as smoothly as it could.
For more information about how supply voltage affects your motor's maximum speed and torque, check the Stepper Motor Guide.
The 1067 allows the current applied to the motor to be programmatically set. This is important - if the current limit is set too high, the motor’s internal resistance will cause the sine-wave approximations used to implement microstepping to clip at the maximum current possible, given your motor/supply voltage. This clipping will cause rough operation, or prevent the motor from turning. If the limit is set too low, the motor may not be able to handle it’s load, by missing steps, or not turning at all at high accelerations.
For more information about setting the current limit, check the Stepper Motor Guide.
A stepper motor can be caused to rotate continuously by simply setting the motor position property to an extremely large number of steps. The valid range of values for the motor position property is large enough to be able to cause the motor to continuously turn at maximum velocity for several years. You could also reset the current position variable whenever the motor reaches a certain position. If the target position is kept the same, this will also produce continuous rotation.
Holding torque is the amount of torque required to rotate the motor ‘against it’s will’ when the full rated current is flowing through the coils. If current consumption / heating is a problem, and full holding torque is not required, the Current Limit can be decreased in software when the motor is not moving. Holding torque will decrease linearly with the Current Limit.
There is also a small resistance to movement within the motor even when there is no current, called Detent Torque. This may be sufficient to prevent rotation in your application, particularly if the stepper has a gearbox on it.
If the motor is not supporting a load or is not required to maintain a specific angle, it is recommended to set the Enable property to false. This will allow the motor shaft to rotate freely, but the present angle may be lost if forces on the motor-shaft are greater than can be resisted by the detent torque of the unpowered motor.
Stepper motor precision is limited by the manufacturing process used to build them. Errors in the rotor and coils will cause some degree of inaccuracy. In our experience, inexpensive stepper motors will often have positioning errors approaching a half-step. Gearing a stepper motor down with a gearbox will reduce this error proportional to the reduction ratio of the gearbox.
Many applications call for several steppers motors operating in unison - for example, operating a CNC table, or a robot arm. Highly precise synchronization of steppers using the PhidgetStepper is not possible, as the sequencing will be affected by the real-time performance of your operating system. Each stepper is controlled as a independent unit, so there is no way of arranging for a particular action to happen to all motors at the same time. Typical jitter can be 10-30mS.
When looking for a motor that will be compatible with the 1067, check the motor's data sheet and make sure it meets the following specifications.
If your stepper motor is not behaving correctly, you can use a multimeter to determine whether it is the controller or the motor that is at fault.
Disconnect the motor and set the current limit to 0. Set the target position to 7 and measure the voltage difference between the A and B terminals it should be either -12, or +12V assuming you are using a 12V power supply (just depending on which terminal you have the positive multimeter lead connected to). Then set the target position to 8, the voltage should drop to 0, and it will go to the opposite at 9 (-12 or +12). This pattern will repeat for 39,40,41 and 71,72,73 and 103,104,105 etc... in increments of 32. If this is behaving as expected then the problem is probably with how you have connected your motor, or your code.
For more information about stepper motors, check the Stepper Motor and Controller Guide.
Controller Properties | |
---|---|
API Object Name | Stepper |
Motor Type | Bipolar Stepper |
Number of Motor Ports | 1 |
Motor Position Resolution | 1⁄16 Step (40-Bit Signed) |
Position Max | ± 1E+15 1⁄16 steps |
Stepper Velocity Resolution | 1 1⁄16 steps/sec |
Stepper Velocity Max | 250000 1⁄16 steps/sec |
Stepper Acceleration Resolution | 1 1⁄16 steps/sec² |
Stepper Acceleration Min | 2 1⁄16 steps/sec² |
Stepper Acceleration Max | 1E+07 1⁄16 steps/sec² |
Board Properties | |
Controlled By | USB (Mini-USB) |
USB Stack | HID |
API Object Name | Stepper |
Electrical Properties | |
Available Current per Coil Max | 4 A |
Supply Voltage Min | 10 V DC |
Supply Voltage Max | 30 V DC |
Current Consumption Min | 25 mA |
USB Speed | Full Speed |
Replacement Fuse | 5A Slow Blow Blade Type, Regular or Micro |
Isolation Voltage (DC) | 3.8 kV DC |
Physical Properties | |
Power Jack | 5.5 x 2.1mm Center Positive |
Recommended Wire Size (Motor Terminal) | 12 to 26 AWG |
Recommended Wire Size (Power Terminal) | 12 to 26 AWG |
Operating Temperature Min | -20 °C |
Operating Temperature Max | 85 °C |
Customs Information | |
Canadian HS Export Code | 8471.80.00 |
American HTS Import Code | 8471.80.40.00 |
Country of Origin | CN (China) |
Date | Board Revision | Device Version | Packaging Revision | Comment |
---|---|---|---|---|
January 2013 | 0 | 200 | Product Release | |
October 2015 | 0 | 201 | OS X El Capitan USB fix | |
April 2017 | 0 | 202 | Changes to USB-stack | |
October 2017 | 0 | 202 | B | Removed USB cable |
October 2018 | 0 | 203 | B |
|
November 2019 | 0 | 204 | B | Fixed bug affecting 'stopped' event while changing position during deceleration |
October 2020 | 0 | 205 | B | Fixed an issue causing the timer to count over the match register |
November 2020 | 0 | 206 | B | Fixed crash that could occur at low acceleration |
Channel Name | API | Channel |
---|---|---|
Bipolar Stepper Controller | Stepper | 0 |
Product | Controller Properties | Electrical Properties | |||
---|---|---|---|---|---|
Part Number | Price | Motor Position Resolution | Stepper Velocity Resolution | Stepper Velocity Max | Available Current per Coil Max |
4A Stepper Phidget
|
$40.00 | 1⁄16 Step (40-Bit Signed) | 1 1⁄16 steps/sec | 115000 1⁄16 steps/sec | 4 A |
8A Stepper Phidget
|
$80.00 | 1⁄16 Step (40-Bit Signed) | 1 1⁄16 steps/sec | 115000 1⁄16 steps/sec | 8 A |
PhidgetStepper Bipolar HC
|
$90.00 | 1⁄16 Step (40-Bit Signed) | 1 1⁄16 steps/sec | 250000 1⁄16 steps/sec | 4 A |