SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By ti_chris
#199261
Hi,

I don't really feel like re-inventing the wheel in this case. Does anyone have a reference design to detect an open or closed 120VAC circuit using 3.3VDC GPIOs?

It seems to me like you could use a pullup resistor along with an opto-coupler to detect whether or not the circuit is open or not. I'd love to get a reference design that works and where all of the edge cases have been thought out.

Thanks
By owainm713
#199275
I've used a simple plug in DC power supply plugged into the 120VAC I wanted to monitor. Then it is relatively easy to monitor the DC voltage of the supply. Any old cell phone charger etc should do, may just need a simple voltage divider to lower the voltage to your 3.3V level.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]