Buetooth based stepper motor controller by arduino

Buetooth based stepper motor controller by arduino The Stepper motor used here is a rusty old EPOCH (5 wires) stepper motor, which is a unipolar stepper. ' Requiredments : - Bluetooth Module ( for example : HC05 or HC06 ) - Jumper Cables Checkout the video to know how the app control stepper motor Source code for controlling stepper motor from android app: ------------------------------------------------------------------------------------------------------------------------------- #include <AccelStepper.h> AccelStepper stepper(AccelStepper::FULL2WIRE, 8, 9); int spd = 1000; // The current speed in steps/second int sign = 1; // Either 1, 0 or -1 void setup() { Serial.begin(9600); stepper.setMaxSpeed(1000); stepper.setSpeed(1000); } void loop() { char c; if(Serial.available()) { c = Serial.read(); if (c == 'f') { // forward ...