RGB PIC color changer

[Ian] put up his RGB LED color changer project over at diylife. It’s a pretty simple project, but well designed and flexible for combining with other projects. He used a PIC18F2550 to drive everything, and some FETs to drive the LEDs. When you connect a USB cable, the color cycling project stops and the PIC responds to simple hex based color commands.


  1. Darth Hackius says:

    How the hell did he interface to USB so easy?

  2. somebody somewhere says:

    the PIC18F2550 has integrated usb 1.1.

  3. Mio says:

    The 18F2550 is a USB PIC. It’s really easy to get a USB connection working with it.

    I’ve used the 18f4550, which it’s 40-pin big brother a lot. Here’s some info on it:

  4. darkfader says:

    The part with schematic drawing on whiteboard was funny to see.

    Less spectacular, my RGB decorated mouse with PIC16F84…

  5. Mio says:

    The 18F2550 actually has full-speed USB 2.0. (Not High-Speed, obviously)

  6. 8Way says:

    comment i left on the diylife board:

    Nice design. I wonder if you get subtle flickers when updating the PWM values. I’ve found in my designs on the 14bit pics, that I have to update the PWM when my ” 1 byte cycle counter” wraps to zero rather than immediately. You are clocking at a higher clock rate (I use 4-8mhz internal clocks with up to 10 PWM channels), so your design may not be so sensitive.

    Recently, i’ve given up on the PIC and it’s goofy architecture and moved to the Cypress PSOC parts. They are really neat with dedicated digital and analog blocks. You can set up up to 16 PWM (actually I use pseudo random bit sequences, which have less flicker) outputs, and the C compiler is really reliable vs the buggy stuff i’ve experienced w/ the pic (though the PSOC compiler generates crap code). The PSOC has it’s own shortcomings, such as a really inefficient CPU, but the digital and analog blocks more than make up for it b/c stuff is done in HW vs SW. PSOC is really fun, esp when u wrap your head around it’s way of doing things.

  7. Arun says:

    Check out this RGB LED Project,
    RGB LED Array,…
    the RGB LED Project

  8. Arun says:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 96,382 other followers