Unipolar Stepper Motor with ULN2804

Hi everyone,

I have problem with Unipolar Stepper Mottor (fl42sth38-0806ma).
I connect with this image.

And this is the code I use

#include <Stepper.h> 

#define STEPS 200 


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

void setup()
{
  stepper.setSpeed(1200);
}

void loop()
{
 
  stepper.step(400);
  delay(500); 


  stepper.step(-400);
  delay(500); 
}

Thanks you !

What is the problem? What does it do when you switch it on?

MorganS:
What is the problem? What does it do when you switch it on?

It doesnt move.

Does it make a noise? That might indicate that half of it is working.

That Fritzing diagram is terrible. I can only assume it's Fritzing because it's so terrible. Can you post it again at a readable resolution? Can you post a hand-drawn version of your actual schematic? Hand drawn crayon on napkin is better than Fritzing.

What is the battery voltage you are using to drive the stepper? (The battery symbol at the bottom.) Is it really a battery or a wall-wart? What is its specifications? What the heck is that thing on the left side that looks like it's powering the Arduino, except it's also connected to the pin that looks like A0?