Does HPWM affect PULSOUT?


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    15

    Default Does HPWM affect PULSOUT?

    Hey there,
    I wonder if the HPWM signal affects somehow the PULSOUT command? I connected a servo and motors to a 16F876. The motors are driven by HPWM, the servo by PULSOUT. Now, if the motors turn faster (longer HPWM pulses), the servo moves a bit more clockwise. If the motors turn slower (shorter HPWM pulses) the servo moves more counterclockwise.

    For everyones fun, here the application: A autonomous vacuum cleaner robot. At the end of the video you can see what I mean.



    It's in a prototype state. Next task will be the vacuum motor, the dust compartment and the brushmotor.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: Does HPWM affect PULSOUT?

    Hi,

    There are no links beetween both ... so, the issue is elsewhere.

    I would, @ first, suspect

    1) your Pic Osc if you use the external RC mode ... ( voltage dependant ! )

    2) your servo response versus supply voltage ...

    3) some glitches here and there ... that disturb 2)

    Alain

    PS: I note the servo is out of its normal rotation range ... sooo, verify linearity/ signal at both travel ends ... as a function of supply voltage.
    Last edited by Acetronics2; - 5th April 2011 at 14:27.
    ************************************************** ***********************
    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 " !!!
    *****************************************

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