CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Need help selecting PIC with two hardware PWM channels.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
zombiePIC



Joined: 08 Feb 2014
Posts: 23

View user's profile Send private message

Need help selecting PIC with two hardware PWM channels.
PostPosted: Fri Jul 04, 2014 5:06 pm     Reply with quote

Hi Guys,

I am currently using a pic16f87 which has only one PWM, however I need 2 independent PWMs that can be set at different levels to change the brightness of LEDs.

The good thing about the pic16f87 is the use of the internal clock which allowed me to set the correct PWM frequency for LEDs.

Could somebody help me select a PIC with 2 hardware PWM channels suitable for LED dimming

Thanks

PCWH Compiler 5.016
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jul 04, 2014 6:00 pm     Reply with quote

Use this tool to find the PIC that you want:
http://www.microchip.com/maps/microcontroller.aspx

1. Set the Prefix to 16F.
2. Set the Package to 18 pins (both columns).
3. Set the PWM Chan (left column) to 2.

Wait up to 5 seconds every time you set a parameter for it to update.

Anyway, I see only two PICs offered that meet the above requirements.
This assumes you must have an 18 pin DIP package.

Make sure you have a programmer that can do the newer PICs,
such as Pickit 3, ICD3, or CCS equivalent.
zombiePIC



Joined: 08 Feb 2014
Posts: 23

View user's profile Send private message

PostPosted: Sat Jul 05, 2014 10:38 am     Reply with quote

Thank you PCM for the link. I also found two PICs and I will get them in for testing.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group