I have unipolar stepper motor with 5 wires (1.8 Step/12V)
I need to make a circuit with PIC16F84A, ULN2003 and 2 pushbottons (SW1 & SW2) to control it as the following
1- When I Press SW1 the motor rotates forward by 7.2 Degree (4 steps).
2- When I Press SW2 the motor rotates backward by 7.2 Degree (4 steps).
Could anyone help me with the circuit diagram and mikroc code
Thank you