Driving a Stepper Motor with TWR-S08PT60

Document created by David Diaz Marin Employee on Jun 23, 2015Last modified by ebiz_ws_prod on Dec 13, 2017
Version 4Show Document
  • View in full screen mode

A stepper motor is a small brushless synchronous electric motor that can divide a full rotation into a large number of steps. If it is electronically connected to the MCU, the motor's position can be controlled with precision without any feedback mechanism.


The purpose of this example is to demonstrate how to control a Stepper Motor using the TWR-S08PT60 , including modules as TSI.


The touch sensing electrodes control the stepper motor, its direction, step type and stop.





In order to get more information about the Stepper Motor, please refer to the following documentation:

Quick Start for beginners to drive a Stepper Motor


The code was generated and compiled on CodeWarrior for Microcontrollers v10.6 and Processor Expert 10.3 for the Freescale HCS08 series of microcontrollers.


Please be aware that the motor is connected to the microcontroller through a current driver.



Original Attachment has been moved to: StepperMotor_S08PT60.zip