[ 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.805719 [View]
File: 37 KB, 775x353, 4017 counter.jpg [View same] [iqdb] [saucenao] [google]
805719

>>805659
>What would be the best way to do Pulsed
Width Modulation that fades an LED?

I have a better idea. you use a 4017 counter like in the pic, but instead of lighting 10 LEDs, you just light one using 10 diff resistors. the first 5 resistors are in decreasing order to make the LED get brighter, and the last 5 increase the resistance to make it fade. you might leave the first and last outputs unconnected so it's completely off for 2 counts. the 555 determines the rate of the fade.

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