Go to Post I didn't feel like reading this whole thread, which, as I understand, is talking about people not wanting to read long threads. - Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 29-09-2002, 18:58
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
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.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pwm 13-15 wayne 05 Programming 2 04-10-2003 12:08
PWM and burning out motors patrickrd Technical Discussion 7 19-06-2003 15:30
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38
Loss of signal in PWM cables. archiver 2001 6 23-06-2002 23:29
PWM Wires... Anton Abaya Technical Discussion 3 04-02-2002 05:07


All times are GMT -5. The time now is 01:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi