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: [Development] Lights, an Idea any comments


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: [Development] Lights, an Idea any comments
  • From: "Dr John Tankard" <john@xxxxxxx>
  • Date: Mon, 11 Jun 2001 17:19:31 +0100
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx


> what communication mechanism will you be using between the rabbit and
the
> pics?

At the moment is RS232 using SNAP (without checksum) but I was going to use
a very simple ASCII text stream because to decode SNAP you really need to
construct a state machine, which is ok but they can be difficult to debug
as
you don't know which state the system is in at any one time.

But I was thinking of using SPI or I2C which is for very short ranges but
very fast, however there is a USART on the PIC which we have selected, so I
could perhaps do a serial version if there was a lot of demand. However the
rabbit is so cheap, personally I don't think it would be a very good
solution, if the protocol/PC tools that we will have to produce are good,
which I am sure they will be there should not be any need to get direct
control.

>
> Reason I ask is I know a number of us like to have things
> contolled by a PC.

I would strongly advice against that, the Rabbit was going to handle the
local control, if you pass that over to a PC you would have no control over
the lights if the pc fell over.


> If the communication is compatible (ie a standard) then it might
> be possible
> for us to look at a version with direct PC control and no rabbit as an
> option. Or even for the PC to act as a back up and 'supervisor' for
the
> Rabbit (I realise the Rabbit's TCPIP comms will allow this but what if
it
> gets fried? ).

Its very unlikely, Keith's/my prototype ideas were based on a opto isolated
interface between the pic and the output drive. This would withstand a
considerable hit only taking out one channel, short of direct lightening
strike on a output (Almost impossible) then I think this would not be a
problem.

The Rabbit has, as Keith spotted, a isolation transformer to protect it
from
damage, in short if you have a problem its more likely that the network
card
in your PC would get fried.


John





____________________________________
Automated Home UK
http://www.automatedhome.co.uk
____________________________________

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




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.