EmbeddedRelated.com
Forums

pwm on pic microcontroller

Started by iceman November 6, 2004
anyone has an idea on what microntroller i can use for pwm... i have 3
choices the pic16f84/a , pic16f627/628 and the pic16f877.

anyone have a code for this?
"iceman" <static123ph@yahoo.com> wrote in message 
news:62011d8f.0411060443.26551034@posting.google.com...
> anyone has an idea on what microntroller i can use for pwm... i have 3 > choices the pic16f84/a , pic16f627/628 and the pic16f877. > > anyone have a code for this?
You can do PWM in software, but it's much easier if you choose an MCU with PWM hardware. Leon
iceman wrote:

> anyone has an idea on what microntroller i can use for pwm... i have 3 > choices the pic16f84/a , pic16f627/628 and the pic16f877. >
Use the MSP430F149. Paul Burke
On 6 Nov 2004 04:43:53 -0800, the renowned static123ph@yahoo.com
(iceman) wrote:

>anyone has an idea on what microntroller i can use for pwm... i have 3 >choices the pic16f84/a , pic16f627/628 and the pic16f877. > >anyone have a code for this?
Look at the CCP modules - one in the F628 and two in the 877, IIRC. If you need more than two channels, then pick another micro or another family.
"iceman" <static123ph@yahoo.com> wrote in message 
news:62011d8f.0411060443.26551034@posting.google.com...
> anyone has an idea on what microntroller i can use for pwm... i have 3 > choices the pic16f84/a , pic16f627/628 and the pic16f877. > > anyone have a code for this?
Google is your friend! http://www.pages.drexel.edu/~kws23/PWM.html
In article <2v41q6F2gfaq1U2@uni-berlin.de>,
Paul Burke  <paul@scazon.com> wrote:
-iceman wrote:
-
-> anyone has an idea on what microntroller i can use for pwm... i have 3
-> choices the pic16f84/a , pic16f627/628 and the pic16f877.
-> 
-
-Use the MSP430F149.

Why?

BAJ
In article <62011d8f.0411060443.26551034@posting.google.com>,
iceman <static123ph@yahoo.com> wrote:
>anyone has an idea on what microntroller i can use for pwm... i have 3 >choices the pic16f84/a , pic16f627/628 and the pic16f877. > >anyone have a code for this?
Technically you don't have enough information? What's the application? Voltage range? frequency of the PWM signal? Of the ones given the 877 is probably your best bet. BAJ
In article <cmjj18$44s$1$8300dec7@news.demon.co.uk>,
Peter <moocowmoo@newprovidence.demon.co.uk> wrote:
> >"iceman" <static123ph@yahoo.com> wrote in message >news:62011d8f.0411060443.26551034@posting.google.com... >> anyone has an idea on what microntroller i can use for pwm... i have 3 >> choices the pic16f84/a , pic16f627/628 and the pic16f877. >> >> anyone have a code for this? > >Google is your friend! >http://www.pages.drexel.edu/~kws23/PWM.html
Ouch! Google isn't your friend in this case. Virtually every modern PIC has set and forget PWM hardware. No need to do it by hand anymore. Check out my 16F84 is really obsolete page: http://www.finitesite.com/d3jsys/16F88 Pages like these are the reason that new folks keep trying to use the 16F84 when Microchip and others have so many better offerings. BAJ