[ 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.1318695 [View]
File: 62 KB, 1508x536, Screen Shot 2018-01-22 at 11.17.50 PM.png [View same] [iqdb] [saucenao] [google]
1318695

>>1318190
Now using a SPDT relay will work, but if you go the transistor route you will need 2 N-type transistors. One to act as the inverter, and the other to act as the power switching transistor, for which I'd use a MOSFET. Alternatively, you could just use a single power P-type MOSFET. Just make sure what does the switching, be it transistor or relay, can handle the current that the LED strip pulls. Either of the following will work, resistor values are approximate since they're just to limit current taken by the inverter/FET gate. NMOS transistors are much more common and probably what you'd have lying about, but the PMOS route is definitely a little nicer.

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