View Full Version : PWM or Pulse out

09-22-2008, 09:40 AM
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.

Phil Pilgrim (PhiPi)
09-22-2008, 10:04 AM
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.


'Still some PropSTICK Kit bare PCBs (http://forums.parallax.com/showthread.php?p=729096) left!