Possible? to use 'SOUND' to drive a Stepper Motor Driver Board


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Location
    DFW area of Texas
    Posts
    24

    Lightbulb Possible? to use 'SOUND' to drive a Stepper Motor Driver Board

    Typical stepper motor driver boards at robotic sales shops have command inputs of 'dir' and 'step' ; where 'step' needs to be ~10Hz upto ~10khz.

    Is it possible to use 'SOUND' for the step command to the driver?
    How taxing is 'SOUND' on the PIC? (I'm using PIC161826 @32Mhz intosc), I would like to have two channels of stepper motor control.

    Has anyone already done this?
    (BTW, don't tell me I'm stupid, I already know that)
    -ray
    "Imagination is more important than knowledge", Albert.E.

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Possible? to use 'SOUND' to drive a Stepper Motor Driver Board

    You're not stupid, but sound is so taxing your pic can't do anything else while it is SOUNDing.
    You might be wanting to look at a hardware PWM if you want PWM running full time.
    SOUND only does 0 - 0xFF steps (I think).

    "Has anyone already done this"
    I suspect single bit PWM audio is used to do the floppy drive music videos on YouTube.
    Last edited by Art; - 30th October 2013 at 15:34.

Similar Threads

  1. Motor Stepper Example
    By Melanie in forum Code Examples
    Replies: 134
    Last Post: - 3rd January 2015, 17:58
  2. Another Stepper motor controller
    By aratti in forum Code Examples
    Replies: 3
    Last Post: - 19th December 2009, 09:52
  3. Learning Stepper motor
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th April 2009, 06:23
  4. Stepper Motor Program
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 27th November 2007, 02:56
  5. Angular value of a stepper motor
    By debutpic in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 31st July 2007, 17:05

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