This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need help for project RGB led controller.

Dear all,
I want to start project with rgb led, what MCU i can use, ARM, AVR or PIC ?
I have need 3 PWM Hardware not less than 10 Bit resolution, and eeprom memory inside mcu.

I must do 100% work myself.

Thank you for any comment or example similar project.

xgnetto

  • "I must do 100% work myself."

    Surely, that includes the selection of the processor, doesn't it?!

    If you don't want to disqualify yourself, don't read on...

    Keil don't make tools for PIC or AVR - so there's no point asking about them here.
    But Keil do provide a parametric search of the devices that they do support - so you could start here: http://www.keil.com/dd/search_parm.asp

    Sorry, that only leaves you 98.7% of the work to do yourself...

  • Is it a school requirement that you must modulate a RGB led using three PWM channels, or are the PWM channels expected to be used for something else.

    If the RGB LED is just expected to be viewed, the required modulation frequency is so low that there is no need for hardware PWM.

  • I want to start project with rgb led, what MCU i can use, ARM, AVR or PIC ?

    If you want to use Keil tools, the last two families are out of the picture. But maybe you can use a '51 derivate ?

    And what project is this supposed to be ? What's the "rgb led" supposed to do ?

  • <italic>Is it a school requirement that you must modulate a RGB led using three PWM channels, or are the PWM channels expected to be used for something else.</italij>

    Yes. But remember I have need 3 PWM Hardware not less than 10 Bit resolution.

    what info you want to help me more?

    xgnetto

  • I want to start project with rgb led, what MCU i can use, ARM, AVR or PIC ?
    if it is one LED - any of them.
    if it is a lot of LEDs - any that is fast enough.

    "project with rgb led" - wery descriptive i see all the datails clearly.

    also, as you have listed MCU as ARM, it seems you have already mad the choice.

    Erik

  • Please read the instructions on how to use formatting tags!

    Q: "Is it a school requirement that you must modulate a RGB led using three PWM channels, or are the PWM channels expected to be used for something else"

    A: "Yes"

    'Yes' is not a meaningful answer to that question, is it?

    It was not a Yes/No question - it was an either/or question, wasn't it?

    "But remember I have need 3 PWM Hardware"

    Do you?
    Why?

    Read the question again, and answer it!

  • <bold>it seems you have already mad the choice.</bold>

    yes; i think you are right. Does The arm Have 3 PWM Hardware With Not Less Than 10 Bit Resolustion?

    i Do search for rgb leb but I cannot find it.where can i Get one ?

  • Q: "Is it a school requirement that you must modulate a RGB led using three PWM channels, or are the PWM channels expected to be used for something else"

    i say YES it is a school requirement and YES i Need THREE PCM channels

    i need and RGB led for output

    xgnetto

  • <ITALIC>What's the "rgb led" supposed to do ?<END>

    the rgb led is for trafic lights

    how do i get italics?

  • When posting to programming or hardware forums, you just have to learn to read all information and try to understand it. Then make sure that all posts you make are 100% complete and understandable. Assuming that we know everything you think about (or have heard or read in class) is very bad. We haven't read all info you have received about yuor assignment. We only know exactly what you have written.

    <h>how do i get italics?

    You get italics by following the instructions that is visible whenever you write a new post.

    You are going to make a traffic light with one RGB LED? Which country do you live in? Isn't it more common to use one red, one yellow and one green LED (or actually four sets of R+Y+G for motor traffic and possibly 2*4 sets of R+G for walkers and possibly a further number of R+Y+G for any bicycle lanes? for traffic lights? I haven't seen too many traffic lights that are designed to show magenta, blue, burgundy, ...

    You still haven't told us if the PWM channels are for modulation of LED intensity, or if they are for other part of the project. If they are for intensity of LED - wouldn't it be a bit strange if the intensity of the three LED for a traffic light are individually modulated? Red slowly dimming away while the green is turning on? And my question about the use of the PWM is extremely relevant, since our eyes can not distinguish 10-bit absolute intensities, which makes 10 bits resolution way overspecified for visible control of LED intensity. A traffic light with intensity-control of the LEDs would normally also need a light sensor to decide if it is dark or light outside - why else modulate the intensity?

    Another thing - a PWM controller isn't necessarily limited to controlling a single digital output. A number of better PWM controllers can handle multiple channels in the same controller. This is a very common requirement for handling motors with multiple windings. There are single PWM controllers that may handle 6 channels for bipolar control of three different windings. Much fun can be made with such a contraption.

  • "i say YES it is a school requirement and YES i Need THREE PCM channels"

    So you didn't read the question carefully, did you?

    The questions was not "do you need 3 PCM channels" - it was "are the PWM channels expected to be used for something else"

    It is very important that you read questions carefully - especially your assignments!
    It's no use handing-in a brilliant answer if it's to the wrong question!

    As my maths teacher used to say, "If you can read, you're in!"

  • "You are going to make a traffic light with one RGB LED? Which country do you live in? Isn't it more common to use one red, one yellow and one green LED"

    Unless your country prohibits the colour-blind from driving, it is essential that you do not use a single LED!

    The commonest form of colour blindness is Red/Green - so these people need to be able to see physically distinct positions for the 'Stop' and 'Go' lamps!!

    :=0

    However, as an aside, I noticed recently that the railways here do now seem to be using signals with multi-colour aspects - but, presumably, you can't be a train driver if you're Red/Green colour blind...?

  • hi EveryOne,

    thx for your help but ive got a better answre now!
    i Download From internet the project.

  • "i Download From internet the project."

    So much for doing 100% of the work yourself, then...