Hi this circuit (see attached image). Where Im switching some leds about 3v drop on each led. So the current is about 35-40ma. The power I'm using is a power switching wall adaptor 9v with 150ma max. Now I'm swthcing the leds at 117hz, and varying the duty cycle from 0 to 50% and I see oscillations/ripple match to 117hz when probing the 9v supply around 400mv. My main concern is that this 9v goes to a linear regualtor where i get my 5v, when probing the 5v for power my microcontroller is stable not ripple on the otuput and the regultor does not get hot or anything, but will this ripples/oscillations of 400mv be bad on the long run, and create problems with my stable 5v? Second, how can this be fix, I can only increase the frequency up to 200hz but its the same, I tried placing a 100nf capacitor but still the same. This oscillations seem to happend becuase of the draw of current on and off, I could lower the leds current to minimize the effect but that will dim my leds. I can not change my power supply, I'm stuck this this one? And ideas thank you for the help.
Attachments
-
1.1 MB Views: 14
-
1.7 MB Views: 14
-
1.4 MB Views: 9