dev.nlited.com

>>

Connecting the Motor

<<<< prev
next >>>>

2014-07-21 20:07:48 chip Page 1080 📢 PUBLIC

Now that the controller is working it is time to connect to the REAL WORLD and move something!

EZ430 BlinkMtr01 NEMA8 bipolar stepper motor I am connecting to a Nema8 bipolar miniature stepper motor (8HS13-0604S) . This is a relatively small, strong, and heavy motor. It is not suitable for any sort of flying aircraft and probably not good for battery power. But it is common, cheap, and a good representative of a lot of bipolar stepper motors.

Electrical Specification
Part Number8HS13-0604S
Motor TypeBipolar stepper
Step Angle1.8 degrees
Holding Torque2Ncm (3oz.in)
Rated current/phase600mA
Phase resistance6.5 ohm
Recommended voltage12-24V
Inductance2.2mH +/- 20% (1KHz)
Physical Specification
Frame size20x20mm
Body length33mm
Shaft diameter4mm
Shaft length10mm
D-cut length7mm
Number of leads4
Lead length300mm
Weight70g

Connectors: A=BLK B=RED C=GRN D=BLU

This is the wiring diagram for the stepper motor:

EZ430 BlinkMtr01 Motor Wiring

I believe this is the translation through all the different names for the wires:

ABCDA+B+A-B-Colors
AA+BLK
BB+RED
CA-GRN
DB-BLU

Which, of course, means my J4 output jack is incompatible with the wiring harness on the motor. :(

EZ430 BlinkMtr01 motor connector wrong. EZ430 BlinkMtr01 wiring harness

J4 should be RED/BLUE/BLK/GRN which is B+/B-/A+/A-.

I cobbled together this test rig:

EZ430 BlinkMtr01 Test Rig

The motor does not turn. The driver did pull current (and get hot!) sometimes. The scope on the motor output shows it is always high. The scope on the driver STEP input shows it toggling between 2V and 3.7V. I do not understand why the STEP signal does not go to 0V. I think that is my problem.

EZ430 BlinkMtr01 stepper motor step signal

Reviewing the schematic reveals that R20 was a mistake. I have no idea why I thought STEP should be pulled high. I removed R20 and the motor started ticking! However, it was oscillating and not turning.

The phases were crossed, and reviewing the schematic for the motor outputs revealed that I had mixed up the output pins. This is confusing because of the four different nomenclatures: The A3967 uses "1A,1B,2A,2B", Wikipedia uses "A+ A- B+ B-", the motor uses "A B C D", and the actual wires are "BLK, GRN, RED, BLU".

EZ430 BlinkMtr01 Crossed Wires

MotorWireWikipediaA3967
ABLKA+1A
CGRNA-1B
BREDB+2A
DBLUB-2B

I reconnected the motor, cranked up the load power to 8.4V/450mA, and the motor started turning (very slowly)!

EZ430 BlinkMtr01 power supply

The actual, working wiring configuration:

WireMotorOutA3967
GRN-AOUT1B
BLK-BOUT1A
RED+BOUT2A
BLU+AOUT2B

SUCCESS!

The EZDriver site warns that the driver runs hot, and he wasn't kidding. Turning very slowly, the driver reached just shy of 200F and the motor was over 100F. The next version of this board definitely needs better heat management.



WebV7 (C)2018 nlited | Rendered by tikope in 86.647ms | 3.145.7.217