Shop OBEX P1 Docs P2 Docs Learn Events
suggestion requested — Parallax Forums

suggestion requested

Bill SCBill SC Posts: 17
edited 2007-03-02 08:53 in BASIC Stamp
Hi, I am thinking of building a miniature stage lighting setup using phototriacs for the drivers. What I am unsure how to go about is how to interface a bs2 in such a way as to get the maximum number of channels and control. I will, of course, be using the stamp to generate pwm, unless there is a better way. Any help would be greatly appreciated.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-28 01:14
    The Stamp is somewhat limited in that it can only execute one statement at a time. If you want multiple channels of PWM control, you will need some sort of external PWM controller. The easiest for this purpose is the PWMPAL which piggybacks under the BS2 and provides 4 independent channels of PWM.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-28 02:18
    Here's a link to another discussion: http://forums.parallax.com/showthread.php?p=633310. At the end of the thread, there's a nice PWM controller using a dual timer IC and a digitally controlled pot to set the PWM width. If you're willing to build the circuits, it could be a nice multi-channel lighting controller. You could use one timer for the clock source for all the lighting channels and only need one timer and one digital pot per channel (plus the common clock timer).
  • Bill SCBill SC Posts: 17
    edited 2007-03-02 08:53
    Thanks, I appreciate the help.
Sign In or Register to comment.