The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get data from CM12AU by PC?


  • To: ukha_d@xxxxxxx
  • Subject: Re: How to get data from CM12AU by PC?
  • From: "Patrick Lidstone" <patrick@xxxxxxx>
  • Date: Wed, 20 Nov 2002 09:15:57 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

--- In ukha_d@y..., Hem <nkjbin@y...> wrote:
> I have these modules: MS13E, TM12, CM12, LM12 ,
> and they work together perfectly. But now I want to
> know what did the CM12AU module send when the MS13E
> (motion detector) module detected some motion, how
> can I do that? I set the MS13E's address as 'c2'.
>
> X10 protocol says that interface will send a '0x5a'
> before it begin sending datas, I should answer
> a  '0xc3' to it and then it will upload datas.
> But after I sent '0xc3', I can only receive data
> such as '0x5a, 0x02, 0x5a, 0x03' etc. However, I
> should receive '0x5a, 0x03, 0x02, 0x2E, 0x22'.
> I can't get it even I use interrupt mode.
>
> What's wrong with it? Who can give me a hand?
> Thanks a lot!

I don't have any experience of an MS13E, but I do know the CM12. What
you are doing is basically right. I suspect you have a problem with
flow control. Try setting serial flow control to "local" or "none"
(depending on the programming platform you are using).

HTH
Patrick


http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.