I'd suggest using a single, fast timer interrupt to do the PWM, and use a PIC with a hardware uart in polled mode for comms.=20 On Sat, 16 Nov 2002 10:34:18 -0600, you wrote: >Have a look at http://www.al-williams.com/pak5.htm -- a lot of these are >used in commercial lighting displays. > >Other than that, you might consider writing your own PWM in an interrupt >timer routine. However, 30 might be a bit much depending on the >frequency you want. > >Regards, > >Al Williams >AWC >* Easy RS-232 Prototyping >http://www.al-williams.com/awce/rs1.htm > >> -----Original Message----- >> From: pic microcontroller discussion list >> [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Josh Koffman >> Sent: Thursday, November 14, 2002 4:47 PM >> To: PICLIST@MITVMA.MIT.EDU >> Subject: [PIC]: Many channels of PWM >> >> >> Hi all. I seem to be in a creative mood lately. I came up >> with an odd idea for a festive holiday light type item. >> Problem is I want 15-30 channels of PWM. I really like the >> PIC's PWM module for its simplicity. However, 15 16f628s or 8 >> 16f870s seems a bit much. I have seen Scott Dattalo's code >> for 8 concurrent streams. However it's all software, and I'm >> worried that running a routine for dealing with serial comms >> will throw off the timing. Is there a commercially available >> chip that does multiple PWMs in one package? Or, has anyone >> else dealt with this? >> >> Thanks, >> Josh >> >> -- >> A common mistake that people make when trying to design >> something completely foolproof is to underestimate the >> ingenuity of complete fools. >> -Douglas Adams >> >> -- >> http://www.piclist.com hint: The list server can filter out >> subtopics (like ads or off topics) for you. See >http://www.piclist.com/#topics -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body