Power line comms X-10


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1

    Default

    Hi Guys
    Wow! thanks for all the info, I'm gob-smacked at the complexity of some of the applications, but agreed, if you want that level of addressability and control it's needed. I just wanted to turn the geyser on/off and one light!! so I will get inspiration from the circuits particularily the mains interfaces, and just use some simple PPL tone switching at 2 different frequencies, the didtances are pretty short and I should mangae without zero crossing detection or phase control etc and just stick to a simple go on/off to 2 devices. I'll give X10 a miss and just output a high on a pic port to turn on the PLL. But thanks a ton for the info.
    Graham

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    Well, he might have given up, but I'm still curious Dave.

    Is there another extended command set I don't know about.
    Not trying to be contrary, I just want to make the previous posts as complete as possible.

    I wasn't exactly thorough in my search last time, but those were the only other X-10 commands I could find.

    Are there more?
    DT

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073

    Talking Complete X-10 command set

    Darrel,

    There's a text file on my web page listing all X-10 commands. Originally, it was a .DOC file that was so horrendously formatted that it was nearly impossible to read so I reformatted it as the text file. Later, X-10 made it into a .PDF and I reference that URL at the top of the text file.Many of the commands described have not been implemented by existing hardware although X-10 Europe seems to be using more of them than X-10 USA. This is probably because CE rules required them to redesign most of the hardware sold in Europe a few years back. Here, the LM14A and AM14A use some of the extended command set as do some dimmer switches made by Leviton (who confuses things by calling their Extended Dim commands Preset Dims). You need a more sophisticated interface to receive these commands - CM11A, CM15A, and some of Smarthome's interfaces. There are European equivalents to the CM11A.

    There's a subtle thing (well, not really all that subtle but it's not explicit in their documentation of the power-line protocol and these devices) about the X-10 TTL two-way interfaces (TW523, PSC05, TW7223, XM10) that most people miss. It only reports valid codes it sees on the power-line. This means it cannot report in real time, since it needs to validate a whole code or 22-bits, but must delay one whole command-worth of time (22 half cycles of the 50Hz or 60Hz). In other words, what it reports actually occurred about 1/4 second earlier. And it cannot report continuously - it reports only every third command in the case of Dims and Brights and reports only the first 22-bit chunk of the longer extended commands. And it will only report valid codes, which must begin with 1110. It acts a bit like a 22-bit shift register with the clock being the power-line frequency.

    You did say you want to be thorough.
    Last edited by dhouston; - 29th November 2007 at 14:56. Reason: knocked l out of Darrell

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    Quote Originally Posted by versatronics View Post
    ... I will get inspiration from the circuits particularily the mains interfaces, and just use some simple PPL tone switching at 2 different frequencies, the didtances are pretty short
    I think there's an even easier way that doesn't require power-line comms. You can use a current transformer or hall-effect current sensor from Allegro to sense when the geyser is on or off and use RF links to communicate.

  5. #5
    Join Date
    Nov 2007
    Posts
    2

    Default SA guys should keep 2 the simple stuff lol

    Graham seems we have similar things in common ;-) just started on a project using to pic's 1 as a master other as a slave to control 6 relays to switch 12v lights on & off. Im limited to 2 wires gnd and positive. I have found the impedance of the supply voltage been a car batt. need to modulate @ app 11mhz in order to get the signal down the line. If anyone could share some light on this idea i would appreciate it no matter what

    Many thanks
    dale

  6. #6

    Default

    Hi Dale
    Did you really mean 11MHz? This is very high for PLC although if achieved will give you good noise immunity. Yearsd ago i developed a PLC (power line carrier) remote control system for the coal mines, using the trailing 5kV cables the coal cutters drag begind them. It was infeasible to connect directly to these a) as it would require the intervention of an electrician and thus down-time, and b) safety/isolation issues. so I was face with a way of getting a signal into the cable, getting adequate propagation a nd of course daling with the huge noise problem from the thyristor drive syatems of the motor. There are 2 modes to propagate into a cable: bifialr - where you excite equal and opposite signals between the pair of wires - this is hardest to do but has less line attenuation; and monofilar where you exite all the wires togethher as a bundle against a earth reference. This is easiest to do with an inductive coupler of some sort and needs no connection to the wire. however to electrically 'space' the wires apart I had to go up in frequency, also to get above the noise harmonics I used 4MHz This is very much higher than the usual 120kHz type carrier. i know this doesn't help much but you might find it interesting to see that high frequencies do have a place. The modems were designed with discrete phase locked loops and use FSK at 9600b/s. -- I may still use something like this for my house!!

  7. #7
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    BPL (Broadband over Powerline) uses even higher frequencies - up to 80MHz.You might find Yitran's BPL (or non-BPL) PLC modem chips useful. Their design was selected for HomePlug's narrow-band home control application.

Similar Threads

  1. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  5. One wire serial comms on +5V line
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st May 2005, 12:49

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts