PWM generation with 89c2051

Hello, I am using 89c2051 ic for RGB dimming light .
As there is no PWM pin on IC I wnat to know how can I genrate my PWM for dimming effect of LEDs.how canI use two times for generation of three pulses. I will be higly obliged for any suggestion

Parents
  • Perhaps you should ask yourself a few questions?

    What do I need to do?
    How do I get there?

    The first is the most important. Define your problem. A properly defined problem will answer the second question or lead you to answering the second question.

    So... how fast do you need to PWM them? (rate)
    What are your minimum and maximum allowable pulse durations?

    After you answer what PWM scheme you need for your application you should THEN begin to define ... what processor to use and how to use it.

    On rate consider FLICKER (IE do you wish to see any visible flicker). How many PWM steps is enough? These are questions you should know the answer too before you start even deciding what processor to use.

    So .. define your problem.

    Stephen

Reply
  • Perhaps you should ask yourself a few questions?

    What do I need to do?
    How do I get there?

    The first is the most important. Define your problem. A properly defined problem will answer the second question or lead you to answering the second question.

    So... how fast do you need to PWM them? (rate)
    What are your minimum and maximum allowable pulse durations?

    After you answer what PWM scheme you need for your application you should THEN begin to define ... what processor to use and how to use it.

    On rate consider FLICKER (IE do you wish to see any visible flicker). How many PWM steps is enough? These are questions you should know the answer too before you start even deciding what processor to use.

    So .. define your problem.

    Stephen

Children
More questions in this forum