Menu

Dimming of RGB Fan Motor LEDS

brownrb
2014-09-21
2014-09-21
  • brownrb

    brownrb - 2014-09-21

    On the subject of dimming the RGB LEDS

     
  • brownrb

    brownrb - 2014-09-21

    The RGB LEDS are connected to PWM outputs. So its easy to PWM them. An early version had a DIM function that dimmed the leds or let them go at 100%. The DIM used a value around 240-250 instead of 255 (I think I used analogueWrite( rled, 255 - dimval );

    This worked fine for the Blue and Red LEDS, but the Green LED just could not get it right regardless of value. I think the green led has a different threshold value making it either ON or OFF, so it was too difficult to get it reliably DIM.

    So I removed this from the release.

    I used a KEYES-016 RGB module. perhaps using individual LEDS with limiting resistors might work better, I dont know, not worth the effort for me to try now.

    The reason I looked at the dim feature was to just limit the LED brightness at the scope level, perhaps a little bit of translucent tape over the led is just as effective, then again, one doesnt really need the rgb leds for the controller to work anyhow.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.