RGB LED driver, Any comments?


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Erik

    Try using a 1K pull down from the gate to ground on your MOSFET's. I have found that sometimes they get a little flaky with PWM and the 1K seems to make a huge difference.

  2. #2
    Join Date
    Jan 2006
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Ya did put some 1K's on and found the same thing, that it all worked perfectly. I should've come back to this post with that. Strange that I haven't seen any mention of doing that anywhere else.

  3. #3
    Join Date
    Nov 2005
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    I don't know for sure,

    since i changed my computer I should digg out the old schematics somewhere. But I'm pretty sure that there where pulldown resistors in my design. It's never a good thing to leave the pics pin floating in mid air, which will always cause weird results.

    This being said, does anyone think it's feasable to design a RGB christmas light with 50 channels from one PIC controller, prefferably 16C class? I don't think it can be done. Last year with the 8 channel set-up, it was already clear that the switching between the colours was getting a bit iffy to say the least, colours bleeded a bit from one transistion to another when working with 2 or more colours at the same time. I would use decimal counters to go down the row of leds, but I don't think it could be switched fast enough to at least have a flicker-free view.

    It was programmed like this:

    set pwm for red - green - blue
    turn on all used channels
    wait a few msec
    turn off all channels
    set pwm for red - green - blue
    turn on all used channels
    wait a few msec
    turn off all channels
    etc...

    When I wanted one out of two leds to be red and the other ones blue, I ended up with a light shade of blue and a shade of pink, which made me think the PWM channels didn't ramp down fast enough or something.

    Steve

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 07:14
  2. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 05:59
  3. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 21:19
  4. Scale 8bit ADC RGB LED voltmeter
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd February 2008, 04:37
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts