<div dir="ltr">Hell ya.  Sounds like fun!  Here's an Arduino library that seems like it would do the job.  <a href="http://www.airspayce.com/mikem/arduino/RadioHead/classRH__ASK.html">http://www.airspayce.com/mikem/arduino/RadioHead/classRH__ASK.html</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 12:32 AM, Jake <span dir="ltr"><<a href="mailto:jake@spaz.org" target="_blank">jake@spaz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I opened up the black box that connects to the current-sense transformers included with The Energy Detective (TED) power monitor kits.<br>
<br>
it contains a CS5460 chip which is a "Single Phase Bi-Directional Power/Energy IC" which has a digital (SPI) data interface.  Unfortunately it does not have analog outputs, so it can't be used to convert the AC current signals coming into it into a simple DC analog value.<br>
<br>
<a href="http://pdf1.alldatasheet.com/datasheet-pdf/view/230848/CIRRUS/CS5460.html" rel="noreferrer" target="_blank">http://pdf1.alldatasheet.com/d<wbr>atasheet-pdf/view/230848/CIRRU<wbr>S/CS5460.html</a><br>
<br>
however, if someone finds a nice arduino library to talk to this chip, we can...<br>
<br>
wait no, that's pointless.  the chip is connected to a PIC16F627A which is processing the data from the CS5460 and then sending it out over the power lines using a TDA5051AT "Home automation modem" chip:<br>
<br>
<a href="http://www.nxp.com/documents/data_sheet/TDA5051A.pdf" rel="noreferrer" target="_blank">http://www.nxp.com/documents/d<wbr>ata_sheet/TDA5051A.pdf</a><br>
<br>
"The TDA5051A is a modem IC, specifically dedicated to ASK transmission by<br>
 means of the home power supply network, at 600 baud or 1200 baud data<br>
 rate. It operates from a single 5 V supply."<br>
<br>
it transmits Amplitude Shift Keying (ASK) data transmission using the electric power lines it's connected to.  basically it communicates at 8.48MHz (somewhere between 6.08 - 9.504 MHz) in binary serial communications.  so it should be pretty easy to figure out what it's saying.<br>
<br>
It could be that the box that the current sense transformers plug into just sends data (including its serial number, which is on a barcode label stuck to the box) and a displaybox (or our hack) picks it up or not.  But it's also possible that it waits for a displaybox to transmit a signal telling it to turn on, or asking it to supply a measurement on-command.<br>
<br>
since we have displayboxes and these current sense boxes, we can find out if we want.  and then we can measure power flow throughout the omni.<span class="HOEnZb"><font color="#888888"><br>
<br>
-jake<br>
______________________________<wbr>_________________<br>
sudo-discuss mailing list<br>
<a href="mailto:sudo-discuss@lists.sudoroom.org" target="_blank">sudo-discuss@lists.sudoroom.or<wbr>g</a><br>
<a href="https://sudoroom.org/lists/listinfo/sudo-discuss" rel="noreferrer" target="_blank">https://sudoroom.org/lists/lis<wbr>tinfo/sudo-discuss</a><br>
</font></span></blockquote></div><br></div>