This may be out there but my search kung-fu is failing me. I am looking for some basic simple code to "getting started" with a NetDuino and 28BYJ-48 stepper motor with a ULN 2003 board.
There is all kinds of examples out there for a Arduino Uno but not the Netduino.
I have written some simple code that I thought should work from my understanding of the unit, the board lights up and sequences through the coil (at least the leds are lighting up in sequence) but the motor just barely vibrates as each sequence fires and not rotating at all.
I am using an external 5v power supply, I tested with a 9v power supply as well thinking it was a power issue but that did not solve the issue. I have several of these boards and motors and I tested a couple of them as well with the same result.
I am wired using D0-D3 and in code I just new up a port and write to it using .Write() like so:
OutputPort _p0 = new OutputPort(Cpu.Pin.GPIO_Pin0, false);
// repeated for the other 3 ports
//in a while loop I simply
_p0.Write(true);
_p0.write(false);
Thread.Sleep(100);
_p1.Write(true);
_p1.Write(false);
//and continue through the other 2 ports.
Any pointer as to what simpleton issue I am hitting here will be greatly appreciated.
Thanks!