Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Ht16k33 to drive rgb led

  1. #1
    Senior Member
    Join Date
    Nov 2015
    Posts
    186

    Ht16k33 to drive rgb led

    Hi, i have a 'simple' circuit with 9 rgb leds
    this leds are driven by one ht16k33
    i'm able to lit all the 9 leds in red, green and blue color
    i can mix Red, Green and Blue but i can't control the brightness for each led...
    brightness is common to all the leds...

    any advice to control brightness and mix color to obtain all the possible colors?

    maybe an extended version of the ht16k33 library, or a function...
    Tahnks

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,945
    I found a ht16k33 part on Adafruit with the note :: Note that the driver can turn LEDs on and off but does not have the ability to individually PWM dim them.

    It is an i2c device sets a given value I suppose - not sure if the chip can do PWM with other commands not implemented - the chip detail says it has "16-step dimming circuit".

  3. #3
    Senior Member
    Join Date
    Nov 2015
    Posts
    186
    i see..
    at least i have 7 colours! :-)

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,945
    The data sheet might show how easy it would be to activate the dimming - and how it works that might show adding a single new command to the driver might allow controlling that.

    Depending on how fast the i2c interface runs - multiple Hz updates might be possible to provide for some effects.

    I did a quick search and stopped at Adafruit - then the linked data page - there may be more advanced drivers on github ...

  5. #5
    Junior Member
    Join Date
    Aug 2018
    Posts
    4
    Quote Originally Posted by defragster View Post
    The data sheet might show how easy it would be to activate the dimming - and how it works that might show adding a single betbright casino review driver might allow controlling that.

    Depending on how fast the i2c interface runs - multiple Hz updates might be possible to provide for some effects.

    I did a quick search and stopped at Adafruit - then the linked data page - there may be more advanced drivers on github ...
    Thanks for the advice!

Posting Permissions

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