--- In 6..., "yawjiun_84" wrote:
>
> Hi,
>
> How to use this development board in order to develop the stepper
> motor control system? What are the module/block I should use in this
> system?
>
> Basically, my system is like this:
> 1. Firstly, there will be a Graphical User Interface (GUI) for the
> user to input their desired position, speed and direction. This GUI
> will communicate with MC9S12DP256B through RS232. Any reference for
> this part?
>
> 2. MCU will drive the stepper motor according to the GUI input via
> a motor driver board (3540M from Applied Motion Products). The driver
> needs three input namely STEP, DIRECTION and ENABLE. Motor will step
> on rising edge of STEP input.
>
> 3. Next, incremental encoder will feedback its position to MCU.
> There will be also a home sensor for homing routine once power is on.
>
> 4. When the motor is in desired position, user will purposely turn
> the motor to cause position error. Then user will press a 'correct
> button' in GUI to drive the motor back to its actual position. There
> will be a button to enable and disable the driver board on the GUI.
>
> Any help is highly appreciated.
I suggest you do a subject search at http://tech.groups.yahoo.com/group/68HC12/
as well as looking through the files are.
Every student before you asked just about the same question at yearly
intervals.
Happy engineering.
Cheers,
Theo