LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Steper Motor Help

I'm trying to drive a steper motor p/n: H23R120456 (datasheet inclused) using the arduino board (UNO) and using a "Dual h-bridge DC motor/Stepper motor driver (datasheet inclused).

the stepper motor has 6 leads two of them are COMs. I also read that I could use (by not connecting the commons) connect it as a series bipolar.

I have been trying to use the LIFA example (steper motor) but I get errors (timeouts) etc.

Up to this point the motor has not moves 1 mm to neither direction.

Any help in this matter will be greatly appreaciated.

0 Kudos
Message 1 of 6
(4,314 Views)

Your steper motor driver is incompatible with LIFA.  LIFA requires either an "Easy Driver" or a "Big Easy Driver".  See  <http://www.sparkfun.com/products/10735>   With a Big easy Driver you send to it a direction signal and one pulse for every step.   Where as with yuur "Driver: L298N dual H-bridge motor driver" you send separate step siognals to each widing and in a particular sequence to get the step motor to move.  See section on F"ull Step" on following web page.  <http://zone.ni.com/devzone/cda/ph/p/id/247>

For additional information see LIFA > Documentation > Step moor example.

Howard

0 Kudos
Message 2 of 6
(3,346 Views)

First of all thanks for the replay.

I will take a look into the easy Driver.

I have a question, is it ok to leave the commons floating (in my scenario)?

secon d question: I would be interested in controlling a threee phase step motor, what set up would i need to use (two big easy drivers) to controller with LIFA?

0 Kudos
Message 3 of 6
(3,346 Views)

You can not use LIFA or a Big easy Driver with a 3 phase stepper motor,   You need something similar to the follwing.

<http://www.datasheetdir.com/SLA7611M+Stepper-Motor-Drivers>

The data in the above link is pretty sparse but it does show how the wiring for a 3 phase stepper differs from a 2 phase stepper.

Howard

0 Kudos
Message 4 of 6
(3,346 Views)

Yes, it is OK to leave the commons floating.  However, you should wrap insulating tape around the ends of the leads ro keep them from shorting the stepper drive signal.

You may want to test your L298N driver using the information given in the following link. 

<http://www.bristolwatch.com/L298N/L298N_arduino.htm>

The diodes in the digrams are snubber diodes. 

This test does not use LIFA.  If you have loaded the LIFA firmware on your Uno this test will over write the LIFA firmware.  If at a latter date you want to use LIFA you will need to reload the LFA firmwre. 

Howard

0 Kudos
Message 5 of 6
(3,346 Views)

thanks for the help i was able to drive the motor using the apropiate number of digital outputs and sequence.

tanks for your help hrh 1818.

0 Kudos
Message 6 of 6
(3,346 Views)