Let's Make Robots!

smallstepper motor

28BYJ-48 stepper motor

hello, I'm working on a new project and I'm using this small stepper motor from yourduino.com. I'm controlling the position of the stepper motor using a 10K potentiometer and it does rotates according to the pot, but it jitters at any position. What could be cousing this jittering?. I tried the knob code from arduino.cc and still jitters. I replaced the pot with a 1.2 kohms fix resistor and it does not jitters when stoped. Is the code missing something? HELP, no really HELP.

#include STEPS 100

Stepper stepper(STEPS,8,10,9,11);

int previous = 0;

void stup ()