Shop OBEX P1 Docs P2 Docs Learn Events
How many PWMs can I generate at the same time with the Basic Stamp 2 ( BS2-IC) — Parallax Forums

How many PWMs can I generate at the same time with the Basic Stamp 2 ( BS2-IC)

markustermarkuster Posts: 184
edited 2008-12-31 19:35 in BASIC Stamp
Hi,


How many PWMs can I generate at the same
time with the Basic Stamp 2 ( BS2-IC) ?



Thanks, Mark
PS: Do you have more information about Propeller and the other
Stamps models?

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-12-30 21:57
    One. The BASIC Stamps are single-task processors. If you need more than one, the MoBoStamp-pe (currently on backorder) can generate up to four PWMs simultaneously, using its two AVR coprocessors, while the Stamp is busy with other chores. The Propeller can handle even more simultaneous PWMs.

    -Phil
  • markustermarkuster Posts: 184
    edited 2008-12-31 13:46
    Hi,

    And what about the SX microcontrollers from Parallax
    like SX28AC ?

    Is that possible more than one PWM ?

    Thanks again.
  • Ben KirkpatrickBen Kirkpatrick Posts: 7
    edited 2008-12-31 19:35
    ·· I think this depends on the PWM.· Do you mean a lot of pins doing different duty-cycles with the same freq?
    Bean and others have posted great code for doing 16+ pins of pwm on SX28, but the key was that the needed to be the same frequency.· Each pin could be assigned a different amount of on-time/off-time within that.
Sign In or Register to comment.