Hey everyone, I am new to the electronics world, arduinos, motors, and everything you all know and love! I need to learn many things and have already started reading and learning a lot but it is quite difficult when I literally know nothing!
I have:
Arduino UNO R3
Seeed Studio motor shield V2.2
Small 5V stepper from China
All I am trying to do is simply hook the stepper up and have it turn! I believe I have wired the components together correctly however whenever I upload any sample code (have tried several) the motor just vibrates and the shaft doesnt actually turn at all. I have messed around with the numbers in the code but they only vary the delays and i think speed of these vibrations. Someone told me they had this issue with the same motor and to adjust the timing? Not sure how to do that or what it is. Someone please help me!
BTW I also have an Arduino Micro, adafruit gyro, adafruit 3-axis accelorometer/magnetometer+gyro, a couple bread boards, and everal extra wires.
Hey everyone, I am new to the electronics world, arduinos, motors, and everything you all know and love! I need to learn many things and have already started reading and learning a lot but it is quite difficult when I literally know nothing!
I have:
Arduino UNO R3
Seeed Studio motor shield V2.2
Small 5V stepper from China
All I am trying to do is simply hook the stepper up and have it turn! I believe I have wired the components together correctly however whenever I upload any sample code (have tried several) the motor just vibrates and the shaft doesnt actually turn at all. I have messed around with the numbers in the code but they only vary the delays and i think speed of these vibrations. Someone told me they had this issue with the same motor and to adjust the timing? Not sure how to do that or what it is. Someone please help me!
BTW I also have an Arduino Micro, adafruit gyro, adafruit 3-axis accelorometer/magnetometer+gyro, a couple bread boards, and everal extra wires.
The way to get help here is to make sure you give information about what you've done. In this case that means you need to provide a schematic of your circuit, and the code you're using.
The schematic should be of your actual circuit and the code be your actual code.
Easiest way to do a schematic is just draw it on paper and take a pic with your phone. Below the box where you enter your post, is a link "additional options"- in there you can attach it.
Copy your code into the typing area, and select it. Then hit the code tag icon: it's the one with <> inside a scroll, above the smiley. With code tags, your code will
look
{
  like this
}
.... and is easy for everyone to read.
Details of the mysterious Chinese stepper will help too....
Dear NOOB,
The standard Operating Procedure SOP for the forum is as follows: STEP#
Give a brief explanation of the hardware (already done : CHECK)
Post your code
Post links for all your hardware (vendor website or datasheets.
Identify your power supply voltages (for things like THE STEPPER MOTOR DRIVER)
Post a schematic (attached photo of hand-drawn schematic will suffice) OR if you do NOT know how to
draw a schematic , post a Fritzing in a JPG or some file format OTHER than the FRITZING file extension
because the rest of us who DO know how to draw schematics, usually HATE Fritzings BECAUSE they are
NOT schematics and we still have to translate it to a schematic from the ASSEMBLY/WIRING drawing
that is the Fritzing.
IF the problem appears to be a wiring error, then of course the FRITZING doesn't help much because
it only tells us how you THINK you wired it, NOT how it is in fact wired. In that case we will request a
photo of the circuit taken from directly above such that we can see where the wires go.
FYI,
The symptom you describe is TYPICAL of a stepper running on insufficient voltage or current. Since
you are a NOOB, we can assume that Ohms Law is not a concept you are familiar with and more than
likely you do not know how to measure the motor current and probably haven't read the datasheet
for the motor. There is a special HELL reserved for people who don't read datasheets. It is a place
where nothing works and everything smoke when you turn on the power.
Do you know what the maximum current supplied by the USB is ?
Do you know what the power supply jumper is for on your stepper driver ?
Do you have an external motor power supply ?
Do you know HOW a stepper motor works ?
I upload any sample code (have tried several
Are you sure the "sample code" was for a stepper ?
Do you know what combination of input signals and timing you need to drive a stepper motor ?
Are you by any remote chance trying to PWM the stepper (sorry, have to ask)
Are you by any remote chance trying to run the stepper motor off a 9V smoke alarm battery (sorry,
have to ask)
What is the status of the leds on the driver when you try to run it ? (do they blink ?)
How do you know how to connect the stepper motor windings ? (what did you use as a reference ?
since you said you know nothing, how did you know how to do that ?