Back in 2012 (wow, it's been almost 10 years already) I posted quickly some info about the 24BYJ01 stepper motor, mostly because this was not really the most common one in the internet and I thought it might be of some help to somebody.
In this time I did some projects at home with this motors and arduino, but I never added extra info about them, and I think (again) that some info here might be of some help.
Now I bring you here some working code for arduino, right after the jump.