Page 1 of 1

MX005 - Controlling Hi Power LEDs

Posted: Mon Sep 28, 2009 3:19 pm
by Benj
Article: http://www.matrixmultimedia.com/article.php?a=52

If you have any questions for the author or comments on the article, please post them below.

Re: Controlling Hi Power LEDs

Posted: Wed Sep 30, 2009 5:03 am
by mfun
Benj,

Were you aware this example will not open in the trial V4 version? (unexpected file format) is the error I get.
Regards,

Mike

Re: Controlling Hi Power LEDs

Posted: Wed Sep 30, 2009 8:15 am
by medelec35
Great tutorial!
My concern would be there is no base current limiting resistor, so it would be like shorting an uc pin o/p with a silicon diode, so o/p will drop from 5V to 0.7 ish Volts. Limited by internal circuitry of uc.
Or are you saying this base limiting resistor can be omitted if pulse width is narrow enough?

Re: Controlling Hi Power LEDs

Posted: Wed Sep 30, 2009 9:00 am
by Benj
Hello Mike

Sorry you need version 4.1 You can download the update from here.
http://www.matrixmultimedia.com/support ... .php?t=563

Hello Medelec

You are quite right the transistors could do with base resistors. I will update the schematic images accordingly. Thanks for the spot.

Re: MX005 - Controlling Hi Power LEDs

Posted: Tue Sep 06, 2011 3:18 pm
by sroy
i want to know, how can i generate 4shifted phase pwm @ 100khz with the controller 33fj16gs502 , please send some application notes or hints for those application.

Re: MX005 - Controlling Hi Power LEDs

Posted: Tue Sep 06, 2011 3:26 pm
by Benj
Hello,

You should be able to do something like this using my Article and software PWM example file as a template. You can import it into Flowcode for dsPICs by using the File -> Import menu.

Using the master interrupt count as a master clock you should then be able to prescribe phase offset and mark/space ratios for each of your PWM channels.

Have a go and see how far you get. If you get stuck then please upload the program you have so far and we may be able to provide extra hints or support on how to accomplish the project.