-
Notifications
You must be signed in to change notification settings - Fork 5
TMC260_Stepper_Motor_Driver_Shield_SKU__DRI0035
thumb|350px|right|TMC260 Stepper Motor Driver Shield SKU:DRI0035 Do you want to do some projects with stepper motors? A pair of automatic curtains? An XY Plotter? A 3D printer? Generally, it's not been easy to find a powerful stepper motor driver for Arduino, but now this has changed! DFRobot presents the TMC260 Stepper Motor Driver Shield. This shield allows your Arduino to easily drive stepper motors (up to 2A per motor coil, 40V max).
Please Download Liberty First: Download Link SPI Sample Code You need to give a “sine” a value in SPI mode using function (tmc26XStepper.SPI_setCoilCurrent(200)) |
Stepper Motor |
A stepper motor is a special electromagnetic motor which can convert pulse signals into corresponding angular displacement (or linear displacement). Ordinary motors continuously rotate, but in stepper motors there are two basic states: positioning and revolving. Once there is a pulse input, stepper motor will rotate a certain angle, which we call a "step".
Control Mode |
- The TMC260 driver chip has two different control modes: SPI and STEP/DIR interface.
- The TMC260 requires configuration parameters and mode bits to be set through the SPI before the motor can be driven. The SPI also allows reading back status values and bits. This interface must be used to initialize parameters and modes necessary to enable driving the motor. This interface may also be used for directly setting the currents flowing through the motor coils, as an alternative to stepping the motor using the STEP and DIR signals, so the motor can be controlled through the SPI interface alone.
- The STEP/DIR interface is a traditional motor control interface available for adapting existing designs to use TRINAMIC motor drivers. Using only the SPI interface requires slightly more CPU overhead to look up the sine tables and send out new current values for the coils.
NOTE: Our developers didn’t find the specific formula in the datasheet to calculate this sine. We welcome you to join in development and help us. |
 **2.STEP/DIR**
The STEP/DIR interface is enabled by default. On each active edge, the state sampled from the DIR input determines whether to step forward or back. Each step can be a fullstep or a microstep, in which there are 2, 4, 8, 16, 32, 64, 128, or 256 microsteps per fullstep. During microstepping, a step impulse with a low state on DIR increases the microstep counter and a high decreases the counter by an amount controlled by the microstep resolution. An internal table translates the counter value into the sine and cosine values which control the motor current for microstepping.
If you have any questions or cool ideas to share, please visit DFRobot Forum
TMC260 Driver Shield Schematics TMC260 Datasheet TMC260 Driver Libraries
shopping online from dfrobot store or dfrobot distributor.