Shop OBEX P1 Docs P2 Docs Learn Events
BS2E and X-10 CM11A control module — Parallax Forums

BS2E and X-10 CM11A control module

Stamp ManStamp Man Posts: 6
edited 2009-02-05 21:30 in BASIC Stamp
Greetings,
I am looking for some help on using a BS2E module with an X10 interface module-CM11A. This module is designed to work with a home automation package running in WINDOWS. It basically sends binary codes to this module via an RS232 interface to control lighting modules.
I am using the BS2E for other controls and want to incorporate the CM11A module. Any one have any experience with this? I am looking for a little Stamp Editor code and maybe some hardware suggestions..

Thanks.

Comments

  • remmi870remmi870 Posts: 79
    edited 2009-02-05 15:07
    i belive that they already have code in the stamp editor program files, if you look in the help files, they have instructions on how to use the XOUT command, however you need to get a ac powerline module to interface the stamp.

    Post Edited (remmi870) : 2/5/2009 3:13:43 PM GMT
  • Stamp ManStamp Man Posts: 6
    edited 2009-02-05 15:57
    Right, the XOUT command is designed for X-10 and the CM11A module I have is the unit that interfaces with the AC line. I will look into the help files and see what's there.

    Thanks.
  • FranklinFranklin Posts: 4,747
    edited 2009-02-05 16:35
    I think (dangerous operation) the xout commands only work with the bs2p stamps. (may be wrong though)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • remmi870remmi870 Posts: 79
    edited 2009-02-05 16:53
    no, they work with all of the bs2 chips, you can look up the XOUT syntax in help, it explains everything.
  • MSDTechMSDTech Posts: 342
    edited 2009-02-05 20:57
    You can find the protocol information for the CM11A at: http://www.smarthome.com/manuals/protocol.txt this will tell you what the BS2 will need to send to the controller. This controller then translates the commands into the X-10 commands.

    You will also need to adjust the signal levels to convert from the RS232 levels on the CM11A to the TTL levels of the BS2.

    Keep in mind, the CM11A is not the same type of interface as the PL-513 or TW-523 that the XOUT command was written for. You will be using SEROUT and SERIN commands to control the CM11A.
  • Stamp ManStamp Man Posts: 6
    edited 2009-02-05 21:30
    Ahh...got it.
    Thanks! You have helped a bunch. It had not occurred to me that I had to do a conversion from 232-TTL but that is clearly the case. I have to wait for the converter to arrive. More later.

    Thanks again.
Sign In or Register to comment.