|
The PWM (so called) of the Basic Stamp is a series of random-width pulses with an average voltage set by the parameters in the call. The PWM output from the Robot Controller is a single, variable width pulse, followed by quiet, repeated often enough to keep the Victor from declaring signal loss. The signals would appear incompatible.
Perhaps you are looking for a 555 circuit, wherein the pot controlling the length of the "post" varies the width of the output pulse from 0.5 ms to 1.5 ms (or up to 2 for some spare room). The pot is connected from pin 7 to pins 6 and 2. The resistor from +5 to pin 7 should give an output pulse every 10 to 15 ms. I think that the polarity of the short part of the output pulse (on pin 3) is not a positive going pulse, but by using appropriate connections (or a single transistor -resistor inverter). You are aiming to drive a signal of around 15 mA through the Victor.
There are lots of websites with formulae for using 555's as free running "multivibrators", as they are called.
The waveform of the output you want is like this:
_______|"|_______________|"|_________
The timing I mentioned above applies.
Last edited by Lloyd Burns : 29-09-2002 at 19:10.
|