I created this unipolar stepper motor control circuit for a project in one of my classes. I was required to use logic gates and J-K flip flops.
The video:
Stepping sequence (half stepping):
Step # Q1 Q2 Q3 Q4
1 1 0 0 0
2 1 0 0 1
3 0 0 0 1
4 0 1 0 1
5 0 1 0 0
6 0 1 1 0
7 0 0 1 0
8 1 0 1 0
The circuit: