[ 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.1504841 [View]
File: 47 KB, 1060x600, this.png [View same] [iqdb] [saucenao] [google]
1504841

>>1504838
voltage divider thing > adc
pic related looks pretty good

If you just want to sense whether it's live instead of measuring its amplitude, then either rectifying it and dividing it down and/or some form of capacitive sensing to isolate the ardy should do the trick. Watch that you don't get any nasty ground loops, but that your arduino's ground is properly referenced relative to the mains. I'd recommend using the earth lug for this if you have the luxury (i.e. aren't pushing any current through it), but otherwise the neutral pin should work fine.

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