Shop OBEX P1 Docs P2 Docs Learn Events
Continuous PWM — Parallax Forums

Continuous PWM

ArchiverArchiver Posts: 46,084
edited 2002-09-16 15:30 in General Discussion
It appears that with PBASIC I cannot simply set my PWM and have it run
continuously (free running), till I change it later.

Is there some way to do this?

--
*** ProbeStar Technical Systems, LLC. ***
Design & Development of Embedded Systems or Instrumentation
for Engineering and Scientific Applications

==// Neal W. Probert (President) / Email: neal@p... //
=// Web: www.probestar.com / Phone: 734-761-5019 //=
// Fax: / Cell: //==
9:00am up 12 days, 20:52, 15 users, load average: 1.00, 1.09, 1.09

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-09-04 19:53
    Pak V PWM Co-Proccessors by Al Williams are very easy to use. They offer 8
    channels of concurrent PWM via simple serial commands. I just bought a pair
    and now I wonder how I got along without them.

    JM

    Original Message
    From: Neal Probert [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=dn6aLI4dOIsxFZl5hLbZBmSdkkdfA2xgWQ8MPPGd1ZWZiW8cKNsMeoz4N8TPfhmA78Fpjl_CE1rT]neal@p...[/url
    Sent: Wednesday, September 04, 2002 2:50 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Continuous PWM


    It appears that with PBASIC I cannot simply set my PWM and have it run
    continuously (free running), till I change it later.

    Is there some way to do this?

    --
    *** ProbeStar Technical Systems, LLC. ***
    Design & Development of Embedded Systems or Instrumentation
    for Engineering and Scientific Applications

    ==// Neal W. Probert (President) / Email: neal@p... //
    =// Web: www.probestar.com / Phone: 734-761-5019 //=
    // Fax: / Cell: //==
    9:00am up 12 days, 20:52, 15 users, load average: 1.00, 1.09, 1.09


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-05 19:16
    If you are referring to PWM as it relates to driving a servo, please
    read on... You need to use a coprocessor to "offload" the activity of
    producing the pulses. There are several servo controllers out on the
    market. Scott Edwards (www.seetron.com) makes one called the SSC
    that is probably the most popular and easiest to use. Polulu
    (www.pololu.com) makes a very good one that has all the functions of
    the SSC plus more. There are also several companies that make a chip
    that can produce PWM's... Al Williams (www.al-williams.com) has the
    PAK-V and the PAK-VIII. I personally had a hard time understanding
    the difference between the two and the format that they use, but Al
    does provide good support to make up for the confusing
    documentation. Finally, there is FerretTronics
    (www.ferrettronic.com) FT639. It uses a simple command structure and
    is the least costly of the bunch. If you are just trying to drive
    two modified servos, like the BOEBot, and are looking to off load the
    Stamp, consider the FT639 (fairly easy to use, and qite inexpensive!)

    Hope this helps,

    Steve


    --- In basicstamps@y..., Neal Probert <neal@p...> wrote:
    > It appears that with PBASIC I cannot simply set my PWM and have it
    run
    > continuously (free running), till I change it later.
    >
    > Is there some way to do this?
    >
    > --
    > *** ProbeStar Technical Systems, LLC. ***
    > Design & Development of Embedded Systems or Instrumentation
    > for Engineering and Scientific Applications
    >
    > ==// Neal W. Probert (President) / Email: neal@p... //
    > =// Web: www.probestar.com / Phone: 734-761-
    5019 //=
    > // Fax: /
    Cell: //==
    > 9:00am up 12 days, 20:52, 15 users, load average: 1.00, 1.09,
    1.09
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-05 19:22
    The difference is that the PAK-V generates PWM more or less like the
    Stamp does. You provide a duty cycle and it selects a frequency. It also
    has another mode where the frequency is fixed, unlike the Stamp.

    The PAK-VIII on the other hand is a pulse generator. Many people use it
    to drive RC servos, but that's not all it does. It essentially generates
    pulses that are on for a selectable duration and off for a selectable
    duration. You have the option to count off a certain number of pulses
    and stop.

    The PAK-V is best for controlling lights and motors (in fact, the PAK-V
    will be used in a big Christmas movie...). The PAK-VIII can do the same
    things, but it is best when you want to control pulse durations, such as
    in RC servo control.

    Hope that helps to clear up any confusion.

    Al Williams
    AWC
    * NEW: PAK-VIa - Read PS/2 keyboards or mice -- double the buffer, lower
    current consumption.
    http://www.al-williams.com/awce/pak6.htm


    > the SSC plus more. There are also several companies that make a chip
    > that can produce PWM's... Al Williams (www.al-williams.com) has the
    > PAK-V and the PAK-VIII. I personally had a hard time understanding
    > the difference between the two and the format that they use, but Al
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-09 14:55
    Al Williams wrote:

    The PAK-V is best for controlling lights and motors (in fact, the PAK-V
    will be used in a big Christmas movie...).


    Hello Al,

    Are you at liberty to tell us which Christmas movie?

    Tim



    Timothy Medema
    CrystaLite, Incorporated
    3307 Cedar St. (425) 745-6000 800-666-6065
    Everett, WA 98201 Fax: (425) 257-0232

    www.crystaliteinc.com
    <mailto:timm@c...>timm@c...


    The information transmitted is intended only for the person or entity to
    whom it is addressed and may contain confidential and/or privileged
    material. Any review, retransmission, dissemination or other use of, or
    taking of any action in reliance upon, this information by persons or
    entities other than the intended recipient is prohibited. If you received
    this in error, please contact the sender and delete the material from any
    computer.
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-10 14:06
    I'm trying to check and see... I know the parent company of one of the
    studios has a big warning on all their paper work that you are not to
    mention that they buy from you in promotional material, etc. (not just
    us, it is preprinted on their forms). I'm trying to make sure I don't
    step on any toes.

    Something science fiction, though.... I'll report back if I can get Gary
    to confirm its OK.

    Al Williams
    AWC
    * Easy RS-232 Prototyping
    http://www.al-williams.com/awce/rs1.htm



    >
    Original Message
    > From: Timothy Medema [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WKwE28c8zThsxeIk2wpKbNyZrxS5EsnbE8EBJE4vI9Ic8RYeOkzvRIKnFdtp4vVryVAw4woCiRjtlcd6tlcBKg]timm@c...[/url
    > Sent: Monday, September 09, 2002 8:56 AM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: Continuous PWM
    >
    >
    >
    > Al Williams wrote:
    >
    > The PAK-V is best for controlling lights and motors (in fact,
    > the PAK-V will be used in a big Christmas movie...).
    >
    >
    > Hello Al,
    >
    > Are you at liberty to tell us which Christmas movie?
    >
    > Tim
    >
    >
    >
    > Timothy Medema
    > CrystaLite, Incorporated
    > 3307 Cedar St. (425) 745-6000 800-666-6065
    > Everett, WA 98201 Fax: (425) 257-0232
    >
    > www.crystaliteinc.com
    > <mailto:timm@c...>timm@c...
    >
    >
    > The information transmitted is intended only for the person
    > or entity to
    > whom it is addressed and may contain confidential and/or privileged
    > material. Any review, retransmission, dissemination or other
    > use of, or
    > taking of any action in reliance upon, this information by persons or
    > entities other than the intended recipient is prohibited. If
    > you received
    > this in error, please contact the sender and delete the
    > material from any
    > computer.
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-16 15:30
    Thanks Al,

    I hope you're able to let us know what movie and in which
    applications the PAK-V is used.

    Tim

    At 08:06 AM 9/10/2002 -0500, you wrote:
    >I'm trying to check and see... I know the parent company of one of the
    >studios has a big warning on all their paper work that you are not to
    >mention that they buy from you in promotional material, etc. (not just
    >us, it is preprinted on their forms). I'm trying to make sure I don't
    >step on any toes.
    >
    >Something science fiction, though.... I'll report back if I can get Gary
    >to confirm its OK.
    >
    >Al Williams
    >AWC
    >* Easy RS-232 Prototyping
    >http://www.al-williams.com/awce/rs1.htm
    >
    >
    >
    > >
    Original Message
    > > From: Timothy Medema [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=f8rMyS90XU2cmdmjc98ZQ6SUADfuaOvCSu7qxGsmYjZzm5-HOpSAUju08BOw-X_oKJT12SxJJq-mwuzh2d0j]timm@c...[/url
    > > Sent: Monday, September 09, 2002 8:56 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: RE: [noparse][[/noparse]basicstamps] Re: Continuous PWM
    > >
    > >
    > >
    > > Al Williams wrote:
    > >
    > > The PAK-V is best for controlling lights and motors (in fact,
    > > the PAK-V will be used in a big Christmas movie...).
    > >
    > >
    > > Hello Al,
    > >
    > > Are you at liberty to tell us which Christmas movie?
    > >
    > > Tim
    > >
    > >
    > >
    > > Timothy Medema
    > > CrystaLite, Incorporated
    > > 3307 Cedar St. (425) 745-6000 800-666-6065
    > > Everett, WA 98201 Fax: (425) 257-0232
    > >
    > > www.crystaliteinc.com
    > > <mailto:timm@c...>timm@c...
    > >
    > >
    > > The information transmitted is intended only for the person
    > > or entity to
    > > whom it is addressed and may contain confidential and/or privileged
    > > material. Any review, retransmission, dissemination or other
    > > use of, or
    > > taking of any action in reliance upon, this information by persons or
    > > entities other than the intended recipient is prohibited. If
    > > you received
    > > this in error, please contact the sender and delete the
    > > material from any
    > > computer.
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > > from the same email address that you subscribed. Text in the
    > > Subject and Body of the message will be ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign In or Register to comment.