Article: https://www.matrixtsl.com/resources/get ... .php?id=52
If you have any questions for the author or comments on the article, please post them below.
MX005 - Controlling Hi Power LEDs
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
MX005 - Controlling Hi Power LEDs
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Controlling Hi Power LEDs
Benj,
Were you aware this example will not open in the trial V4 version? (unexpected file format) is the error I get.
Regards,
Mike
Were you aware this example will not open in the trial V4 version? (unexpected file format) is the error I get.
Regards,
Mike
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Controlling Hi Power LEDs
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?
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?
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Controlling Hi Power LEDs
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: MX005 - Controlling Hi Power LEDs
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.
Last edited by sroy on Tue Sep 06, 2011 4:23 pm, edited 1 time in total.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: MX005 - Controlling Hi Power LEDs
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel