[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: Re: Honeywell Smartfit research and the start of a generic
interface (wish me luck!)
On Mon, 03 Nov 2003 09:57:57 -0000, you wrote:
>I also program Microchip Pic controllers and I will be passing info
>to the Pic via, RF modules using the Pic to stream data.
There's a pair of tiny 433MHz modules (TWS-434a) on my desk for a
future project!
>How suitable is MisterHouse on a PC, for interfacing via a single
>serial port?
Misterhouse is just a chunk of Perl. It includes lots of stuff you can
ignore, or build up slowly to create intricate systems. The standard
stuff includes generic serial item code so you can build what ever
protocol you want into it.
Examples include X10 CM11a, X10 MR26, Dallas 1-Wire bus, and I think
xAP (sorry- not seen xPL, but it can't be hard to do).
>As for the Pic protocol, I dont mind what it is, if we can create a
>Standard then thats fine or use an established one?
When I get that far, my own ancient attempt (Distributed Automation
Protocol) is toast as other more promising protocols are out there.
xAP and xPL are just two that look good, although a lighter binary
protocols with error correction might be needed for RF (SNAP?
http://www.hth.com/snap/).
Have you read about the commercial Z-Wave? (http://www.zen-sys.com/)
As you no doubt know, the main problem is watching a time-critical
interface AND doing asynchronus comms with limited CPU. Parsers and
state machines aren't too hard to write, but on a PIC too complex a
protocol will just eat up interrupt time.
Proton+ BASIC doesn't seem able to do interrupt routines making
watching two asynchronus interfaces 'interesting'. I'd prefer not to
invent another standard, though.
A shared RS485 serial interface (see the 75176 chip) is probably going
to be my physical layer as it seems pretty simple to do using a PC
master polling the bus. The CAN bus is another possibility, but looks
a bit harder (think there was a project in Elektor recently).
>Sorry I drifted fron the original topic a bit!
That's what forms are for :-)
James
---
James Derrick
james@xxxxxxx, Cramlington, England
Beyond the Horizon of the place we lived when we were young,
In a World of Magnets and Miracles. Pink Floyd.
Home |
Main Index |
Thread Index
|