[ 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.1270165 [View]
File: 18 KB, 880x865, 1490713568187.png [View same] [iqdb] [saucenao] [google]
1270165

>>1269940
How many pins do you have free? I'd probably try to use the onboard PWM and ADC to drive the switch before adding another component. One advantage is that you can easily regulate current with a single dropper resistor. Another is that you don't really need an additional PWM for brightness, if you compensate for If vs. lumens nonlinearity in firmware. Pic related.

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