[ 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.1296043 [View]
File: 3 KB, 412x365, mono.png [View same] [iqdb] [saucenao] [google]
1296043

>>1296003
that's a mono jack with a switch, my dude. if you want to use the switch, you need to put it in the middle of the signal path like Pic related. also, if you're feeding a stereo line-in, you'll need a mono-to-stereo cable or adapter to split the output to two channels.

>>1295877
meh, this is why microcontrollers have eaten the physical world. one photodiode to an analog input and you're rolling.
that said, you could just drop a MOSFET into the ground power lead with a resistance, probably > 30kohm, chosen to allow an LDR to pull the gate low enough to stop current flow when it's bright out there but not when it's not. adding hysteresis, if desired, is left as an exercise for the reader.

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