I haven't found any examples online on how to do this explicitly (using the L298N controller module), so I've resorted to trying to design the circuit myself. This is, literally, my very first attempt at designing a circuit myself. I have no background in electronics or electrical engineering. I've gathered as much info as I can from the arduino website and the manufacturers of the motor itself. This much I'm certain of:
The motor should be powered independently from the arduino, using 2.55 volts and 1.7 amps.
The motor and its power source must be connected to an H-bridge before connecting to the arduino inputs.
Pairs of wires on the stepper motor are connected and can be determined easily by hooking an LED light to a pair of wires and rotating the motor manually. Connected wires will cause the LED to light up.
All grounds should be connected together.
In addition to this, I'm also making a few (hopefully true) assumptions:
The L298N Controller module should provide the necessary H-bridge.
The H-bridge inputs should be connected to a contiguously indexed array of digital pins on the arduino.
Despite the specs indicated the need for 2.55 volts, a 2.5 volt source should be sufficient for this motor.
Since a 2.5 volt source is not readily available, I can create one with a voltage divider.
Reversing the polarity of the stepper wires to the Controller Module (h-bridge) does not matter. That is, if a pair of connected stepper motor wires Wire1 and Wire2 are wired to Out1 and Out2 on the L298N Controller Module (respectively), then hooking up Wire1 to Out2 and Wire2 to Out1 would produce the same effect as the original wiring.
Based upon the above facts/assumptions, I created a schematic of how I think everything should be hooked up:
Note that the two instances labeled 2.5V are connected to each other. Additionally, all grounds are also connected together.
I would like some feedback from the community on my proposed stepper motor design. In particular, I would like to know if my assumptions above are correct and whether I can obtain the necessary current for my stepper motor using my voltage divider as displayed in the picture above. Any suggestions to improve / ensure functionality would be greatly appreciated!
If anything is unclear about my schematic or assumptions, please let me know and I will clarify as best I can.