First of all thanks for the useful things in this thread.The arduino is really new for me, so sorry about my noob questions.I'd like to create a motorized camera slider, first only with one 28BYJ-48.I found Sbright33's great library(https://gist.github.com/sbright33/4178431).But I'm so confused about the wiring. Do I simply connect the 28BYJ-48 motor to the arduino board. In this case how can I get 12V? Eg from the arduino board's Vin pin?Or do I need to use the ULN2003 board (Connect the 28BYJ-48 motor to the ULN2003 and the ULN2003 to the arduino board)?

Here's a good picture for you:http://www.geeetech.com/wiki/index.php/Stepper_Motor_5V_4-Phase_5-Wire_%26_ULN2003_Driver_Board_for_Arduinoorhttps://www.google.com/search?q=uln2003+wiring&tbm=ischorhttps://www.google.com/search?q=uln2003+wiring

I am trying to use the original code on the first page of this post. I have this same stepper, and I only need to rotate it once, 360 degrees. Nothing continuous, and not very often. When I use the CustomStepper library, it works very well. But when I try to use the code from the original post here, the motor is very slow, and that is when I have the speed dialed all the way up to "5". Plus if I feel the motor, it feels very stuttery, not smooth at all like when I use the CustomStepper library. I looked at that library, and it seems to do the same thing (uses digitalWrites to the pins, and in the same sequence). So what is the difference? What am I missing? And how can I optimize the original code to make it work the same way? I want to take that code, and then use shift registers to send the various HIGH/LOW commands to several stepper motors at once. Thanks!

Update. I just tried using a delay of "1", and that works very smoothly. Is there a way to use anything lower? Say "0.5"?

I'm also new to this and just started to explore the different Demos. With the sketch from posting #1 it wont be possible to go faster than delay(1). But if you like, you can rewrite the sketch and use delayMicrosecond and recalculate the whole potmeter-reading.

BTW: I have a newer Version of the ULN2003 board. It is made in SMD fashion and features pins in1-7 and A-F.This pcb must be powered in a different way, where GND and VCC are placed on a separate Header instead of using In5 for VCC.

It's not my fault when my Posts are full of Errors. This stupid autocorrection from my browser is set up for german grammar.

...Can anyone think of any improvements to my code? It's been awhile since I asked or made any changes.

I tried to understand what your code is doing. It seems, there are different voids to do the same Thing. " st07" is doing the 8-step thingy in an improved way, but there are also two others. Why?

There is a void "move" , which seems to be the simplest way to move the stepper.It would help me a lot, if you could write a simple example program to demonstrate how to do microstepping or fast running.Would you consider to split the sketch in a standard-(5v) and overclocked (12V)Version?

THX alotOlaf

It's not my fault when my Posts are full of Errors. This stupid autocorrection from my browser is set up for german grammar.

Yes there are a few ways to step with st07. Full steps and half steps. 4 or 8 of them. Look for differences in the code. You should not call these directly, as they are used by my functions.

move() is the easiest way to move one step. The other functions use degrees and RPM as parameters. Maybe you could help me by writing some demo code. Just try one function call at a time in loop() or setup(). My Demo is only one short line of code. They are commented out. When you execute it you will see what it does. Let me know if you have any questions about any of the function parameters. I have written them up somewhere on github. I can also translate what the function name means if you'd like. The easiest way to learn is to try!

Generally the "Cool" functions are designed for 12v. There is no need to cool with 5v, as it will not be excessively hot to begin with.

Hey all, I just fell off the turnip truck and i just got one of these motors with the driver board.don't have a clue how to wire it to my arduino. :~Could one of you point me in the right direction while everyone else laughs and snickers? thanks,Tone

Never mind i found ithttp://www.4tronix.co.uk/arduino/Stepper-Motors.php