Odd request for out of the box X-10 Thinking
kmc123
Posts: 33
Hi everyone,
I have what I THINK is a unique request for help with X-10 .
Problem:
I have an OLD Model 16CUXL 16 port Relay Board from RCS Technology that used to plug into a TW523 Two-Way Powerline Interface that would strip X-10 commands off the AC line and send commands to the relay board.
I want to control this relay board directly from my Basic Stamp Professional Development Board without going through 2 powerline interfaces. (One connected to the PDB and then the other connected to the relay board)
This is important because the end project is going to be in a DC ONLY solar powered tree house and will be used to control lights, alarm, winch motors to raise and lower stairs, etc...
I disconnected the phone cable from the TW523 and plugged it into the phone jack on the PDB, wired it up as described in the PDB docs, and tried sending XOUT commands to it and it does not work.
After digging a bit, I found this statement:
Special Notes
The XOUT command will stop the BASIC Stamp program until it is able to send the transmission. If there is no AC power to the power-line interface, the BASIC Stamp program will halt forever.
This is my problem, and will continue to be a problem for me as I wont be able to provide a ZC signal due to my DC ONLY treehouse.
My question is:
How can I either trick it (Make a 120hz signal and inject it to the zc input pin?) , or talk directly to it (SEROUT Statements instead of XOUT Statements?) to get around this?
I have it set to house code "A" and just want to send simple A1-A16 On and Off commands.
Any help you can provide would be appreciated!!!
Thanks in advance,
Kevin
I have what I THINK is a unique request for help with X-10 .
Problem:
I have an OLD Model 16CUXL 16 port Relay Board from RCS Technology that used to plug into a TW523 Two-Way Powerline Interface that would strip X-10 commands off the AC line and send commands to the relay board.
I want to control this relay board directly from my Basic Stamp Professional Development Board without going through 2 powerline interfaces. (One connected to the PDB and then the other connected to the relay board)
This is important because the end project is going to be in a DC ONLY solar powered tree house and will be used to control lights, alarm, winch motors to raise and lower stairs, etc...
I disconnected the phone cable from the TW523 and plugged it into the phone jack on the PDB, wired it up as described in the PDB docs, and tried sending XOUT commands to it and it does not work.
After digging a bit, I found this statement:
Special Notes
The XOUT command will stop the BASIC Stamp program until it is able to send the transmission. If there is no AC power to the power-line interface, the BASIC Stamp program will halt forever.
This is my problem, and will continue to be a problem for me as I wont be able to provide a ZC signal due to my DC ONLY treehouse.
My question is:
How can I either trick it (Make a 120hz signal and inject it to the zc input pin?) , or talk directly to it (SEROUT Statements instead of XOUT Statements?) to get around this?
I have it set to house code "A" and just want to send simple A1-A16 On and Off commands.
Any help you can provide would be appreciated!!!
Thanks in advance,
Kevin
Comments
After just scanning the referenced docs., it would appear that it's the TW523 (plugged into the AC line) that generates the Zero Crossing signal. Now the relay board may or may not require this sync once the TW523 has stripped the commands and sends them to the relay board.
So, I'm thinking the problem/question is, will the relay board operate independent of this trigger? There was no logic documentation with the relay board file.
My next question is what inputs are required by the Relay board? Does it use the same sync'd protocol?
I'm betting that if you can get the required input for the Relay board, the BS can do what you want. Possibly a third BS pin to regularly output a sync trigger to the Relay board and fed back to the zPin of the BS (effectively taking the TW523 sync. out of the equation.)
The other work-around is to get an inverter and battery and use it to power the TW523 and relay board and provide the sync. and standard X10 communication. Everything else can still be DC. The solar panels can use/charge the battery like a standard back-up battery system.
This is the connections for connecting the X-10 powerline interface PL-513 or a TW-523 to the BS2 in Scott's book.
zPin BS2 P12 to RJ45 pin 1 with a 10Kohm resistor pullup to +5 volts
RJ45 pin 2 and 3 is connected to interface and BS2 ground
mPin BS2 P11 to RJ45 pin 4 to
Also use the that PDF on the X-10, due to the fact it has a lot of info in it, mainly the binary pattern for X-10.