Output settings for 16F88


Results 1 to 14 of 14

Threaded View

  1. #10
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PICante View Post
    This runs the motor slightly faster, however if b < than 59 the motor loses all torque and just hums. At about b = 65 or higher the torque is acceptable and I really do not understand why it can't run faster.
    Because that's the nature of stepper motors.
    Low speed / High torque
    High speed / lower torque

    And you still missed my point about the code above...
    You've got a pause on one end of the step, but not the other end. The motor/electronics probably have to catch up with each other.
    Code:
    for a = 0 to 2000 ‘ ten turns
    ST = 1 ‘ start pulse
    for b=0 to 59:next b <-pause here ok
    ST = 0 ‘ end pulse
    might want a pause here, probably not the same length as above, but a pause nonetheless
    next a ‘ loop
    At 8Mhz, ST is low for maybe 4us, give or take.
    And if you look at the datasheet, there's a turn-on and turn-off delay of 10us.
    Last edited by skimask; - 22nd June 2008 at 11:32.

Similar Threads

  1. Bit Banging input to output on PIC16F876A
    By Bronurstomp in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th June 2008, 19:50
  2. PIC 16F684 Configuration Settings
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th April 2007, 15:18
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. HSEROUT Newbie question/problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th July 2006, 14:44

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts