Control a Stepper Motor with Serial over USB

From lechacal
Jump to navigation Jump to search

Required hardware

  • Stepper Control board either for generic or A4988 drivers.
  • FTDI to USB adaptor
  • A computer
  • A Stepper Motor

Required Software

  • A serial port terminal. To name a few: Cutecom Screen Hyperterminal Putty Minicom
  • Arduino IDE (if re-programming needed)

Proposed Sketch

The control board host an ATtiny84 chip. This chip can be programmed with Arduino IDE. The following sketch can be used as a base for controlling the motor. Serial sketch v1.0