This was my second Arduino project in 2008. And my first project with a stepper motor. I remember spending a frustrating evening debugging some very weird erratic behaviour on this project, before I learnt that motor projects shouldn’t be powered with AA batteries. And then I bought myself a good power supply. (with thanks to Aran who helped with this one).