Differential Drive Programming


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by shaiqbashir View Post
    That was just superb!

    I got it now how to deal with Software PWMs. Thanks a lot all of u!

    Now can anybody tell me that how would i determine that what frequency do i need to supply in order to run my motor correctly. I mean what is the effect of frequency on motor?

    e.g:

    if i apply a pWM of freq 100Hz to a motor

    and then apply a PWM of freq 1000Hz to the same motor.

    What will be the difference between the two?



    900 Hz.....

  2. #2
    Join Date
    Apr 2006
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    haha Skimask!

    that was superb Intelligence.

    WEll! Im asking about the effect actually.

    I want to know what is the effect of frequency over the running of a DC motor.

    Does increase/decrease in frequency affects the Running of the motor?
    LETS MOVE TOWARDS SOMETHING PRACTICAL---

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I'm certainely not a motor expert, but i think some motor may work, somes not... or simply don't like it... or not.

    mmm.... any datasheet or info on your motor?

    Too low... maybe the motor could shake.. to high... maybe you will hear it.

    Who's the motor expert here?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink Hardware defining ...

    Hi, Shahiqbashir

    I realized some years ago such a thing for my large model boats ...

    But I used TWO PWM outputs to get rid of the PWM soft drive ( other more useful stuff to do during this time ) ... so, it was aboard a 16F876.
    With all the "whistles and bells" ... it took 3783 memory words.

    That's to tell you a 16F84 will be really, really small for such a purpose ( PbP programmed overall !!! )

    These days, the 18F1230/1330 offer you such features aboard a 18 pins package. ...

    Worth some reflexion ???

    Alain

    PS: other possible solution : 1 16F84 cares of the input signals ... and drives 2 16F84s which drive the motors ...
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink PWM Freq.

    Hi, Steve

    For such model motors it's commonly admitted ~ 3-4000 Hz for ferrite magnets ( to let them some life ...) , and what you want for rare earth magnets.

    Note at higher frequencies, it will be difficult to drive the Mosfets directly from the PIC, due to their High input capacitance ...TC 442x drivers are then to be used.

    soooo, in all cases, you'll have a sweet music for free...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Data Programming Error at 0000
    By cpatnoi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd May 2009, 03:37
  2. Problems programming
    By Lionheart in forum General
    Replies: 4
    Last Post: - 7th December 2008, 16:51
  3. MPASM Path & File Name Length Limtation
    By Brian J Walsh in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th June 2008, 15:48
  4. Telescope drive motors that don't...
    By Dodgy Geezer in forum General
    Replies: 68
    Last Post: - 12th April 2008, 02:05
  5. Seeking Help With Programming PIC16F688
    By gzayzay in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th March 2006, 03:32

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