Power line comms X-10


Closed Thread
Results 1 to 16 of 16

Hybrid View

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

    Default

    I found all of the threads in a flash by searching on "Anand Dhuru". Here are the ones of most interest.You can buy back issues of Nuts & Volts from their website. Anand attached a schematic, scanned from the article, to a message in one of the above threads.

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

    Default Extended commands / Translation

    DT

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

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Might also be of use.
    Perhaps, but probably not in the case of Status Request. There are only a few X-10 modules that respond to Status Request and those do not actually reflect the state of the load - merely the state of the module. The lamp might be burned out, turned off at its switch or unplugged but the module will still report its ON if that's the state of the module. It's more a, "What's your best guess of status?" request and a, "Your guess is as good as mine." response.

    BTW, the reason meL supports the BasicStamp codes is that Xout (and Xin) were original BasicStamp procedures. The non-Pro PB syntax is based on PBasic.
    Last edited by dhouston; - 28th November 2007 at 17:24. Reason: added the BTW

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

    Default

    Since this is a PBP forum, I'm hesitant to suggest another method but, if the goal is just to build a system to control your own household and not a commercial endeavor to sell your designs to others in your country, there is a solution that is very quick although much more costly.

    Elba Corp. sells several BasicStamp-ish chips and modules that use a much more advanced version of Basic. Some of their products (I think all with the "a" suffix but you should confirm this.) allow you to define two TTL PLC channels that operate in the background, much like a software UART) to send (if the module is two-way) and receive X-10 commands using any of the X-10 TTL PLC modules (PL513, TW523, PSC04, PSC05, TW7223, XM10, Smarthome 1132B). Since you specify the bits to send, you can send any valid (or not) X-10 commands. You can only receive those commands which the X-10 modules report so it's limited to valid, standard commands. Off the top of my head, I think it handles 50Hz or 60Hz but you need to confirm this. If 50Hz is not supported, I'm sure they will be willing to add that - they are very responsive to feature requests (if doable). In fact, they added this feature at my request.

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

    Default

    Status is probably more useful for Dimmers. Especially the ones that have a slider or other way to manually adjust the level.
    Then the main controller can know it's current setting.

    But as you pointed out
    Quote Originally Posted by dhouston
    The PBP commands are for use with a TW523 or equivalent. They are rather limiting with no support for the newer extended commands.
    The supports there, just not the documentation.

    DT

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

    Default

    Status Request doesn't work with dimmers either. The newer modules that support X-10's extended comand set do accurately report load status, including level, but the TW523 class controllers cannot receive the codes.

    Most of Smarthome's own brand of X-10 switches and modules respond to Status Request and even report changes (bulb burns out, switched off, etc.) in status, using the standard Preset Dim commands, so they are the way to go if you want accurate status reports using TW523 class controllers.
    Last edited by dhouston; - 28th November 2007 at 18:15.

  7. #7

    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

  8. #8
    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

  9. #9
    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.

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