BS2 and X10
aeklo
Posts: 20
I own a CM10 X.10 controller. This unit has a battery backed up clock, and the ability to run macros.
At first power-up, it requires the date and time to be set, if else it will not acceppt any commands.
Also, when setting the date/time and also when sending a X.10 command to it, it replies with a checksum. This checksum must be acknowledged for the unit to carry out the command.
Also, the CM10 sends a repeatedly "RING"-signal to indicate an incoming X.10 signal.
Now, to my question...
Does the XOUT command of BS support any of these two requirements (date/time and checksum)?
I believe that the XOUT command is a one way only command?
Will my only way of using·the CM10 module be writing my own code all from scratch, or could I trick the BS into at least sending commands to the unit? Guess by combining SEROUT, SERIN·and XOUT in some way?
An exact description of what the XOUT command does would perhaps be of most help.
As you see, a lot of questions, and any help or tips would be highly appreciated!! :-)
Aeklo.
At first power-up, it requires the date and time to be set, if else it will not acceppt any commands.
Also, when setting the date/time and also when sending a X.10 command to it, it replies with a checksum. This checksum must be acknowledged for the unit to carry out the command.
Also, the CM10 sends a repeatedly "RING"-signal to indicate an incoming X.10 signal.
Now, to my question...
Does the XOUT command of BS support any of these two requirements (date/time and checksum)?
I believe that the XOUT command is a one way only command?
Will my only way of using·the CM10 module be writing my own code all from scratch, or could I trick the BS into at least sending commands to the unit? Guess by combining SEROUT, SERIN·and XOUT in some way?
An exact description of what the XOUT command does would perhaps be of most help.
As you see, a lot of questions, and any help or tips would be highly appreciated!! :-)
Aeklo.
Comments
The XOUT command is documented as to what it does (essential X10 commands), perhaps your device takes advantage of special sequence of those commands.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Here is a link to the actual product: www.intellihome.be/english/productview.asp?id=21
The full specification to its syntax is found here: www.mikrobitti.fi/nettijatkot/2003/11/x10/x10-protocol.htm
Note especially the chapters 8 - Set Interface Clock (which must be done before the unit accepts any commands), and chapter 3.1.2 - Interface Checksum and PC Acknowledge, which describes the required reply froom the PC before commencing the command.
Again, any help would be appreciated!
Aeklo.
Another document describing the specific interface (under chapter 8, it states that the PC must send the unit the current date/time at unit power-up): www.ehem.com/pdf/cm11protocol.pdf
Aeklo.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Measure the voltage coming out of the CM11 'TX' line to the serial connector. If it is -5 to -10 volts, you'll need a 22 Kohm resistor in series to the BS2 to protect the BS2 pin.