background preloader

x10

Facebook Twitter

Home_Automation_Final_Report.pdf (application/pdf Object) Protocol. X10 program hangs, doesn't send. Hmmm That's strange - see Reply #1.I don't mean to argue with success, but I question your definition of pins 2 & 3 - I think they should be reversed.See page 7 of this - Some of the confusion may have to do with the fact that most phone cables "flip" the wires on one connector. Hold the two ends together (as if you were going to plug them in) to see what I mean.

One connector will be BRGY the other YGRB.) So if you use both RJ11 connectors on the cable, you have to account for this. This fact also makes going by wire color misleading. If you just cut one of these cables, the color depends on what end you plug into the PSC05. Using the diagram above, or in the link to the manual, you should have: 1. Perhaps your setup is working because you don't use receive - I'm not sure.

What happens if you try pin 2 for ground now that you have it working? I really doubt that they would make different models with different pinouts. X10. Learning Examples | Foundations | Hacking | Links This library enables you to send and receive X10 commands from an Arduino module. X10 is a synchronous serial protocol that travels over AC power lines, sending a bit every time the AC power crosses zero volts. It's used in home automation. You can find X10 controllers and devices at and more. This library has been tested using the PL513 one-way X10 controller, and the TW523 two-way X10 controller. To connect an Arduino to one of these modules, get a phone cable with an RJ-11 connector, and cut one end off.

Download the library from GitHub To use, unzip it and copy the resulting folder, called X10, into the libraries directory of your sketch folder (you may have to create the libraries directory if you've never installed a library before). As of version 0.4, here's what you can do: x10.begin(rxPin, txPin, zeroCrossingPin) - initialize an instance of the X10 library on three digital pins. e.g. PSC05 / TW523. The X10 Book is the must useful project I've made with the Arduino. Again, I've already posted a lot of details on this elsewhere, so here I'll write about it from a different perspective (I hope). The project is based on the Arduino interface to the PSC05/TW523 (see below) and an experiment on encasing electronic gizmos in a book. It provides me with all the X10 functionality I had with with ActiveHome and a lot more. (I now use my CM15A only as a whole house transceiver.) At the risk of repeating myself, for those who haven't read the links, here is a partial list of what it does: Displays each X10 command that comes across the power line on a scrolling display.

So your saying "that's cool, good for you, but what about me? ". The key things to remember, are that you don't have build all this functionality, you don't have to build it all at once, and you can build other functionality. Another suggestion is to make the project in steps. Get comfortable with the Arduino.