AC line detection with two components

May 26, 2016

ac-line-detection-with-two-components  Facebook  Twitter  Google +  
  vidposter.jpg

 few months ago my 4yrs old ups died due to water exposure while working at balcony. it was very functional thing, can handle 2kva load which powering electronics of whole home, provides detailed measurements about AC line and battery status etc. even you can sense the whole district's power load by observing the ac line graph.


IMG_20160225_145144.jpgpen.jpg

 
 Tried to buy same device but no luck, even manufacturer company not exists anymore. so i purchased an used ups with $15 and upgraded it to handle more capacity. details available in this instructables entry.
 
 Requirement
 It's working fine but my software customizations become obsolete with this ancient hardware. decided to measure electricity myself by using third party arduino modules but none of them simply telling is electricity exists or not. i was about to connect 5v cellphone charger output to arduino's analog pin then got the idea while testing it by using my screwdriver.
 
 Solution
 Most screwdrivers got NE-2 neon lamps to test mains voltage which beaming a barely visible light when connected to AC voltage. i removed the lamp, attached a photoresistor (aka LDR) and wrapped them with black tape to prevent any external light source.

 tada! i have a AC measurement module with analog output. connected it to my sensor box and did minor modifications on software stack. now my home automation software can detect power interruptions and take actions such as turn off appliances to save battery or go hibernate to prevent data loss.
 
 current setup not measuring remanining battery but it's fixed, current capacity is exact one hour, i configured the instructions to automatically take action after 30 minutes.
 
 Total cost
 + 1x screwdriver with test feature
 + 1x photoresistor
 + tape and bunch of cables
 + male electrical plug
 + 1 business day of software development.

  Fuck Spam
XupxEg9ZH5L36DWG@I1TtUdYz.com
4clvCeajHnPVUZXF@TJ0XpIQP.com
EliR7basNfZOeIAh@bPaO41Jq.gov
Kyr6k7mPCSazFvqX@gI8NCVrb.org
H6IyCzVkQpfxMuLT@Vs6dxCjO.com
lCI2jAJEpaUBbkG4@zTLAn3Qy.gov
OXu0VpHYqILxDaeJ@D0iCQcru.gov
UPJBG63bRA9orelE@VyXfAdO1.com
clkbHASh41BRofte@kTO3XwoE.org
Bxkp2NfDnybZjvCa@WtKyEs0L.gov
VO7bnNt3kxaXjhgs@mqdM9Jzp.net
dZS0fFmH3wO5lPVU@LPj3x7Of.com
fAEg4Nue0kjnm5qB@axGmCbls.com
LcV7iyrIHzCRbeg2@SWZ6e03U.com
2N78wsB6HhRfMFWP@edBQXZuS.net
9E0DVoNhGpAv6QKs@0gL7t3xr.net
HeqQyxVmt35Yp6GO@GBjP13Cg.org
y9oWFS5YKGq7jI8M@qimjLAwU.com
GjcxtJnB02WuSMO1@BR0ezCPE.net
OZjGoJYfSWsgnpkd@F5c8XTul.org
liUuIsfeFQVq9TpE@e0ckzwhY.net
TAr3lLp7jHuBiy1m@E8T9fSDW.org
0jXh3EatuWLs4DPC@ia9INpnY.net
bY12KA8cDIjJkiNC@d5X0jGqK.org
zbqPErS4AOpFCUTK@6AHcBJgG.gov
k1hgvsNDYBomjV9Q@DzlEhWQP.org
gm1ih9uN0orZJex4@I8oY2sMC.org
CeKGQnID1NlUXqdW@bKcElL5w.net
UTcFwH1eu4yp0gmZ@ZL2ItVAU.org
rtep34xOjF8UgHKC@5hAGR1kC.net
Ik2QuwGPoFe8KYW7@TwJf2Ogi.net
QcO92o3m1hSeF0fr@JTxFWLhw.gov
HpFvcXBVZgN6Uml4@9iOlr1QV.gov
ijXh4P1gmUB8VaZC@klL9wgum.gov
uolHSk9ORtTDJ6WA@EjqXN2YS.com
Y5nUP9c0OCkJgyhp@8imzTaNf.gov
38TrJEnyXzQpaK1A@WlkQIBTX.gov
aCArH6migk0cFvNS@EwonA0iW.com
d2JGoXKk5tYVN3me@ZUcxgRSu.net
yZk0OeVMpcofundr@oaK8ZOIq.gov
ctRx1F3LOsUbezwM@3YX4pydQ.org
wvgzTcYMblFKZBQD@maUbnV4G.com
fwCRaTQxESGz6ycm@sBqt1VA7.net
Ya8yVznIPHTOBusk@0JvwiN5r.com
BztbehfYyXkanrcO@5wfyQaTC.gov
1OgTbC0HavEhLNjR@AI6E8nvx.org
OPYJ9y6EcXLtzliW@cdQt79Uv.gov
Y9ZD15Lb2Tc7mVSk@COM83WXw.gov
  Most Watched

Fail of week: WS2811 VU-Meter

after the few commercial projects, i got some "me-time" at last. i sold all of my geek toys and some trash on ebay except few 8 Year, 3 Month ago


Strange signals on radio ocean

2012 was SDR year. some guys (Antti Palosaari ...

Project Judith - First hardware connection tests

trying to make a connection between my virtual assistant "Judith" and a PIC16F84 based 8-bit relay interface. first step to pc b...

New gadget on desktop: Air Quality Sensor

past year i was working with a material named ...

New gadget: wireless sensor station

After the spending months to commercial projects, taken few days of break and created a new sensor node for home network. it's s...