[ 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.1170657 [View]
File: 18 KB, 994x630, Capture.png [View same] [iqdb] [saucenao] [google]
1170657

I'm having a bit of an issue here.
I have a comparator that goes low in the dark and high in the light using an ldr. The output goes into an mcu, but to give a visual indicator that the pot is calibrated correctly I also want an led connected to the output of the comparator.
However, this setup doesn't seem to work very well. The comparator doesn't give a clean on/off anymore but something in between instead.
Any idea how I could wire the led?

Also it could theoretically be a crappy comparator as it's a dirt cheap chinese one, but without the led it seems to perform fine.

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