Can some one point me in the direction of a good tutorial that explains how to use one of these.
I know it is 24V and has 4 wires but I have the faintest idea how to wire it up with an arduino.
I salvaged it from a photocopier printer.
Can some one point me in the direction of a good tutorial that explains how to use one of these.
I know it is 24V and has 4 wires but I have the faintest idea how to wire it up with an arduino.
I salvaged it from a photocopier printer.
You will need some sort of interface between the Arduino and the motor because the Arduino can't supply enough current or 24V. The Pololu A4988 driver may well be suitable and if you look that up you should see wiring details.
...R
Robin2:
You will need some sort of interface between the Arduino and the motor because the Arduino can't supply enough current or 24V. The Pololu A4988 driver may well be suitable and if you look that up you should see wiring details....R
I am reasonably confident about wiring it up to the arduino, via appropriate transistors, but my problem is I don't know the 'pinout' of the wires coming from the motor. I found the datasheet for that particular motor but it doesn't enlighten me on how to actually use it.
It's going to be hard to help if you keep the datasheet secret.
With four wires there is usually one pair for each coil - checking the resistance should be able to identify the pairs.
...R
Sorry - attached.
The things is.....do all stepper motors work in a similar manner even if the voltage and step increments vary. Do you wire them all up similarly?
Or do they vary wildly in the way you have to wire them up?
StepperMotorM49SP-2K.pdf (121 KB)
If I'm honest I don't know the answer to your questions.
I think they are all essentially the same.
The specifications say the coil resistance is 4.6V. Using Ohm's law that would suggest a current, at 24V of 5.2 amps. Conversely, the max current of 1 Amp could be achieved with 4.6v.
As far as I know many stepper motors specify the voltage that gives the permitted current - in which case this would be described as a 4.6v motor.
Of course, even so, one would drive it at a higher voltage with a current limiting driver board such as the Pololu A4988. Effective current limiting with transistors or mosfets would be complex unless you are familiar with that sort of stuff.
...R
Robin2:
If I'm honest I don't know the answer to your questions.I think they are all essentially the same.
The specifications say the coil resistance is 4.6V. Using Ohm's law that would suggest a current, at 24V of 5.2 amps. Conversely, the max current of 1 Amp could be achieved with 4.6v.
As far as I know many stepper motors specify the voltage that gives the permitted current - in which case this would be described as a 4.6v motor.
Of course, even so, one would drive it at a higher voltage with a current limiting driver board such as the Pololu A4988. Effective current limiting with transistors or mosfets would be complex unless you are familiar with that sort of stuff.
...R
One of the wires must be GND.
Is there a Vcc and the rest of the wires are logic level. If so what logic level?
Or is their a GND and the rest of the wires are 24V logic lines?
I think you have the wrong mental model. Within the motor there are two separate electromagnet coils. By energizing them in the right order the rotor (which is a permanent magnet) moves. Wikipedia has a good explanation. If you wish you can think of one of each pair of wires being ground and the other power. But you don't connect the two "ground" wires together (or the two power wires). In some circumstances it is necessary to "reverse" the connections to one or other of the coils so the electromagnets work against each other.
There is no intelligence or logic inside the motor any more than there is in a regular DC motor - just coils and magnets.
The "logic" is provided by the Arduino and the stepper motor driver board.
...R
Robin2:
I think you have the wrong mental model. Within the motor there are two separate electromagnet coils. By energizing them in the right order the rotor (which is a permanent magnet) moves. Wikipedia has a good explanation. If you wish you can think of one of each pair of wires being ground and the other power. But you don't connect the two "ground" wires together (or the two power wires). In some circumstances it is necessary to "reverse" the connections to one or other of the coils so the electromagnets work against each other.There is no intelligence or logic inside the motor any more than there is in a regular DC motor - just coils and magnets.
The "logic" is provided by the Arduino and the stepper motor driver board.
...R
Oh!
Well the motor has a small circuit board soldered to the 8 terminals.
Two pairs of those 8 terminals a electrically connected via the circuit board tracks by the looks of it. So your comment about connecting GNDs together etc is already taken care of.
That leaves 4 terminals which are connected to a 4 pin header on the end of the circuit board to which is attacked a plug with 4 coloured wires - orange, white, blue and yellow.
With 7.5 degree (or what ever) steps there must be a fair few individual electromagnets in the motor.
So the 8 terminals must be multiplexed some how to the electromagnets.
I reckon you haven't looked at the Wikipedia article. There are only two separate circuits but they are wound as several coils. There are also several poles on the permanent magnet rotor.
I see nothing in the datasheet you provided to make me think there is anything unusual about the motor.
Measure the resistance at the pairs of terminals. When you pick the right pairs you should see each having the same resistance - say A to B and C to D and no connection between (A or B) and (C or D).
I don't know what you mean by "comment about connecting GNDs together etc is already taken care of".
...R
Robin2:
Measure the resistance at the pairs of terminals. When you pick the right pairs you should see each having the same resistance - say A to B and C to D and no connection between (A or B) and (C or D).
This thread of mine might help.... ymmv, Ts and Cs apply 8)
@JimboZA, that looks very useful.
However I would recommend the OP uses the A4988 driver (or some similar driver specifically for stepper motors) rather than the L293.
...R
Robin2:
However I would recommend the OP uses the A4988 driver (or some similar driver specifically for stepper motors) rather than the L293.
Yep, so would I. I just happened to have that chip around, and thought I'd see how / if it worked. My later post in the thread said a more suitable chip should be used, although I didn't give a part number.
Hi,
I have the same stepping motor , Mitsumi M49SP -2K.
Unfortunately, the chip is broken, just above the 8 contact points.
So, I am left with the 8 soldering points, instead of the usual 4 wires, that you can plug in.
Can anyone tell me how to connect this 8 points to become 4 wires?
Please see the photo below. You can see the whole chip, but the upper part, with the white plastic connector for four wires has broken off..
Thx
It looks to me like the white connector goes to the 4 small solder points beside the number 7
...R