Shop OBEX P1 Docs P2 Docs Learn Events
PWM or Pulse out — Parallax Forums

PWM or Pulse out

tigershark35tigershark35 Posts: 60
edited 2008-09-22 03:04 in BASIC Stamp
I have successfully done some programs with Pulsout with servos. Now I want to run a Wirz electronics dual motor controller.· It has 4 inputs, direction of each motor and PWM for each motor.· I have read the manual on PWM command (BS2) and am not sure if this command will do what the motor controller will use.· Anyone have exprience with this controllor or can answer my question on how to use this.·

Thanks in advance.
JG

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-09-22 03:04
    The BASIC Stamp's PWM output isn't really pulse-width modulation in the traditional sense, but more of a duty-cycle dithering scheme. As such, it does not have a fixed frequency and may contain very short transient pulses, rendering it unsuitable for driving inductive loads through a MOSFET switch, say. Nonetheless, when filtered, it does provide a reliable voltage level that can be used to control voltage-driven PWM circuits. If you're going to drive your motor controller from the Stamp, such an external circuit is what I would recommend.

    -Phil

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Still some PropSTICK Kit bare PCBs left!
Sign In or Register to comment.