[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1276707 [View]
File: 83 KB, 1362x562, Screen Shot 2017-11-12 at 11.57.57 PM.png [View same] [iqdb] [saucenao] [google]
1276707

>>1276698
If it's just one or two channels or colours then I'd use a 555-timer based PWM circuit, they're fairly popular and only a google away. But for RGB or multiple independent lights then I'd run with as many quad comparator ICs as you need, using one as a "triangle wave" generator and the others as the actual PWM comparators for each channel. I recommend this video:
https://youtu.be/QLQrLO0zvDI
to help you grasp how an op-amp/comparator oscillator works. I'm assuming you know how comparators/op-amps, FETs and BJTs work. Also don't forget the comparator's output pull-up resistor if it needs one. Pic related is my take on the comparator oscillator.

A few kHz is no problem provided your components can handle it, you only start getting bad radio-frequency stuff happening once you enter the MHz range, or at least the 100kHz range. Now you might be able to hear the whine of the PWM oscillator if it's in the audible frequency range, which is can be hard to get above, but for a games room it shouldn't be nearly loud enough to be noticed.

Good luck!

Navigation
View posts[+24][+48][+96]