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 support@ccsinfo.com

what is a freq/duty to pwm a LED?

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







what is a freq/duty to pwm a LED?
PostPosted: Fri Sep 03, 2004 10:04 am     Reply with quote

Just looking for a place to start. I wish I has a scope right now. I have a 1mhz clock.

Nick
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Fri Sep 03, 2004 10:23 am     Reply with quote

Not sure what your question is about. Are you asking how fast you should PWM an LED so that you can control its' brightness without any visible flicker?

If that is what you're asking, then you should pulse it faster than about 100 Hz. Most people can see the flicker up to about 20 Hz, but some people can see fluourescent lights flicker (that's 120 Hz).

Experiment and see for yourself.
Nick
Guest







PostPosted: Fri Sep 03, 2004 10:50 am     Reply with quote

I want save current with the PWM, so I really dont care if it flickers at all. No matter what freq/duty I put it on, I still use .9 ma.

Nick
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Sep 03, 2004 12:40 pm     Reply with quote

The average light produced is proportional to the average current. PWM allows you to vary brightness by adjusting duty cycle, but for a given brightness it does not save any average current. If you use the PWM to drive a buck type switching supply you may save some current at the cost of some components.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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