Stepper motor

Discussion in 'The Projects Forum' started by Cristopher Tingcang, Feb 16, 2012.

  1. Cristopher Tingcang

    Thread Starter New Member

    Jul 31, 2011
    18
    0
    Hi!
    I am currently working on my unipolar stepper motor as a project.

    And our professor requires the following:

    PB1 pressed turns on the motor at low speed
    PB2 pressed turns on the motor at mid speed
    PB3 pressed turns on the motor at high speed
    TS1 selects the angle turn (position 1=90, position 2= 180, position 3= 360)
    low speed 60rpm, midspeed 120 rpm, high speed 240 rpm

    I am using PIC16f84A.

    Can anyone suggest the code/syntax for the said problem!
    Thank you!
     
  2. John P

    AAC Fanatic!

    Oct 14, 2008
    1,632
    224
    I really don't think the point of the assignment was to figure out the best place for asking someone else to do the work for you.
     
    shortbus likes this.
  3. Cristopher Tingcang

    Thread Starter New Member

    Jul 31, 2011
    18
    0
    Sorry for that post. Actually, I have tried in simulation using ISIS but I cannot find the right delay for the timing of the RPM. And I can't make the right code for the 90, 180 and 360 degrees step angle.
     
Loading...