X10 Community Forum

🔌General Home Automation => Automating Your House => Topic started by: Brandt on September 29, 2010, 12:12:50 PM

Title: Does a device like this exist?
Post by: Brandt on September 29, 2010, 12:12:50 PM
I am wondering there is a device that will convert serial rs232 signals from a PC to signals appropriate for a TW523?

I saw the ADI Ocelot, but I am thinking of an always on PC using a TW523 for it's power line controller. I've also seen the 1132B, but I am talking about the TW523 here.

The device would simply convert the signal. I would be using the PC for the voice announcements, macros, everything else...

In other words, I wish I could plug my PC directly into the digital port on my XTB-IIR :D


The Ocelot looks pretty nice but right now I'm using Sheevaplug + CM11a + Heyu.
Title: Re: Does a device like this exist?
Post by: Alan V on September 29, 2010, 01:26:08 PM
If you're handy with solder then you could use a serial PLIX chip:

http://www.micromint.com/index.php/Micromint-Chips/micromint-chips.html (http://www.micromint.com/index.php/Micromint-Chips/micromint-chips.html)

The PLIX chip has been around for quite a long time.
Title: Re: Does a device like this exist?
Post by: JeffVolp on September 29, 2010, 01:48:22 PM
The PLIX chip has been around for quite a long time.

Unfortunately, it only supports a limited command set, and will not handle the extended codes used for preset dim in Leviton and newer X10 modules.

Jeff
Title: Re: Does a device like this exist?
Post by: Brian H on September 29, 2010, 02:12:10 PM
Jeff; The TW523 also could not handle the extended code reception.
Does the TW523 emulated port on the XTB-IIR handle the extended codes?
Title: Re: Does a device like this exist?
Post by: Brandt on September 29, 2010, 02:17:57 PM
Yes I can solder. I sometimes wish I was an electrical engineer instead of a computer scientist  B:(
Title: Re: Does a device like this exist?
Post by: JeffVolp on September 29, 2010, 03:41:32 PM
Does the TW523 emulated port on the XTB-IIR handle the extended codes?

Yes, in both directions.  It also repeats the "doublet" extended codes produced by the CM15A, HomeVision, and perhaps some other controllers.

The TW523 does transmit extended codes so that high-end controllers can issue the preset dim commands.

Jeff
Title: Re: Does a device like this exist?
Post by: Brandt on September 29, 2010, 05:03:42 PM
Is there a minimal circuit one could build that could also handle extended and doublet?

I have some experience with Atmega's with or without the arduino platform....
Title: Re: Does a device like this exist?
Post by: Brian H on September 29, 2010, 06:34:32 PM
One thing you have to remember with the TW523/PSC05 is it is real dumb.
Your hardware and software have to do everything.
All the TW523 does is turn the power line transmitter on and off by the stream of ones and zeros. Encoded by your software. Timed by the Zero Crossing signal. The receiver chip in it also just sends ones and zeros. Again software has to do all the decoding.
The receiving limitations are from the controller chip in the TW523 itself.
Opto coupled inputs and outputs.
Not saying it can't be done.
Just needs some thoughts.

Now if you where using the XTB-IIRs TW523 type I/O. It does the extended messaging. You would have to have software to encode the raw 1s and 0s for transmitting and decode the 1s and 0s received . Also interface a serial signal to one compatible with the opto inputs and outputs.