Using Twine with a current sensor to get alerts when my sump pump runs.
I've always been curious as to how often my sump pump runs. Now that my Twine with breakout board is hooked up to an AC current sensor, I get alerts whenever it does run. All I need now is the ability for the Twine to post on Twitter and I'll be all set.
Also, can you tell us what AC current sensor you're using?
The AC current sensor is http://www.phenixcontrols.com/Current_Sensor/9153/. I had to split the power cable to my sump so that only the hot (or neutral) wire went through it, so I just got a Leviton electrical plug (http://amzn.to/Tv5z7F) to replace the original plug after splitting the cable. Only other thing I had to get was a resistor for pull up (CF14JT470RCT-ND from digikey.com).
As for the resistor, I'm no electronics expert so about all I know about a pull up resistor is from Wikipedia, and I don't understand it well enough to explain it. The tech guy I spoke to at Phenix Controls specifically pointed out that a pull up was needed for use with the sensor, but he didn't give me any specifics. I noticed on the Twine blog about using the breakout board as a light sensor that they did the same thing - resistor between the power and input connections, and then the sensor between input and ground - so I just ordered the same resistor used in that example and it worked fine with my current sensor.