Author Topic: Digispark and RGB LED Strip + code question  (Read 12495 times)

togethernessnyc

  • Newbie
  • *
  • Posts: 10
Re: Digispark and RGB LED Strip + code question
« Reply #15 on: May 08, 2013, 11:50:20 am »
@dougal, YOU RULE. 


thanks!  i appreciate the input! 

togethernessnyc

  • Newbie
  • *
  • Posts: 10
Re: Digispark and RGB LED Strip + code question
« Reply #16 on: May 08, 2013, 09:01:28 pm »

I've been trying to slow down the fade rate on the code for this project. 


naturally, as you slow down the PWM in the code, the LEDs begin to flicker more. 


I've been told I can smooth that out using capacitors. 


This raises two questions: 


1.  Won't the pulses from the code be so quick that the LEDs will appear continuously "ON" if the code passes through a capacitor?  And if so, how can I change that? 


2.  I'm working off of a combination of the following two circuits: 



taken from: http://www.555-timer-circuits.com/up-down-fading-led.html

taken from:  http://learn.adafruit.com/rgb-led-strips/usage


I'm still learning this, so please forgive my newbie questions.  I was wondering:


1.  The power should go through the capacitor first before going into the RGB LED strip.  The question is, how do I do that?  Based on the above 555 schematic, I'm not entirely clear on how the power gets into the capacitor. 


2.  The digispark should technically be the "brain" that replaces the 555 Timer . . . so does anyone have any suggestions as to where I can place it in the circuit? 


Any schematics welcome!